Re: [one-users] Require Windows.qcow2 tarball

2014-06-26 Thread Anandharaj Subramaniam
Hi Sudeep,

There is known bug on OpenNebula 4.6.2 for the image upload. Kindly refer to 
below URL and apply bug #2984

http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Sudeep 
Narayan Banerjee
Sent: Friday, June 27, 2014 7:25 AM
To: Carlo Daffara
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Require Windows.qcow2 tarball

Dear Sir,
Since I already possess an ISO image of 538MB, I tired to upload the ISO in 
OpenNebula by creating an Image and uploading the ISO of type cdrom.  
Screenshot attached with success message.
But unknowingly, the image is not getting listed after waiting for minutes and 
repeated Refresh.
Could you please help!

[X]
Thanks in Advance!
Sudeep

On Fri, Jun 27, 2014 at 4:23 AM, Carlo Daffara 
carlo.daff...@cloudweavers.eumailto:carlo.daff...@cloudweavers.eu wrote:
You have to take three separate steps:
- load the iso image as a CD within opennebula,
- create the template for the initial installation,
- after the installation, remove the CD from the template and you have your 
reusable windows image.
If you already have the iso file, just upload within Sunstone, by creating a 
new image of type CDROM.
After that, create a template with 2 storage units: the cd image you have 
uploaded, and a datablock of the desired size, marked persistent so that 
modifications
will remain.
Instantiate the template, and you will be guided in the installation of windows 
on the datablock; after completed (and updated, and downloaded service packs 
and whatever)
shut down the machine, change the datastore image you created into type OS, 
remove the cd from the template and you're set. If you use kvm, it may be 
especially worthwile to install the
windows paravirtualized drivers for KVM, that add a substantial increase in 
speed for all io operations.
regards,
carlo daffara

- Messaggio originale -
Da: Sudeep Narayan Banerjee 
snbaner...@iitgn.ac.inmailto:snbaner...@iitgn.ac.in
A: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Inviato: Venerdì, 27 giugno 2014 0:50:56
Oggetto: [one-users] Require Windows.qcow2 tarball

Dear All,

To install Windows OS in a VM in OpenNebula I need to create a template in 
Windows XP/7/8. For that I require the OS is qcow2 format preferably.

If it is not available due to licensing issue, we have our license copy; could 
you please provide us the steps to convert that .iso file to a .qcow2 format?

Do I need to create an .img first, install that OS somewhere  then utilize the 
.qcow2 driver?

Please help!

--
Thanks  Regards,
Sudeep Narayan Banerjee
___
Users mailing list
Users@lists.opennebula.orgmailto:Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
Thanks  Regards,
Sudeep Narayan Banerjee


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] VM basic networking (NAT / Bridge)

2014-07-02 Thread Anandharaj Subramaniam
Hi All,

Im setting up test environment to evaluate and understand more about 
OpenNebula. Everything is completed without any issues, but for VM virtual 
network, I cant figure out  how to configure. How can I use like NAT / bridge 
network in VM so that the VM can have network connection? Currently, I added 
the Host with dummy network driver and created a new virtual network with 
default driver. The VM detected the network card but the connection doesn't 
work. Is there anything that I have missed?

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Contextualization on CentOS 6.5

2014-07-10 Thread Anandharaj Subramaniam
After checking, the service network start doesn’t work since the 
/etc/sysconfig/network file is missing. I have created this file and after that 
the one-context works as expected.


--
Regards,
Anandharaj

-Original Message-
From: Javier Fontan [mailto:jfon...@opennebula.org]
Sent: Tuesday, July 08, 2014 5:11 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Contextualization on CentOS 6.5

Most of our services are CentOS 6.5 machines in OpenNebula. They all get the 
correct configuration with those packages. You can check these
things:

* Interfaces start in ETH0. Maybe the udev files got deleted and the interface 
names now have different names
* /etc/sysconfig/network-config/ifcfg-eth* are generated with the correct 
information
* The execution of bash -x /etc/init.d/vmcontext start is executing the scripts 
in /etc/one-context.d

The packages in the repo and the ones in the development pages are not totally 
synchronized, we are working on it. You should better use the ones in the 
development pages as are the newest ones.

On Tue, Jul 8, 2014 at 9:36 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.my wrote:
 Hi,



 Anyone tried opennebula-context 4.6.0 on CentOS 6? Somehow it didn’t
 work in my test VM. Infact, manually running /etc/init.d/vmcontext
 also doesn’t make any different. Below is the some info from the VM



 [root@localhost ~]# ls -l /mnt/

 total 1

 -rw-r--r-- 1 9869 9869 897 Jul  8 10:35 context.sh



 [root@localhost ~]# more /mnt/context.sh

 # Context variables generated by OpenNebula

 DISK_ID='1'

 ETH0_GATEWAY='192.168.254.xxx'

 ETH0_IP='192.168.254.xxx'

 ETH0_MAC='02:00:c0:a8:fe:b2'

 ETH0_MASK='255.255.255.0'

 ETH0_NETWORK='192.168.254.0'

 HOSTNAME='centos-6.5-x86_64-18'

 NETWORK='YES'

 SSH_PUBLIC_KEY=’my key’

 TARGET='hda'



 Also, I notice, installing the opennebula-context thru the repo,
 doesn’t have /etc/one-context.d/05-hostname file, but
 http://dev.opennebula.org/attachments/download/778/one-context_4.6.0.r
 pm do have that file





 --

 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 and delete the original message (including any 
 attachments).


 MIMOS Berhad is a research and development institution under the
 purview of the Malaysian Ministry of Science, Technology and
 Innovation. Opinions, conclusions and other information in this e-mail
 that do not relate to the official business of MIMOS Berhad and/or its
 subsidiaries shall be understood as neither given nor endorsed by
 MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its
 subsidiaries accepts responsibility for the same. All liability
 arising from or in connection with computer viruses and/or corrupted
 e-mails is excluded to the fullest extent permitted by law.


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | 
@OpenNebula | github.com/jfontan


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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

