Re: [one-users] Image in used state but no VM associte with it

2015-02-17 Thread Anandharaj Subramaniam
Hi Carlos,

Thank you for your feedback. I will do it accordingly.


--
Regards,
Anandharaj
Server  Storage Support Team
MIMOS Berhad

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Tuesday, February 17, 2015 6:28 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

That IP looks good (202.45.142.114). It might be a bug that can be affected by 
the ruby version.
Since this is a 4.2 version and the leases were completely redone for new 
versions, maybe the best thing to do is comment out the whole vnet section in 
fsck.rb, lines 920-1066.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Thu, Feb 12, 2015 at 4:58 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi Carlos,

Below is the last few lines of output before it throwing the error. How do I 
proceed to troubleshoot on this.

row[:ip]: 3391983169
doc: 
LEASEIP3391983169/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983169/MAC_SUFFIXUSED1/USEDVID1371/VID/LEASE

row[:ip]: 3391983218
doc: 
LEASEIP3391983218/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983218/MAC_SUFFIXUSED1/USEDVID1372/VID/LEASE
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj
Server  Storage Support Team
MIMOS Berhad

From: Carlos Martín Sánchez 
[mailto:cmar...@opennebula.orgmailto:cmar...@opennebula.org]
Sent: Friday, January 16, 2015 10:49 PM

To: Anandharaj Subramaniam
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

I don't know what can be causing the error. Can you to add the following lines 
right before line 929 in /usr/lib/one/ruby/onedb/fsck.rb?

warn 
warn row[:ip]: #{row[:ip]}
warn doc: #{doc.to_s}

https://github.com/OpenNebula/one/blob/release-4.2/src/onedb/fsck.rb#L929

Maybe that will show if there is something wrong with that IP that is throwing 
the error.


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Fri, Jan 16, 2015 at 3:16 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi Carlos,

What is your ruby version?

== ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Are all of your leases IPv4?

== Yes, all IPv4

--
Regards,
Anandharaj

From: Carlos Martín Sánchez 
[mailto:cmar...@opennebula.orgmailto:cmar...@opennebula.org]
Sent: Tuesday, January 13, 2015 6:55 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

What is your ruby version?
Are all of your leases IPv4?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi All,

When I run using debug mode, I see this message.

….
/usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151: 
warning: instance variable @row_proc not initialized
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 7:34 PM

To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

I restored the mysql database and run the onedb fsck, still the process 
terminate with “Error running fsck version 4.2.0” but the messages of the 
inconsistency is less.
Appreciate the expert help on this.

Note: We are still using 4.2 because we have our own apps integrated with it. 
We already have plan to setup another ONE with version 4.10

--
Regards,

Anandharaj
MIMOS Bhd

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 3:36 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib

Re: [one-users] Image in used state but no VM associte with it

2015-02-17 Thread Carlos Martín Sánchez
Hi,

That IP looks good (202.45.142.114). It might be a bug that can be affected
by the ruby version.
Since this is a 4.2 version and the leases were completely redone for new
versions, maybe the best thing to do is comment out the whole vnet section
in fsck.rb, lines 920-1066.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebula cmar...@opennebula.org