[one-users] Genenare VM list

2014-07-10 Thread Anandharaj Subramaniam
Hi,

I would like to have an inventory of all the VM running on OpenNebula. Running 
onevm list  doesn't not have all the info that I need. According to  onevm 
help page (--list x y c ), I can define the column name but what are the 
columns available to define there?

More or less, onevm list output  is fine but I need the IP address as well 
(same as VM list in Sunstone) How can I achieve this?


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] MySQL housekeeping

2014-07-10 Thread Anandharaj Subramaniam
Hi,

Is there any housekeeping been done in MySQL by OpenNebula?  I believe all the 
monitoring status will be stored in MySQL so it is good to do clean-up on 
regular basis. Please advice


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Genenare VM list

2014-07-10 Thread Anandharaj Subramaniam
Hi Ondrej,

Thank you. Do you mind share the python script?


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Ondrej 
Hamada
Sent: Thursday, July 10, 2014 5:20 PM
To: users@lists.opennebula.org
Subject: Re: [one-users] Genenare VM list

Hi,

I solved this by running 'onevm list -x', getting the output in XML and then 
parsing it via python script.

O.
On 07/10/2014 11:15 AM, Anandharaj Subramaniam wrote:
Hi,

I would like to have an inventory of all the VM running on OpenNebula. Running 
onevm list  doesn't not have all the info that I need. According to  onevm 
help page (--list x y c ), I can define the column name but what are the 
columns available to define there?

More or less, onevm list output  is fine but I need the IP address as well 
(same as VM list in Sunstone) How can I achieve this?


--
Regards,
Anandharaj


___

Users mailing list

Users@lists.opennebula.orgmailto:Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Genenare VM list

2014-07-23 Thread Anandharaj Subramaniam
Hi Carlos,

Thank you very much for the valuable information. I have done the changes  in 
onevm_helper.rb to add new column “IP” and also added into default column list, 
but somehow it didn’t work for me. Anything I have missed? Appreciate if you 
can guide more on this.


   column :IP, IP address of VM, :size=4 do |d|
   d[IP]
 end


 default :IP, :USER, :GROUP, :NAME, :STAT, :UCPU, :UMEM, :HOST,
   :TIME
end




--
Regards,
Anandharaj

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Tuesday, July 15, 2014 9:14 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Genenare VM list

Hi,

On Thu, Jul 10, 2014 at 11:15 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi,

I would like to have an inventory of all the VM running on OpenNebula. Running 
“onevm list”  doesn’t not have all the info that I need. According to  “onevm” 
help page (--list x y c ), I can define the column name but what are the 
columns available to define there?

You have the --describe option for that:

$ onevm list --describe
ID  : ONE identifier for Virtual Machine
NAME: Name of the Virtual Machine
USER: Username of the Virtual Machine owner
GROUP   : Group of the Virtual Machine
STAT: Actual status
UCPU: CPU percentage used by the VM
UMEM: Memory used by the VM
HOST: Host where the VM is running
TIME: Time since the VM was submitted

More or less, “onevm list” output  is fine but I need the IP address as well 
(same as VM list in Sunstone) How can I achieve this?

As you can see, the IP column does not exist. You can however customize the 
command easily. Take a look at 
/usr/lib/one/ruby/cli/one_helper/onevm_helper.rb, line 129 [1]. You can add a 
new column that shows the VM/TEMPLATE/NIC/IP filed. Use onevm show -x to see 
the VM object structure.

Regards

[1] 
https://github.com/OpenNebula/one/blob/one-4.6/src/cli/one_helper/onevm_helper.rb#L129
--
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



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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Upgrade 4.6 to 4.8 (beta) - onedb fsck report an error

2014-07-24 Thread Anandharaj Subramaniam
Hi,

I have followed the documentation to upgrade my test OpenNebula from 4.6.2 to 
the 4.8 (beta 1).  When I run the onedb fsck, I got an error.

[oneadmin@opennebula ~]$ onedb upgrade -v -u oneadmin -d opennebula
MySQL Password:
Version read:
Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
Local tables  4.5.80 : OpenNebula 4.6.2 daemon bootstrap

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


 Running migrators for shared tables
Database already uses version 4.6.0

 Running migrators for local tables
   Running migrator /usr/lib/one/ruby/onedb/local/4.5.80_to_4.7.80.rb
   Done in 0.27s

Database migrated from 4.5.80 to 4.7.80 (OpenNebula 4.7.80) by onedb command.

Total time: 0.27s


[oneadmin@opennebula ~]$ onedb fsck -S localhost -u oneadmin  -d opennebula
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


undefined method `[]' for nil:NilClass
Error running fsck version 4.6.0
The database will be restored
MySQL DB opennebula at localhost restored.


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Ruby version

2014-07-25 Thread Anandharaj Subramaniam
Hi All,

What is the recommended / minimum version for Ruby?

After I upgrade my OpenNebula to version 4.8 (beta) and run 
/usr/share/one/install_gems, I got errors for some ruby libraries.

gem install --no-ri --no-rdoc nokogiri --version  1.6.0
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.11
1 gem installed
gem install --no-ri --no-rdoc softlayer_api configparser azure
ERROR:  Error installing softlayer_api:
softlayer_api requires Ruby version = 1.9.2.
Successfully installed configparser-0.1.3
Building native extensions.  This could take a while...
ERROR:  Error installing azure:
azure requires Ruby version = 1.9.3.
1 gem installed
Error executing gem install --no-ri --no-rdoc softlayer_api configparser azure


[oneadmin@opennebula ~]$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

[oneadmin@opennebula ~]$ more /etc/redhat-release
CentOS release 6.5 (Final)

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Upgrade 4.6 to 4.8 (beta) - onedb fsck report an error

2014-07-29 Thread Anandharaj Subramaniam
/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: 
warning: instance variable @columns not initialized
/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: 
warning: instance variable @row_proc not initialized
Exception `NoMethodError' at /usr/lib/one/ruby/onedb/fsck.rb:623 - undefined 
method `[]' for nil:NilClass
undefined method `[]' for nil:NilClass
Error running fsck version 4.6.0
The database will be restored
Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/1.8/net/http.rb:560 - 
Connection refused - connect(2)
MySQL DB opennebula at localhost restored.
[oneadmin@opennebula ~]$


--
Regards,
Anandharaj

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Friday, July 25, 2014 4:54 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Upgrade 4.6 to 4.8 (beta) - onedb fsck report an error

Hi Anandharaj,

Can you please try the onedb command again, with the debug flag?

ruby -d `which onedb` fsck 

Thank you.



--
Carlos Martín, MSc
Project Engineer

Re: [one-users] Genenare VM list

2014-07-29 Thread Anandharaj Subramaniam
Hi Carlos,

Thank you very much. Now its working. ;-)


--
Regards,
Anandharaj

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Monday, July 28, 2014 6:36 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Genenare VM list

Hi,

You need to update the yaml file in /etc/one/cli to add the new column [1]

Regards.

[1] http://docs.opennebula.org/4.6/user/references/cli.html

--
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 Wed, Jul 23, 2014 at 11:37 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi Carlos,

Thank you very much for the valuable information. I have done the changes  in 
onevm_helper.rb to add new column “IP” and also added into default column list, 
but somehow it didn’t work for me. Anything I have missed? Appreciate if you 
can guide more on this.


   column :IP, IP address of VM, :size=4 do |d|
   d[IP]
 end


 default :IP, :USER, :GROUP, :NAME, :STAT, :UCPU, :UMEM, :HOST,
   :TIME
end




--
Regards,
Anandharaj

From: Carlos Martín Sánchez 
[mailto:cmar...@opennebula.orgmailto:cmar...@opennebula.org]
Sent: Tuesday, July 15, 2014 9:14 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org

Subject: Re: [one-users] Genenare VM list

Hi,

On Thu, Jul 10, 2014 at 11:15 AM, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi,

I would like to have an inventory of all the VM running on OpenNebula. Running 
“onevm list”  doesn’t not have all the info that I need. According to  “onevm” 
help page (--list x y c ), I can define the column name but what are the 
columns available to define there?

You have the --describe option for that:

$ onevm list --describe
ID  : ONE identifier for Virtual Machine
NAME: Name of the Virtual Machine
USER: Username of the Virtual Machine owner
GROUP   : Group of the Virtual Machine
STAT: Actual status
UCPU: CPU percentage used by the VM
UMEM: Memory used by the VM
HOST: Host where the VM is running
TIME: Time since the VM was submitted

More or less, “onevm list” output  is fine but I need the IP address as well 
(same as VM list in Sunstone) How can I achieve this?

As you can see, the IP column does not exist. You can however customize the 
command easily. Take a look at 
/usr/lib/one/ruby/cli/one_helper/onevm_helper.rb, line 129 [1]. You can add a 
new column that shows the VM/TEMPLATE/NIC/IP filed. Use onevm show -x to see 
the VM object structure.

Regards

[1] 
https://github.com/OpenNebula/one/blob/one-4.6/src/cli/one_helper/onevm_helper.rb#L129
--
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



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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
-- - - 
DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original 
message. MIMOS Berhad is a research and development institution under the 
purview of the Malaysian Ministry of Science, Technology and Innovation. 
Opinions, conclusions and other information in this e- mail that do not relate 
to the official

[one-users] Sunstone Access Log

2014-08-04 Thread Anandharaj Subramaniam
Hi,

Im using OpenNebula 4.2 and would like to know how to retrieve access log for 
SunStone? Looking at sunstone.log or oned.log, nothing is showing who and what 
time people log into SunStone.


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Automatic recover from hardware failure

2014-09-02 Thread Anandharaj Subramaniam
Hi,

I experience this issue with my production environment. The issue was 
OpenNebula network setting was reset (network down few minutes) therefore ONE 
think that all the node is offline / error. As we set “redeploy” when host is 
in error, ONE initiate the redeployment. The moment ONE’s network is up, cause 
intermittent network issue and read-only mode on the VMs.