On Thu, Feb 12, 2015 at 4:58 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.my wrote:

  Hi Carlos,



 Below is the last few lines of output before it throwing the error. How do
 I proceed to troubleshoot on this.



 row[:ip]: 3391983169

 doc:
 LEASEIP3391983169/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983169/MAC_SUFFIXUSED1/USEDVID1371/VID/LEASE



 row[:ip]: 3391983218

 doc:
 LEASEIP3391983218/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983218/MAC_SUFFIXUSED1/USEDVID1372/VID/LEASE

 Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address
 family mismatch

 address family mismatch

 Error running fsck version 4.2.0

 The database will be restored





 --

 *Regards,*

 Anandharaj

 Server  Storage Support Team

 MIMOS Berhad



 *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
 *Sent:* Friday, January 16, 2015 10:49 PM

 *To:* Anandharaj Subramaniam
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Image in used state but no VM associte with it



 Hi,



 I don't know what can be causing the error. Can you to add the following
 lines right before line 929 in /usr/lib/one/ruby/onedb/fsck.rb?



 warn 

 warn row[:ip]: #{row[:ip]}

 warn doc: #{doc.to_s}



 https://github.com/OpenNebula/one/blob/release-4.2/src/onedb/fsck.rb#L929



 Maybe that will show if there is something wrong with that IP that is
 throwing the error.




   --

 Carlos Martín, MSc
 Project Engineer

 OpenNebula - Flexible Enterprise Cloud Made Simple

 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula



 On Fri, Jan 16, 2015 at 3:16 AM, Anandharaj Subramaniam 
 anandharaj.man...@mimos.my wrote:

 Hi Carlos,



 What is your ruby version?

 è ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]



 Are all of your leases IPv4?

 è Yes, all IPv4



 --

 Regards,

 Anandharaj



 *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
 *Sent:* Tuesday, January 13, 2015 6:55 PM
 *To:* Anandharaj Subramaniam
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Image in used state but no VM associte with it



 Hi,



 What is your ruby version?

 Are all of your leases IPv4?



 Regards

 --

 Carlos Martín, MSc
 Project Engineer

 OpenNebula - Flexible Enterprise Cloud Made Simple

 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula



 On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
 anandharaj.man...@mimos.my wrote:

 Hi All,



 When I run using debug mode, I see this message.



 ….

 /usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151:
 warning: instance variable @row_proc not initialized

 VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free

 Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address
 family mismatch

 address family mismatch

 Error running fsck version 4.2.0

 The database will be restored





 --

 Regards,

 Anandharaj



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 7:34 PM


 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 I restored the mysql database and run the onedb fsck, still the process
 terminate with “Error running fsck version 4.2.0” but the messages of the
 inconsistency is less.

 Appreciate the expert help on this.



 Note: We are still using 4.2 because we have our own apps integrated with
 it. We already have plan to setup another ONE with version 4.10



 --

 Regards,



 *Anandharaj*

 MIMOS Bhd



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 3:36 PM
 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 When I run onedb fck, got the following messages but ended with error.



 [oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d
 opennebula

 MySQL Password:

 MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql

 Use 'onedb restore' or restore the DB using the mysql command:

 mysql -u user -h server -P port db_name  backup_file



 Host 20 is in Cluster 101 host id list, but it should not

 VM 373 is using Host 20, but it does not exist

 VM 401 is using Host 20, but it does not exist

 VM 522 is using Host 20, but it does not exist

 VM 531 is using Host 20, but it does not exist

 VM 585 is using Host 20, but it does not exist

 VM 612 is using Host 20, but it does not exist

 VM 655 is using Host 20, but it does not exist

Re: [one-users] Image in used state but no VM associte with it

2015-02-11 Thread Anandharaj Subramaniam
Hi Carlos,

Below is the last few lines of output before it throwing the error. How do I 
proceed to troubleshoot on this.

row[:ip]: 3391983169
doc: 
LEASEIP3391983169/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983169/MAC_SUFFIXUSED1/USEDVID1371/VID/LEASE

row[:ip]: 3391983218
doc: 
LEASEIP3391983218/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX3391983218/MAC_SUFFIXUSED1/USEDVID1372/VID/LEASE
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj
Server  Storage Support Team
MIMOS Berhad

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Friday, January 16, 2015 10:49 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

I don't know what can be causing the error. Can you to add the following lines 
right before line 929 in /usr/lib/one/ruby/onedb/fsck.rb?

warn 
warn row[:ip]: #{row[:ip]}
warn doc: #{doc.to_s}

https://github.com/OpenNebula/one/blob/release-4.2/src/onedb/fsck.rb#L929

Maybe that will show if there is something wrong with that IP that is throwing 
the error.


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Fri, Jan 16, 2015 at 3:16 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi Carlos,

What is your ruby version?

== ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Are all of your leases IPv4?

== Yes, all IPv4

--
Regards,
Anandharaj

From: Carlos Martín Sánchez 
[mailto:cmar...@opennebula.orgmailto:cmar...@opennebula.org]
Sent: Tuesday, January 13, 2015 6:55 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

What is your ruby version?
Are all of your leases IPv4?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi All,

When I run using debug mode, I see this message.

….
/usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151: 
warning: instance variable @row_proc not initialized
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 7:34 PM

To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

I restored the mysql database and run the onedb fsck, still the process 
terminate with “Error running fsck version 4.2.0” but the messages of the 
inconsistency is less.
Appreciate the expert help on this.

Note: We are still using 4.2 because we have our own apps integrated with it. 
We already have plan to setup another ONE with version 4.10

--
Regards,

Anandharaj
MIMOS Bhd

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 3:36 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name  backup_file

Host 20 is in Cluster 101 host id list, but it should not
VM 373 is using Host 20, but it does not exist
VM 401 is using Host 20, but it does not exist
VM 522 is using Host 20, but it does not exist
VM 531 is using Host 20, but it does not exist
VM 585 is using Host 20, but it does not exist
VM 612 is using Host 20, but it does not exist
VM 655 is using Host 20, but it does not exist
VM 705 is using Host 20, but it does not exist
VM 763 is using Host 20, but it does not exist
VM 787 is using Host 20, but it does not exist
VM 797 is using Host 20, but it does not exist
VM 828 is using Host 20, but it does not exist
VM 964 is using Host 20, but it does not exist
VM 1065 is using Host 20, but it does not exist
VM 1070 is using Host 20, but it does not exist
VM 1199 is using Host 20, but it does not exist
VM 1211 is using VNet 121, but it does not exist
VM 1216 is using VNet 121, but it does not exist
VM 1243 is using

Re: [one-users] Image in used state but no VM associte with it

2015-01-16 Thread Anandharaj Subramaniam
Hi Carlos,

What is your ruby version?

è ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Are all of your leases IPv4?

è Yes, all IPv4

--
Regards,
Anandharaj

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Tuesday, January 13, 2015 6:55 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Image in used state but no VM associte with it

Hi,

What is your ruby version?
Are all of your leases IPv4?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
cmar...@opennebula.orgmailto:cmar...@opennebula.org | 
@OpenNebulahttp://twitter.com/opennebula

On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi All,

When I run using debug mode, I see this message.

….
/usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151: 
warning: instance variable @row_proc not initialized
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 7:34 PM

To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

I restored the mysql database and run the onedb fsck, still the process 
terminate with “Error running fsck version 4.2.0” but the messages of the 
inconsistency is less.
Appreciate the expert help on this.

Note: We are still using 4.2 because we have our own apps integrated with it. 
We already have plan to setup another ONE with version 4.10

--
Regards,

Anandharaj
MIMOS Bhd

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 3:36 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name  backup_file

Host 20 is in Cluster 101 host id list, but it should not
VM 373 is using Host 20, but it does not exist
VM 401 is using Host 20, but it does not exist
VM 522 is using Host 20, but it does not exist
VM 531 is using Host 20, but it does not exist
VM 585 is using Host 20, but it does not exist
VM 612 is using Host 20, but it does not exist
VM 655 is using Host 20, but it does not exist
VM 705 is using Host 20, but it does not exist
VM 763 is using Host 20, but it does not exist
VM 787 is using Host 20, but it does not exist
VM 797 is using Host 20, but it does not exist
VM 828 is using Host 20, but it does not exist
VM 964 is using Host 20, but it does not exist
VM 1065 is using Host 20, but it does not exist
VM 1070 is using Host 20, but it does not exist
VM 1199 is using Host 20, but it does not exist
VM 1211 is using VNet 121, but it does not exist
VM 1216 is using VNet 121, but it does not exist
VM 1243 is using Host 20, but it does not exist
VM 1250 is using Host 20, but it does not exist
Host 0 RUNNING_VMS has 11   is  9
VM 105 is in Host 0 VM id list, but it should not
VM 106 is in Host 0 VM id list, but it should not
Host 0 CPU_USAGE has 2000   is  1400
Host 0 MEM_USAGE has 92274688   is  71303168
Host 17 RUNNING_VMS has 20  is  19
VM 533 is in Host 17 VM id list, but it should not
Host 17 CPU_USAGE has 2050  is  1950
Host 17 MEM_USAGE has 102760448 is  98566144
Host 22 RUNNING_VMS has 21  is  19
VM 618 is in Host 22 VM id list, but it should not
VM 620 is in Host 22 VM id list, but it should not
Host 22 CPU_USAGE has 3600  is  3400
Host 22 MEM_USAGE has 125829120 is  117440512
Host 14 RUNNING_VMS has 19  is  17
VM 461 is in Host 14 VM id list, but it should not
VM 632 is in Host 14 VM id list, but it should not
Host 14 CPU_USAGE has 2450  is  2150
Host 14 MEM_USAGE has 90177536  is  73400320
Host 19 RUNNING_VMS has 30  is  28
VM 438 is in Host 19 VM id list, but it should not
VM 630 is in Host 19 VM id list, but it should not
Host 19 CPU_USAGE has 3950  is  3800
Host 19 MEM_USAGE has 174063616 is  164626432
Host 18 CPU_USAGE has 3330  is  3329
Host 23 RUNNING_VMS has 24  is  22
VM 462 is in Host 23 VM id list, but it should not
VM 707 is in Host 23 VM id list, but it should not
Host 23 CPU_USAGE has 3500  is  3100
Host 23 MEM_USAGE has 156237824 is  139460608
Host 31 CPU_USAGE has 4460  is  4459
Image 55 RUNNING_VMS has 1  is  0
VM 106 is in Image 55

Re: [one-users] Image in used state but no VM associte with it

2015-01-16 Thread Carlos Martín Sánchez
Hi,

I don't know what can be causing the error. Can you to add the following
lines right before line 929 in /usr/lib/one/ruby/onedb/fsck.rb?

warn 
warn row[:ip]: #{row[:ip]}
warn doc: #{doc.to_s}

https://github.com/OpenNebula/one/blob/release-4.2/src/onedb/fsck.rb#L929

Maybe that will show if there is something wrong with that IP that is
throwing the error.


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebula cmar...@opennebula.org

On Fri, Jan 16, 2015 at 3:16 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.my wrote:

  Hi Carlos,



 What is your ruby version?

 è ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]



 Are all of your leases IPv4?

 è Yes, all IPv4



 --

 Regards,

 Anandharaj



 *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
 *Sent:* Tuesday, January 13, 2015 6:55 PM
 *To:* Anandharaj Subramaniam
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Image in used state but no VM associte with it



 Hi,



 What is your ruby version?

 Are all of your leases IPv4?



 Regards

 --

 Carlos Martín, MSc
 Project Engineer

 OpenNebula - Flexible Enterprise Cloud Made Simple

 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula



 On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
 anandharaj.man...@mimos.my wrote:

 Hi All,



 When I run using debug mode, I see this message.



 ….

 /usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151:
 warning: instance variable @row_proc not initialized

 VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free

 Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address
 family mismatch

 address family mismatch

 Error running fsck version 4.2.0

 The database will be restored





 --

 Regards,

 Anandharaj



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 7:34 PM


 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 I restored the mysql database and run the onedb fsck, still the process
 terminate with “Error running fsck version 4.2.0” but the messages of the
 inconsistency is less.

 Appreciate the expert help on this.



 Note: We are still using 4.2 because we have our own apps integrated with
 it. We already have plan to setup another ONE with version 4.10



 --

 Regards,



 *Anandharaj*

 MIMOS Bhd



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 3:36 PM
 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 When I run onedb fck, got the following messages but ended with error.



 [oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d
 opennebula

 MySQL Password:

 MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql

 Use 'onedb restore' or restore the DB using the mysql command:

 mysql -u user -h server -P port db_name  backup_file



 Host 20 is in Cluster 101 host id list, but it should not

 VM 373 is using Host 20, but it does not exist

 VM 401 is using Host 20, but it does not exist

 VM 522 is using Host 20, but it does not exist

 VM 531 is using Host 20, but it does not exist

 VM 585 is using Host 20, but it does not exist

 VM 612 is using Host 20, but it does not exist

 VM 655 is using Host 20, but it does not exist

 VM 705 is using Host 20, but it does not exist

 VM 763 is using Host 20, but it does not exist

 VM 787 is using Host 20, but it does not exist

 VM 797 is using Host 20, but it does not exist

 VM 828 is using Host 20, but it does not exist

 VM 964 is using Host 20, but it does not exist

 VM 1065 is using Host 20, but it does not exist

 VM 1070 is using Host 20, but it does not exist

 VM 1199 is using Host 20, but it does not exist

 VM 1211 is using VNet 121, but it does not exist

 VM 1216 is using VNet 121, but it does not exist

 VM 1243 is using Host 20, but it does not exist

 VM 1250 is using Host 20, but it does not exist

 Host 0 RUNNING_VMS has 11   is  9

 VM 105 is in Host 0 VM id list, but it should not

 VM 106 is in Host 0 VM id list, but it should not

 Host 0 CPU_USAGE has 2000   is  1400

 Host 0 MEM_USAGE has 92274688   is  71303168

 Host 17 RUNNING_VMS has 20  is  19

 VM 533 is in Host 17 VM id list, but it should not

 Host 17 CPU_USAGE has 2050  is  1950

 Host 17 MEM_USAGE has 102760448 is  98566144

 Host 22 RUNNING_VMS has 21  is  19

 VM 618 is in Host 22 VM id list, but it should not

 VM 620 is in Host 22 VM id list, but it should not

 Host 22 CPU_USAGE has 3600  is  3400

 Host 22 MEM_USAGE has 125829120 is  117440512

 Host 14 RUNNING_VMS has 19  is  17

 VM 461 is in Host 14 VM id list, but it should not

 VM 632 is in Host 14 VM id list, but it should

Re: [one-users] Image in used state but no VM associte with it

2015-01-13 Thread Carlos Martín Sánchez
Hi,

What is your ruby version?
Are all of your leases IPv4?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebula cmar...@opennebula.org

On Tue, Dec 30, 2014 at 3:19 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.my wrote:

  Hi All,



 When I run using debug mode, I see this message.



 ….

 /usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151:
 warning: instance variable @row_proc not initialized

 VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free

 Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address
 family mismatch

 address family mismatch

 Error running fsck version 4.2.0

 The database will be restored





 --

 Regards,

 Anandharaj



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 7:34 PM

 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 I restored the mysql database and run the onedb fsck, still the process
 terminate with “Error running fsck version 4.2.0” but the messages of the
 inconsistency is less.

 Appreciate the expert help on this.



 Note: We are still using 4.2 because we have our own apps integrated with
 it. We already have plan to setup another ONE with version 4.10



 --

 Regards,



 *Anandharaj*

 MIMOS Bhd



 *From:* Anandharaj Subramaniam
 *Sent:* Monday, December 29, 2014 3:36 PM
 *To:* users@lists.opennebula.org
 *Subject:* RE: Image in used state but no VM associte with it



 Hi All,



 When I run onedb fck, got the following messages but ended with error.



 [oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d
 opennebula

 MySQL Password:

 MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql

 Use 'onedb restore' or restore the DB using the mysql command:

 mysql -u user -h server -P port db_name  backup_file



 Host 20 is in Cluster 101 host id list, but it should not

 VM 373 is using Host 20, but it does not exist

 VM 401 is using Host 20, but it does not exist

 VM 522 is using Host 20, but it does not exist

 VM 531 is using Host 20, but it does not exist

 VM 585 is using Host 20, but it does not exist

 VM 612 is using Host 20, but it does not exist

 VM 655 is using Host 20, but it does not exist

 VM 705 is using Host 20, but it does not exist

 VM 763 is using Host 20, but it does not exist

 VM 787 is using Host 20, but it does not exist

 VM 797 is using Host 20, but it does not exist

 VM 828 is using Host 20, but it does not exist

 VM 964 is using Host 20, but it does not exist

 VM 1065 is using Host 20, but it does not exist

 VM 1070 is using Host 20, but it does not exist

 VM 1199 is using Host 20, but it does not exist

 VM 1211 is using VNet 121, but it does not exist

 VM 1216 is using VNet 121, but it does not exist

 VM 1243 is using Host 20, but it does not exist

 VM 1250 is using Host 20, but it does not exist

 Host 0 RUNNING_VMS has 11   is  9

 VM 105 is in Host 0 VM id list, but it should not

 VM 106 is in Host 0 VM id list, but it should not

 Host 0 CPU_USAGE has 2000   is  1400

 Host 0 MEM_USAGE has 92274688   is  71303168

 Host 17 RUNNING_VMS has 20  is  19

 VM 533 is in Host 17 VM id list, but it should not

 Host 17 CPU_USAGE has 2050  is  1950

 Host 17 MEM_USAGE has 102760448 is  98566144

 Host 22 RUNNING_VMS has 21  is  19

 VM 618 is in Host 22 VM id list, but it should not

 VM 620 is in Host 22 VM id list, but it should not

 Host 22 CPU_USAGE has 3600  is  3400

 Host 22 MEM_USAGE has 125829120 is  117440512

 Host 14 RUNNING_VMS has 19  is  17

 VM 461 is in Host 14 VM id list, but it should not

 VM 632 is in Host 14 VM id list, but it should not

 Host 14 CPU_USAGE has 2450  is  2150

 Host 14 MEM_USAGE has 90177536  is  73400320

 Host 19 RUNNING_VMS has 30  is  28

 VM 438 is in Host 19 VM id list, but it should not

 VM 630 is in Host 19 VM id list, but it should not

 Host 19 CPU_USAGE has 3950  is  3800

 Host 19 MEM_USAGE has 174063616 is  164626432

 Host 18 CPU_USAGE has 3330  is  3329

 Host 23 RUNNING_VMS has 24  is  22

 VM 462 is in Host 23 VM id list, but it should not

 VM 707 is in Host 23 VM id list, but it should not

 Host 23 CPU_USAGE has 3500  is  3100

 Host 23 MEM_USAGE has 156237824 is  139460608

 Host 31 CPU_USAGE has 4460  is  4459

 Image 55 RUNNING_VMS has 1  is  0

 VM 106 is in Image 55 VM id list, but it should not

 Image 55 has STATE USED_PERSis  READY

 Image 195 RUNNING_VMS has 1 is  0

 VM 106 is in Image 195 VM id list, but it should not

 Image 195 has STATE USED_PERS   is  READY

 Image 374 RUNNING_VMS has 1 is  0

 VM 438 is in Image 374 VM id list, but it should not


Re: [one-users] Image in used state but no VM associte with it

2014-12-29 Thread Anandharaj Subramaniam
Hi All,

I restored the mysql database and run the onedb fsck, still the process 
terminate with Error running fsck version 4.2.0 but the messages of the 
inconsistency is less.
Appreciate the expert help on this.

Note: We are still using 4.2 because we have our own apps integrated with it. 
We already have plan to setup another ONE with version 4.10

--
Regards,

Anandharaj
MIMOS Bhd

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 3:36 PM
To: users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name  backup_file

Host 20 is in Cluster 101 host id list, but it should not
VM 373 is using Host 20, but it does not exist
VM 401 is using Host 20, but it does not exist
VM 522 is using Host 20, but it does not exist
VM 531 is using Host 20, but it does not exist
VM 585 is using Host 20, but it does not exist
VM 612 is using Host 20, but it does not exist
VM 655 is using Host 20, but it does not exist
VM 705 is using Host 20, but it does not exist
VM 763 is using Host 20, but it does not exist
VM 787 is using Host 20, but it does not exist
VM 797 is using Host 20, but it does not exist
VM 828 is using Host 20, but it does not exist
VM 964 is using Host 20, but it does not exist
VM 1065 is using Host 20, but it does not exist
VM 1070 is using Host 20, but it does not exist
VM 1199 is using Host 20, but it does not exist
VM 1211 is using VNet 121, but it does not exist
VM 1216 is using VNet 121, but it does not exist
VM 1243 is using Host 20, but it does not exist
VM 1250 is using Host 20, but it does not exist
Host 0 RUNNING_VMS has 11   is  9
VM 105 is in Host 0 VM id list, but it should not
VM 106 is in Host 0 VM id list, but it should not
Host 0 CPU_USAGE has 2000   is  1400
Host 0 MEM_USAGE has 92274688   is  71303168
Host 17 RUNNING_VMS has 20  is  19
VM 533 is in Host 17 VM id list, but it should not
Host 17 CPU_USAGE has 2050  is  1950
Host 17 MEM_USAGE has 102760448 is  98566144
Host 22 RUNNING_VMS has 21  is  19
VM 618 is in Host 22 VM id list, but it should not
VM 620 is in Host 22 VM id list, but it should not
Host 22 CPU_USAGE has 3600  is  3400
Host 22 MEM_USAGE has 125829120 is  117440512
Host 14 RUNNING_VMS has 19  is  17
VM 461 is in Host 14 VM id list, but it should not
VM 632 is in Host 14 VM id list, but it should not
Host 14 CPU_USAGE has 2450  is  2150
Host 14 MEM_USAGE has 90177536  is  73400320
Host 19 RUNNING_VMS has 30  is  28
VM 438 is in Host 19 VM id list, but it should not
VM 630 is in Host 19 VM id list, but it should not
Host 19 CPU_USAGE has 3950  is  3800
Host 19 MEM_USAGE has 174063616 is  164626432
Host 18 CPU_USAGE has 3330  is  3329
Host 23 RUNNING_VMS has 24  is  22
VM 462 is in Host 23 VM id list, but it should not
VM 707 is in Host 23 VM id list, but it should not
Host 23 CPU_USAGE has 3500  is  3100
Host 23 MEM_USAGE has 156237824 is  139460608
Host 31 CPU_USAGE has 4460  is  4459
Image 55 RUNNING_VMS has 1  is  0
VM 106 is in Image 55 VM id list, but it should not
Image 55 has STATE USED_PERSis  READY
Image 195 RUNNING_VMS has 1 is  0
VM 106 is in Image 195 VM id list, but it should not
Image 195 has STATE USED_PERS   is  READY
Image 374 RUNNING_VMS has 1 is  0
VM 438 is in Image 374 VM id list, but it should not
Image 374 has STATE USED_PERS   is  READY
Image 464 RUNNING_VMS has 1 is  0
VM 533 is in Image 464 VM id list, but it should not
Image 464 has STATE USED_PERS   is  READY
Image 490 RUNNING_VMS has 1 is  0
VM 533 is in Image 490 VM id list, but it should not
Image 490 has STATE USED_PERS   is  READY
Image 1131 RUNNING_VMS has 1is  0
VM 1247 is in Image 1131 VM id list, but it should not
Image 1131 has STATE USED_PERS  is  READY
VNet 2 has used lease 10.4.135.9 (VM 106)   but it is free
VNet 25 has used lease 10.1.66.6 (VM 1247)  but it is free
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
VNet 63 has used lease 10.1.66.85 (VM 533)  but it is free
address family mismatch
Error running fsck version 4.2.0
The database will be restored



--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 10:23 AM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Image in used state but no VM associte with it

Hi All,

Im having an issue whereby the image in USED_PERS state but there is no VM 
running on it. There was some issue with ON server therefore I run MYSQL 
repair. After 

Re: [one-users] Image in used state but no VM associte with it

2014-12-29 Thread Anandharaj Subramaniam
Hi All,

When I run using debug mode, I see this message.


/usr/lib/ruby/gems/1.8/gems/sequel-3.46.0/lib/sequel/dataset/actions.rb:151: 
warning: instance variable @row_proc not initialized
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
Exception `ArgumentError' at /usr/lib/ruby/1.8/ipaddr.rb:481 - address family 
mismatch
address family mismatch
Error running fsck version 4.2.0
The database will be restored


--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 7:34 PM
To: users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

I restored the mysql database and run the onedb fsck, still the process 
terminate with Error running fsck version 4.2.0 but the messages of the 
inconsistency is less.
Appreciate the expert help on this.

Note: We are still using 4.2 because we have our own apps integrated with it. 
We already have plan to setup another ONE with version 4.10

--
Regards,

Anandharaj
MIMOS Bhd

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 3:36 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: Image in used state but no VM associte with it

Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name  backup_file

Host 20 is in Cluster 101 host id list, but it should not
VM 373 is using Host 20, but it does not exist
VM 401 is using Host 20, but it does not exist
VM 522 is using Host 20, but it does not exist
VM 531 is using Host 20, but it does not exist
VM 585 is using Host 20, but it does not exist
VM 612 is using Host 20, but it does not exist
VM 655 is using Host 20, but it does not exist
VM 705 is using Host 20, but it does not exist
VM 763 is using Host 20, but it does not exist
VM 787 is using Host 20, but it does not exist
VM 797 is using Host 20, but it does not exist
VM 828 is using Host 20, but it does not exist
VM 964 is using Host 20, but it does not exist
VM 1065 is using Host 20, but it does not exist
VM 1070 is using Host 20, but it does not exist
VM 1199 is using Host 20, but it does not exist
VM 1211 is using VNet 121, but it does not exist
VM 1216 is using VNet 121, but it does not exist
VM 1243 is using Host 20, but it does not exist
VM 1250 is using Host 20, but it does not exist
Host 0 RUNNING_VMS has 11   is  9
VM 105 is in Host 0 VM id list, but it should not
VM 106 is in Host 0 VM id list, but it should not
Host 0 CPU_USAGE has 2000   is  1400
Host 0 MEM_USAGE has 92274688   is  71303168
Host 17 RUNNING_VMS has 20  is  19
VM 533 is in Host 17 VM id list, but it should not
Host 17 CPU_USAGE has 2050  is  1950
Host 17 MEM_USAGE has 102760448 is  98566144
Host 22 RUNNING_VMS has 21  is  19
VM 618 is in Host 22 VM id list, but it should not
VM 620 is in Host 22 VM id list, but it should not
Host 22 CPU_USAGE has 3600  is  3400
Host 22 MEM_USAGE has 125829120 is  117440512
Host 14 RUNNING_VMS has 19  is  17
VM 461 is in Host 14 VM id list, but it should not
VM 632 is in Host 14 VM id list, but it should not
Host 14 CPU_USAGE has 2450  is  2150
Host 14 MEM_USAGE has 90177536  is  73400320
Host 19 RUNNING_VMS has 30  is  28
VM 438 is in Host 19 VM id list, but it should not
VM 630 is in Host 19 VM id list, but it should not
Host 19 CPU_USAGE has 3950  is  3800
Host 19 MEM_USAGE has 174063616 is  164626432
Host 18 CPU_USAGE has 3330  is  3329
Host 23 RUNNING_VMS has 24  is  22
VM 462 is in Host 23 VM id list, but it should not
VM 707 is in Host 23 VM id list, but it should not
Host 23 CPU_USAGE has 3500  is  3100
Host 23 MEM_USAGE has 156237824 is  139460608
Host 31 CPU_USAGE has 4460  is  4459
Image 55 RUNNING_VMS has 1  is  0
VM 106 is in Image 55 VM id list, but it should not
Image 55 has STATE USED_PERSis  READY
Image 195 RUNNING_VMS has 1 is  0
VM 106 is in Image 195 VM id list, but it should not
Image 195 has STATE USED_PERS   is  READY
Image 374 RUNNING_VMS has 1 is  0
VM 438 is in Image 374 VM id list, but it should not
Image 374 has STATE USED_PERS   is  READY
Image 464 RUNNING_VMS has 1 is  0
VM 533 is in Image 464 VM id list, but it should not
Image 464 has STATE USED_PERS   is  READY
Image 490 RUNNING_VMS has 1 is  0
VM 533 is in Image 490 VM id list, but it should not
Image 490 has STATE USED_PERS   is  READY
Image 1131 RUNNING_VMS has 1is  0
VM 1247 is in Image 1131 VM id list, but it should not
Image 1131 has STATE USED_PERS  is  READY
VNet 2 has used lease 10.4.135.9 (VM 106)   but it is free
VNet 25 has used 

Re: [one-users] Image in used state but no VM associte with it

2014-12-28 Thread Anandharaj Subramaniam
Hi All,

When I run onedb fck, got the following messages but ended with error.

[oneadmin@server 101]$ onedb fsck -f -S localhost -u oneadmin  -d opennebula
MySQL Password:
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name  backup_file

Host 20 is in Cluster 101 host id list, but it should not
VM 373 is using Host 20, but it does not exist
VM 401 is using Host 20, but it does not exist
VM 522 is using Host 20, but it does not exist
VM 531 is using Host 20, but it does not exist
VM 585 is using Host 20, but it does not exist
VM 612 is using Host 20, but it does not exist
VM 655 is using Host 20, but it does not exist
VM 705 is using Host 20, but it does not exist
VM 763 is using Host 20, but it does not exist
VM 787 is using Host 20, but it does not exist
VM 797 is using Host 20, but it does not exist
VM 828 is using Host 20, but it does not exist
VM 964 is using Host 20, but it does not exist
VM 1065 is using Host 20, but it does not exist
VM 1070 is using Host 20, but it does not exist
VM 1199 is using Host 20, but it does not exist
VM 1211 is using VNet 121, but it does not exist
VM 1216 is using VNet 121, but it does not exist
VM 1243 is using Host 20, but it does not exist
VM 1250 is using Host 20, but it does not exist
Host 0 RUNNING_VMS has 11   is  9
VM 105 is in Host 0 VM id list, but it should not
VM 106 is in Host 0 VM id list, but it should not
Host 0 CPU_USAGE has 2000   is  1400
Host 0 MEM_USAGE has 92274688   is  71303168
Host 17 RUNNING_VMS has 20  is  19
VM 533 is in Host 17 VM id list, but it should not
Host 17 CPU_USAGE has 2050  is  1950
Host 17 MEM_USAGE has 102760448 is  98566144
Host 22 RUNNING_VMS has 21  is  19
VM 618 is in Host 22 VM id list, but it should not
VM 620 is in Host 22 VM id list, but it should not
Host 22 CPU_USAGE has 3600  is  3400
Host 22 MEM_USAGE has 125829120 is  117440512
Host 14 RUNNING_VMS has 19  is  17
VM 461 is in Host 14 VM id list, but it should not
VM 632 is in Host 14 VM id list, but it should not
Host 14 CPU_USAGE has 2450  is  2150
Host 14 MEM_USAGE has 90177536  is  73400320
Host 19 RUNNING_VMS has 30  is  28
VM 438 is in Host 19 VM id list, but it should not
VM 630 is in Host 19 VM id list, but it should not
Host 19 CPU_USAGE has 3950  is  3800
Host 19 MEM_USAGE has 174063616 is  164626432
Host 18 CPU_USAGE has 3330  is  3329
Host 23 RUNNING_VMS has 24  is  22
VM 462 is in Host 23 VM id list, but it should not
VM 707 is in Host 23 VM id list, but it should not
Host 23 CPU_USAGE has 3500  is  3100
Host 23 MEM_USAGE has 156237824 is  139460608
Host 31 CPU_USAGE has 4460  is  4459
Image 55 RUNNING_VMS has 1  is  0
VM 106 is in Image 55 VM id list, but it should not
Image 55 has STATE USED_PERSis  READY
Image 195 RUNNING_VMS has 1 is  0
VM 106 is in Image 195 VM id list, but it should not
Image 195 has STATE USED_PERS   is  READY
Image 374 RUNNING_VMS has 1 is  0
VM 438 is in Image 374 VM id list, but it should not
Image 374 has STATE USED_PERS   is  READY
Image 464 RUNNING_VMS has 1 is  0
VM 533 is in Image 464 VM id list, but it should not
Image 464 has STATE USED_PERS   is  READY
Image 490 RUNNING_VMS has 1 is  0
VM 533 is in Image 490 VM id list, but it should not
Image 490 has STATE USED_PERS   is  READY
Image 1131 RUNNING_VMS has 1is  0
VM 1247 is in Image 1131 VM id list, but it should not
Image 1131 has STATE USED_PERS  is  READY
VNet 2 has used lease 10.4.135.9 (VM 106)   but it is free
VNet 25 has used lease 10.1.66.6 (VM 1247)  but it is free
VNet 25 has used lease 10.1.66.8 (VM 858)   but it is free
VNet 63 has used lease 10.1.66.85 (VM 533)  but it is free
address family mismatch
Error running fsck version 4.2.0
The database will be restored



--
Regards,
Anandharaj

From: Anandharaj Subramaniam
Sent: Monday, December 29, 2014 10:23 AM
To: users@lists.opennebula.org
Subject: Image in used state but no VM associte with it

Hi All,

Im having an issue whereby the image in USED_PERS state but there is no VM 
running on it. There was some issue with ON server therefore I run MYSQL 
repair. After that notice this issue.
I ssh into the VM and already shutdown but in ON still shows as USED_PERS.

Is there anyway I can change this in MySQL?


--
Regards,
Anandharaj



DISCLAIMER:


This e-mail (including any attachments) is for the addressee(s) only and may be 
confidential, especially as regards personal data. If you are not the intended 
recipient, please note that any dealing, review, distribution, printing, 
copying or use of this e-mail is strictly prohibited. If you have received this 
email in error, please notify the sender immediately