So, hope this will be addressed in the new solution as well.


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Robert 
Foote
Sent: Monday, September 01, 2014 11:50 PM
To: 'Carlos Martín Sánchez'; 'Sander Klein'
Cc: 'users'
Subject: Re: [one-users] Automatic recover from hardware failure

I hope this particular feature is coming soon, as this is a standard ‘cloud’ 
feature for High Availability, and automatic failover.

Robert Foote
bpsNode
www.bpsnode.comhttp://www.bpsnode.com

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Carlos 
Martín Sánchez
Sent: Monday, September 01, 2014 10:46 AM
To: Sander Klein
Cc: users
Subject: Re: [one-users] Automatic recover from hardware failure

Hi,

On Thu, Aug 14, 2014 at 8:36 PM, Sander Klein 
roe...@roedie.nlmailto:roe...@roedie.nl wrote:

The delete-recreate action will create a new VM from the original
template. This means that the VM will have a new ID, IP, and clean
disks.
We are working on a new mechanism for hosts with shared storage, to
migrate the failed VM to a new host keeping the current IPs, disk
state, etc.

Is there an ETA on this new mechanism? I just ran into the same problem today 
in my test setup.

I can't say when it will be ready. It's not a patch that you can apply, the 
changes are made in the core and the scheduler, so you will need to wait for 
the next OpenNebula release.

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






[http://static.avast.com/emails/avast-mail-stamp.png]http://www.avast.com/


This email is free from viruses and malware because avast! 
Antivirushttp://www.avast.com/ protection is active.




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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] unable to attach cdrom to VM in opennebula 4.8

2014-09-04 Thread Anandharaj Subramaniam
I also interested on this. The current practice that we are doing is 
shutdown/delete the VM, go to template and add the CDROM device and instantiate 
VM. By doing this we will have new VM ID and lose the accountability of old VM 
ID info


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Randy Smith
Sent: Thursday, August 28, 2014 1:08 AM
To: Javier Fontan
Cc: users@lists.opennebula.org
Subject: Re: [one-users] unable to attach cdrom to VM in opennebula 4.8

Fair enough. Then how does one provide an option to change a CD on a server? 
For example, I have a Windows server rolled and I need to install software on 
it that is only available on DVD. How can I change disks on those VMs?

On Wed, Aug 27, 2014 at 10:27 AM, Javier Fontan 
jfon...@opennebula.orgmailto:jfon...@opennebula.org wrote:
Attaching IDE devices (cdrom is an IDE device) is not supported.

On Tue, Aug 26, 2014 at 5:20 PM, Randy Smith 
rbsm...@adams.edumailto:rbsm...@adams.edu wrote:
 Greetings,

 I am attempting to attach a CDROM image to a running VM via Sunstone but the
 command fails with the following error:

 Tue Aug 26 08:52:21 2014 [Z0][VMM][D]: Message received: LOG E 24
 attach_disk: Command virsh --connect qemu:///system attach-device one-24
 /var/lib/one//datastores/0/24/disk.3.attach failed: error: Failed to attach
 device from /var/lib/one//datastores/0/24/disk.3.attach

 Tue Aug 26 08:52:21 2014 [Z0][VMM][D]: Message received: LOG I 24 error:
 Failed to open file '/var/lib/one//datastores/0/24/disk.3': No such file or
 directory

 The disk.3.attach file looks like this:

 disk type='file' device='disk'
   driver name='qemu' type='raw' /
   source file='/var/lib/one//datastores/0/24/disk.3' 

   /source

   target dev='hdd'/
   readonly/
 /disk

 The file listed in the source (disk.3), of course, does not exist. I've
 attempted to attach images from both a ceph store and the default image
 store with the same results.

 What can I do to fix this?

 Thanks

 --
 Randall Smith
 Computing Services
 Adams State University
 http://www.adams.edu/
 719-587-7741tel:719-587-7741

 ___
 Users mailing list
 Users@lists.opennebula.orgmailto:Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | @OpenNebula | 
github.com/jfontanhttp://github.com/jfontan



--
Randall Smith
Computing Services
Adams State University
http://www.adams.edu/
719-587-7741


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] EPL repo for CentOS 7

2014-09-10 Thread Anandharaj Subramaniam
Hi,

The EPL repo URL stated in the documentation is not valid. Should be updated.

Wrong:
yum install 
http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
Correct:

yum install 
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm



--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] ONE with MariaDB

2014-09-10 Thread Anandharaj Subramaniam
Hi,

Does OpenNebula support MariaDB?


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] ONE 4.8 - Datastore location

2014-09-17 Thread Anandharaj Subramaniam
Hi,

I have deleted existing default datastores (ID: 0,1,2) and created 2 new 
datastore for image and system with the base path set to NFS mount point. Below 
is the details of the new datastore.

[oneadmin@server ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
102 ds-sys-nfs-0150G 96%   - 0 sys  -shared
103 ds-img-nfs-01   1.8T 100%  - 2 img  fs   shared
[oneadmin@server ~]$ onedatastore show 102
DATASTORE 102 INFORMATION
ID : 102
NAME   : ds-sys-nfs-01
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: -
TYPE   : SYSTEM
DS_MAD : -
TM_MAD : shared
BASE PATH  : /one/datastores/102
DISK_TYPE  : FILE

DATASTORE CAPACITY
TOTAL: : 50G
FREE:  : 48.2G
USED:  : 0M
LIMIT: : -

PERMISSIONS
OWNER  : um-
GROUP  : u--
OTHER  : ---

DATASTORE TEMPLATE
BASE_PATH=/one/datastores/
SHARED=YES
TM_MAD=shared
TYPE=SYSTEM_DS

IMAGES
[oneadmin@server ~]$ onedatastore show 103
DATASTORE 103 INFORMATION
ID : 103
NAME   : ds-img-nfs-01
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: -
TYPE   : IMAGE
DS_MAD : fs
TM_MAD : shared
BASE PATH  : /one/datastores/103
DISK_TYPE  : FILE

DATASTORE CAPACITY
TOTAL: : 1.8T
FREE:  : 1.8T
USED:  : 399M
LIMIT: : -

PERMISSIONS
OWNER  : um-
GROUP  : u--
OTHER  : ---

DATASTORE TEMPLATE
BASE_PATH=/one/datastores/
CLONE_TARGET=SYSTEM
DISK_TYPE=FILE
DS_MAD=fs
LN_TARGET=NONE
TM_MAD=shared
TYPE=IMAGE_DS

IMAGES
0
1

As we can see, both DS is using new path but the DS capacity info for DS 102 is 
wrong - it displaying the size of /var/lib/one

When I deploy the VM, I got the following error messages.

[root@server one]# tail 0.log
Wed Sep 17 15:03:06 2014 [Z0][DiM][I]: New VM state is ACTIVE.
Wed Sep 17 15:03:06 2014 [Z0][LCM][I]: New VM state is PROLOG.
Wed Sep 17 15:03:06 2014 [Z0][TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/shared/clone 
server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 
server.mimos.local:/var/lib/one//datastores/102/0/disk.1 0 103
Wed Sep 17 15:03:06 2014 [Z0][TM][I]: clone: Cloning 
/var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113 in 
server.mimos.local:/var/lib/one//datastores/102/0/disk.1
Wed Sep 17 15:03:06 2014 [Z0][TM][E]: clone: Command cd 
/var/lib/one/datastores/102/0; cp 
/var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113 
/var/lib/one/datastores/102/0/disk.1 failed: Warning: Permanently added 
'server.mimos.local,192.168.254.94' (ECDSA) to the list of known hosts.
Wed Sep 17 15:03:06 2014 [Z0][TM][I]: cp: cannot stat 
'/var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113': No such file or 
directory
Wed Sep 17 15:03:06 2014 [Z0][TM][E]: Error copying 
server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 to 
server.mimos.local:/var/lib/one//datastores/102/0/disk.1
Wed Sep 17 15:03:06 2014 [Z0][TM][I]: ExitCode: 1
Wed Sep 17 15:03:06 2014 [Z0][TM][E]: Error executing image transfer script: 
Error copying 
server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 to 
server.mimos.local:/var/lib/one//datastores/102/0/disk.1
Wed Sep 17 15:03:06 2014 [Z0][DiM][I]: New VM state is FAILED

From the above message, I can see that it is still referring to /var/lib/one/ 
directory. What I have missed here? The BASE_PATH in DS page is for what 
actually?

Note: Management and Node on the same server.

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. If you are not the
intended recipient, please note 

[one-users] Cloud View with Persistent Image

2014-10-01 Thread Anandharaj Subramaniam
Hi All,

Just need some clarification and would like to get you guys feedback on 
managing VMs using OpenNebula in your environment.

Our current practice as below (using OpenNebula 4.2):

1.   New VM request

-  Clone existing image (master image) to a new image. All the images 
are persistent.

-  Clone existing template (master template) to a new template.

-  Update the new template - set cpu/vcpu, memory, image (point to 
newly created image), ip address, etc

-  Instantiate the template



2.   Update the spec of the VM

-  Shutdown / delete the running VM

-  Update the template belongs to that particular VM - e.g set the new 
memory size

-  Instantiate the template

Note:  a) In our setup, every VM will have their own template as per done in #1
 b) Reason being update the template  re-instantiate instead of 
just  update the memory in VM is because of #3 below


3.   Repair the VM

-  In some cases the VM's filesystem will have some errors (eg: due to 
force shutdown / nfs issues) therefore require to run fsck using live CD.

-  Image type CDROM cannot be attached thru VM list page (click on the 
VM - storage tab)

-  Update the VM's template - add disk and choose the ISO image, choose 
boot = cdrom

-  Instantiate the template and fix the errors using the live CD

-  Shutdown / delete the running VM

-  Update the VM's template - remove the ISO image and choose boot = hd

-  Instantiate the template


From the above scenario, anything that we are doing inefficiently? Im still 
new to this OpenNebula so appreciate you guys feedback / suggestion


Testing environment (OpenNebula 4.8)

To further understand on this OpenNebula, I have setup ONE 4.8 and testing the 
Cloud View and see how I can improve my operation / VM administration.

The way user can create VM in Cloud View is the one I need - user define the VM 
name, choose the template (OS), set the memory  CPU and launch it. Very 
simple. But unfortunately this only works with non-persistent image type. In my 
case, I cannot use non-persistent image because of the reason stated in #2 and 
#3 above.

So what I think Cloud View can be improved is:

-  Based on config parameter (oned.conf - ONE_DEPLOY=Persistent),  
when user create a VM, a template should be created and the image should be 
cloned as persistent image. This is kinda same behavior as Save VM with only 
different is the image persistent yes/no and template spec

-  Able to attach / detach CDROM
Feel free to comment on this and provide some feedback.

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to assign VM to the specified Host

2014-10-03 Thread Anandharaj Subramaniam
If the VM still in pending state, you select the VM and choose the “Deploy” 
from the menu and define the server to deploy into.


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of WHA130036 
Student
Sent: Friday, October 03, 2014 3:35 PM
To: Users@lists.opennebula.org
Subject: [one-users] How to assign VM to the specified Host

Dear All

I have created VM's and i now want to assign some of VM to Host A and Some of 
VM's to Host B. How should i do this in Sunstone GUI view.

Waiting for your replies.

Thanks


Suleman khan



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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cloud View with Persistent Image

2014-10-12 Thread Anandharaj Subramaniam
Hi Ruben,

Thank you very much for the updates. Looking forward to see some of this 
features in the upcoming version.


--
Regards,
Anandharaj

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Friday, October 10, 2014 10:14 PM
To: Nicolas Bélan; Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Cloud View with Persistent Image

Hi

These two are on our radar and probably scheduled for the next release. I 
totally agree that we need to simplify the provision process even more.

About feature 1.

We have two issues:

[1] Clone a running VM. http://dev.opennebula.org/issues/2637
[2] Clone a template . http://dev.opennebula.org/issues/2051

Last one includes images (pretty much the procedure outlined by Anandharaj 
under New VM request) and I think this will cover exactly your request.

About feature 2.

We want to add the ability to update any part of a template for VM, most of it 
can be done if the VM is running (eg. attach a new disk or nic). Others like 
memory can be resized when the VM is powered off. You would not need to update 
and recreate the template.

[3] http://dev.opennebula.org/issues/2065

So, I believe we can implement the workflow described by Anandharaj with these 
features (and exposing it through Cloud View)...

Thanks for your feedback!

Cheers

Ruben

On Fri, Oct 3, 2014 at 11:34 PM, Nicolas Bélan 
nicolas.be...@gmail.commailto:nicolas.be...@gmail.com wrote:
Hi,

I have exactly the same pb, and same needs ...
I start think about a dedicated web service to handle that, but a shorter 
(quicker) way to achieve deployments would be nice !

I will follow this thread for feebacks too

Best regards,
NB
Le 02/10/2014 06:07, Anandharaj Subramaniam a écrit :
Hi All,

Just need some clarification and would like to get you guys feedback on 
managing VMs using OpenNebula in your environment.

Our current practice as below (using OpenNebula 4.2):

1.   New VM request

-  Clone existing image (master image) to a new image. All the images 
are persistent.

-  Clone existing template (master template) to a new template.

-  Update the new template – set cpu/vcpu, memory, image (point to 
newly created image), ip address, etc

-  Instantiate the template



2.   Update the spec of the VM

-  Shutdown / delete the running VM

-  Update the template belongs to that particular VM – e.g set the new 
memory size

-  Instantiate the template

Note:  a) In our setup, every VM will have their own template as per done in #1
 b) Reason being update the template  re-instantiate instead of 
just  update the memory in VM is because of #3 below


3.   Repair the VM

-  In some cases the VM’s filesystem will have some errors (eg: due to 
force shutdown / nfs issues) therefore require to run fsck using live CD.

-  Image type CDROM cannot be attached thru VM list page (click on the 
VM - storage tab)

-  Update the VM’s template – add disk and choose the ISO image, choose 
boot = cdrom

-  Instantiate the template and fix the errors using the live CD

-  Shutdown / delete the running VM

-  Update the VM’s template – remove the ISO image and choose boot = hd

-  Instantiate the template


From the above scenario, anything that we are doing inefficiently? Im still new 
to this OpenNebula so appreciate you guys feedback / suggestion


Testing environment (OpenNebula 4.8)

To further understand on this OpenNebula, I have setup ONE 4.8 and testing the 
Cloud View and see how I can improve my operation / VM administration.

The way user can create VM in Cloud View is the one I need – user define the VM 
name, choose the template (OS), set the memory  CPU and launch it. Very 
simple. But unfortunately this only works with non-persistent image type. In my 
case, I cannot use non-persistent image because of the reason stated in #2 and 
#3 above.

So what I think Cloud View can be improved is:

-  Based on config parameter (oned.conf - ONE_DEPLOY=Persistent),  
when user create a VM, a template should be created and the image should be 
cloned as persistent image. This is kinda same behavior as “Save” VM with only 
different is the image persistent yes/no and template spec

-  Able to attach / detach CDROM
Feel free to comment on this and provide some feedback.

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview

[one-users] Unable to login after upgrade to ONE 4.10 Beta

2014-10-16 Thread Anandharaj Subramaniam
Hi,

I have upgraded my test environment to ONE 4.10 Beta. The upgrade was went 
smoothly but somehow im unable to login.

Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG I 8 Command 
execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 
serveradmin 0984a23f1e21ca82195431594beced5d6f0a2ccd 

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: Command execution fail: 
/var/lib/one/remotes/auth/server_cipher/authenticate serveradmin 
0984a23f1e21ca82195431594beced5d6f0a2ccd 
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG E 8 bad decrypt

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: bad decrypt
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG I 8 ExitCode: 255

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: ExitCode: 255
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: AUTHENTICATE FAILURE 8 
bad decrypt

Thu Oct 16 14:23:55 2014 [Z0][AuM][E]: Auth Error: bad decrypt
Thu Oct 16 14:23:55 2014 [Z0][ReM][D]: Req:7952 UID:- UserPoolInfo invoked
Thu Oct 16 14:23:55 2014 [Z0][ReM][E]: Req:7952 UID:- UserPoolInfo result 
FAILURE [UserPoolInfo] User couldn't be authenticated, aborting call.


I notice the default auth in sunstone-server.conf is now set to opennebula 
instead of sunstone which is default in ONE 4.8. But changing this also doesn't 
help.

NOTE:  Im using CentOS 7


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Unable to login after upgrade to ONE 4.10 Beta

2014-10-16 Thread Anandharaj Subramaniam
Hi Daniel,

Thank you. It solve the issue.

Im running oned with mariadb


--
Regards,
Anandharaj

From: Daniel Molina [mailto:dmol...@opennebula.org]
Sent: Thursday, October 16, 2014 5:35 PM
To: Anandharaj Subramaniam
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Unable to login after upgrade to ONE 4.10 Beta

Hi,

The problem is the password in opennebula does not match the one in the 
sunstone_auth file. You can fix it by running the following command

$ oneuser passwd serveradmin password_in_the_sunstone_auth_file --sha1

and restart sunstone

Are you running oned with mysql or sqlite?

Cheers

On 16 October 2014 09:23, Anandharaj Subramaniam 
anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote:
Hi,

I have upgraded my test environment to ONE 4.10 Beta. The upgrade was went 
smoothly but somehow im unable to login.

Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG I 8 Command 
execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 
serveradmin 0984a23f1e21ca82195431594beced5d6f0a2ccd 

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: Command execution fail: 
/var/lib/one/remotes/auth/server_cipher/authenticate serveradmin 
0984a23f1e21ca82195431594beced5d6f0a2ccd 
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG E 8 bad decrypt

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: bad decrypt
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: LOG I 8 ExitCode: 255

Thu Oct 16 14:23:55 2014 [Z0][AuM][I]: ExitCode: 255
Thu Oct 16 14:23:55 2014 [Z0][AuM][D]: Message received: AUTHENTICATE FAILURE 8 
bad decrypt

Thu Oct 16 14:23:55 2014 [Z0][AuM][E]: Auth Error: bad decrypt
Thu Oct 16 14:23:55 2014 [Z0][ReM][D]: Req:7952 UID:- UserPoolInfo invoked
Thu Oct 16 14:23:55 2014 [Z0][ReM][E]: Req:7952 UID:- UserPoolInfo result 
FAILURE [UserPoolInfo] User couldn't be authenticated, aborting call.


I notice the default auth in sunstone-server.conf is now set to opennebula 
instead of sunstone which is default in ONE 4.8. But changing this also doesn’t 
help.

NOTE:  Im using CentOS 7


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.

___
Users mailing list
Users@lists.opennebula.orgmailto:Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.orghttp://www.OpenNebula.org | 
dmol...@opennebula.orgmailto:dmol...@opennebula.org | @OpenNebula


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Is it possible to export images from opennebula cloud?

2014-10-29 Thread Anandharaj Subramaniam
Hi,

Yes, its possible and pretty easy. Find out the location of the image (oneimage 
show id) and using OS's standard copy command (cp), copy the SOURCE_PATH to 
another place and upload on your new cloud.


--
Regards,
Anandharaj


-Original Message-
From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of giovanni
Sent: Tuesday, October 21, 2014 9:13 PM
To: users@lists.opennebula.org
Subject: [one-users] Is it possible to export images from opennebula cloud?

Hi everyone,

I created an image on my opennebula from a disk, after I made my instance 
persistent and I did some modifications. Now I'd like to use this modified disk 
to create new images (even in other one clouds).
How can I do it? Is it possible to export an image from opennebula cloud and 
use it to create new ones in other clouds?

I'll appreciate any help!

Cheers,
Giovanni
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.

--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Problem Boot Order Image

2014-10-29 Thread Anandharaj Subramaniam
Hi,

How do we set / enable the bootmenu? Below is my current setup in vmm_kvm.conf

OS   = [ boot = hd, arch = x86_64 ]

--
Regards,
Anandharaj


-Original Message-
From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Stefan 
Kooman
Sent: Thursday, October 23, 2014 3:34 PM
To: Dian Sukmono Aji; users@lists.opennebula.org
Subject: Re: [one-users] Problem Boot Order Image


There is always a contextualization CD-ROM / ISO attached to the VM (for 
configuring networking, hostname, ssh-keys, etc) which might be hda now, and 
can't be boot from of course. Adjust the template so you boot from disk and 
re-instantiate. This might be fixed in ONE 4.10:
http://dev.opennebula.org/issues/3158

Instead of boot dev=cdrom (RAW) you could set it to bootmenu so you can press 
F12 during boot and choose which media to boot from. You can make that a global 
default as well by adding this to vmm_kvm.conf (and restart ONE after that).

Gr. Stefan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.

--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] [urgent] oned crash after memory 100%

2014-12-21 Thread Anandharaj Subramaniam
Hi,

Im running an issue with my production OpenNebula 4.2. It was running fine 
until the opennebula service rebooted. Now the oned process consume all the 
memory and when it reach max, the OS will kill the oned. I tried increase the 
memory from 8GB to 20GB, it doesn't help.

2102 oneadmin  20   0 20.8g  18g 1440 S  3.7 94.8   1:10.84 /usr/bin/oned -f

The oned.log file didn't say anything, all looks okay only.

Appreciate you guys help on this.

Some Info:
OpenNebula 4.2
OS: CentOS 6.4
Hypervisor: KVM


--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2014-12-28 Thread Anandharaj Subramaniam
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

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] Is there a way to expand output of onevm list?

2015-01-02 Thread Anandharaj Subramaniam
Yes, there is a way... Let me check what file need to modify.


--
Regards,
Anandharaj


-Original Message-
From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Hamada, 
Ondrej
Sent: Wednesday, December 31, 2014 11:30 PM
To: Steven Timm; users@lists.opennebula.org
Subject: Re: [one-users] Is there a way to expand output of onevm list?

Hi Steve,
I prefer the '--csv' option - it's easier to parse and it does not truncate the 
vm names.

Ondra

-Original Message-
From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Steven Timm
Sent: Wednesday, December 31, 2014 4:06 PM
To: users@lists.opennebula.org
Subject: [one-users] Is there a way to expand output of onevm list?


I am currently running opennebula 4.8.
The default output of onevm list only allows 10 characters under hostname.

my hostnames are cloudworker  which means that all identifying 
information is truncated to cloudworke
Is there any way to change the format of onevm list to show the whole node 
name, if so, how?  I have a lot of scripts that parse that output.

Steve Timm


--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Office:  Wilson Hall room 804
Fermilab Scientific Computing Division,
Scientific Computing Facilities Quadrant., Experimental Computing Facilities 
Dept., Project Lead for Virtual Facility Project.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.

--
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. 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 and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] show IPs of VM with onevm command

2015-01-21 Thread Anandharaj Subramaniam
Hi,

I did ask this question before and its actually can be enabled by modifying 
some file. I will try search back my previous post and update you.


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Valerio 
Schiavoni
Sent: Wednesday, January 21, 2015 6:37 PM
To: users@lists.opennebula.org
Subject: [one-users] show IPs of VM with onevm command

Hello,
the command 'onevm list' does not show a column with the IP of each of the 
available VM.
It would be nice to add this column to the output of that command.
I imagine this is not included because there might be cases where VMs have more 
than 1 NIC, but

Currently, I need to do :

 onevm list | grep topico | awk -F ' ' {'print $1'}  | xargs -I {} onevm show 
{} |  grep ETH0_IP |  awk -F '' {'print $2'}

Something simpler and less convoluted would be nice.

Thanks,
Valerio


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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula Sunstone Bug?

2015-01-21 Thread Anandharaj Subramaniam
Hi,

I encounter an issue with OpenNebula 4.10.2 (CentOS 7). In my setup, the 
Sunstone is installed on separate server. Upon the server reboot, the Sunstone 
service will not able to start. Below is the error message.

[root@sunstone ~]# service opennebula-sunstone status
opennebula-sunstone.service - LSB: start and stop opennebula-sunstone
   Loaded: loaded (/etc/rc.d/init.d/opennebula-sunstone)
   Active: failed (Result: exit-code) since Thu 2015-01-22 14:56:46 MYT; 23min 
ago
  Process: 623 ExecStart=/etc/rc.d/init.d/opennebula-sunstone start 
(code=exited, status=1/FAILURE)

Jan 22 14:56:44 sunstone.domain.local systemd[1]: Starting LSB: start and stop 
opennebula-sunstone...
Jan 22 14:56:44 sunstone.domain.local runuser[642]: pam_unix(runuser:session): 
session opened for user oneadmin by (uid=0)
Jan 22 14:56:44 sunstone.domain.local opennebula-sunstone[623]: Starting 
Sunstone Server daemon: touch: cannot touch '/var/lock/one/.sunstoneectory
Jan 22 14:56:44 sunstone.domain.local opennebula-sunstone[623]: Error creating 
lock file
Jan 22 14:56:46 sunstone.domain.local opennebula-sunstone[623]: VNC server is 
not running
Jan 22 14:56:46 sunstone.domain.local opennebula-sunstone[623]: [FAILED]
Jan 22 14:56:46 sunstone.domain.local systemd[1]: opennebula-sunstone.service: 
control process exited, code=exited status=1
Jan 22 14:56:46 sunstone.domain.local systemd[1]: Failed to start LSB: start 
and stop opennebula-sunstone.
Jan 22 14:56:46 sunstone.domain.local systemd[1]: Unit 
opennebula-sunstone.service entered failed state.

To fix, I need to manually create /var/lock/one directory and assign oneadmin 
as owner.

Checking at init script (/etc/init.d/opennebula***), nothing is configured to 
use /var/lock/one as they are configured to use /var/lock/subsys/. So I believe 
the /var/lock/one is actuality hardcoded in the sunstone-server binary itself.

--
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 and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.


--
-
-
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. 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 and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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-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-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