[one-users] updated from 3.2 to 4.6

2014-09-23 Thread Alejandro Feijóo

Hi.

I have a VM that runn opennebula utils (onevm, onevnet, oneimage) 
from 3.2 version. This utils conect to Opennebula server that yesterday 
had a 4.6 version, and worked fine (conect using RPC)


but now, we updated server to 4.8 and onevnet stop working (if a did a 
onevnet show ID_net)



The problem:

I decided to update to 4.8 the utils at MV, remember that 3.2 was 
installing using a tar.gz, but now we use a yum install opennebula.


All was fine at VM, but after that... the Opennebula utils say that are 
a 3.2 version (I can see that using onevnet -h)... but rpm say that was 
installed 4.8


any idea? i think there are a problem at ruby or similar...

Thanks in advance.

--
Alejandro Feijóo Fraga
Systems Technician
CESGA

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


Re: [one-users] Fwd: 4.8 with vSphere single node datastores

2014-09-23 Thread Tino Vazquez
Hi Stan,

This is looking like an installation problem indeed. The vi_driver.rb
should not be in /usr/lib/one/ruby/vi_driver.rb, but only in
/var/lib/one/remotes/vmm/vmware/vi_driver.rb. Please erase the former,
and if it is still failling due to not finding vi_driver, please send
the contents of /var/lib/one/remotes/vmm/vmware/vi_driver.rb, as well
as the output of:

 $ ls -la /var/lib/one/remotes/vmm/vmware/

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 22 September 2014 14:56, Stan Yarbrough stan.yarbro...@oriontech.com wrote:
 Tino:

 I have added the line puts RUBY_LIB_LOCATION at 26 in 
 /var/lib/one/remotes/im/vmware.d/vmware.rb.

 Similar error is presented.


 ONE_LOCATION=ENV[ONE_LOCATION] if !defined?(ONE_LOCATION)

 if !ONE_LOCATION
 RUBY_LIB_LOCATION=/usr/lib/one/ruby if !defined?(RUBY_LIB_LOCATION)
 else
 RUBY_LIB_LOCATION=ONE_LOCATION+/lib/ruby if !defined?(RUBY_LIB_LOCATION)
 end
 puts RUBY_LIB_LOCATION
 $:  ../../vmm/vmware/

 require 'vi_driver'

 ...

 [root@itwcsfe01-inthewoods-local oneadmin]# vi 
 /var/lib/one/remotes/im/vmware.d/vmware.rb
 [root@itwcsfe01-inthewoods-local oneadmin]# gem uninstall rbvmomi
 Remove executables:
 rbvmomish

 in addition to the gem? [Yn]  y
 Removing rbvmomish
 Successfully uninstalled rbvmomi-1.8.1
 [root@itwcsfe01-inthewoods-local oneadmin]# 
 /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01
 /usr/lib/one/ruby
 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require': 
 cannot load such file -- vi_driver (LoadError)
 from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in 
 `require'
 from /var/lib/one/remotes/im/vmware.d/vmware.rb:29:in `main'
 [root@itwcsfe01-inthewoods-local oneadmin]#



 Stan Yarbrough
 Chief Technology Officer
 Orion Technology Services
 704-307-1633
 600 Galleria Parkway SE | Suite 1450
 Atlanta, Georgia 30339
 stan.yarbro...@oriontech.com | www.oriontech.com








 The information transmitted is intended only for the person or entity to 
 which it is addressed and may contain confidential and/or privileged 
 material. Any review, retransmission, dissemination or other use of, or 
 taking of any action in reliance upon, this information by persons or 
 entities other than the intended recipient is prohibited. If you received 
 this in error, please contact the sender and delete the material from any 
 computer.


 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Friday, September 19, 2014 8:33 AM
 To: Stan Yarbrough
 Cc: users
 Subject: Re: [one-users] Fwd: 4.8 with vSphere single node datastores

 Hi Stan,

 rbvmomi is vendorized inside OpenNebula, so let's uninstall it

  gem uninstall rbvmomi

 The driver not finding rbvmomi is equivalent to not finding the vi_driver.rb 
 , something wrong with the library path. Let's check that, please add the 
 following line into line 26 (and remember to remove it after the test) of
 /var/lib/one/remotes/im/vmware.d/vmware.rb:

puts RUBY_LIB_LOCATION

 and then send us the output of

   /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On 18 September 2014 16:55, Stan Yarbrough stan.yarbro...@oriontech.com 
 wrote:
 Tino:

 What can I do next 

Re: [one-users] Where are the CentOS one-context-4.8.0-1.noarch rpm files?

2014-09-23 Thread Javier Fontan
The images from the marketpace already come with the context packages installed.

To download the packages you can go to one of these places:

http://dev.opennebula.org/projects/opennebula/files
https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

On Fri, Sep 19, 2014 at 1:49 PM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Hello,

 I am installing a CentOS 6.5 VM from scratch. I would like, of course, to
 contextualize it. Where can I download the one-context-4.8.0-1.noarch.rpm
 from? It is installed by default on a CentOS 6.5 VM that I deploy from the
 Marketplace.

 Thank you.

 --
 Pavel Tankov
 ___
 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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Live migrate with Snapshot

2014-09-23 Thread Rhesa Mahendra

Guys,

Could we migrate vm with snapshots?how to make it works?thanks.

Rhesa.

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


Re: [one-users] Where are the CentOS one-context-4.8.0-1.noarch rpm files?

2014-09-23 Thread Pavel Tankov
Thank you for the response! I was just about to reply to my thread that 
I'd found the package and help other people but, fortunately, you were 
faster. I would have given false information. Anyway, please, see below 
how I got confused:


I wasn't getting a response for a while and thought I was asking a too 
obvious question, so I went to re-read the documentation once again more 
carefully. The documentation here:

(1) http://docs.opennebula.org/4.8/user/virtual_machine_setup/bcont.html
says:

Install from our repositories package one-context in Ubuntu/Debian or 
opennebula-context in CentOS/RedHat. Instructions to add the repository 
at the installation guide.


where installation guide is a hyperlink to
(2) 
http://docs.opennebula.org/4.8/design_and_installation/building_your_cloud/ignc.html#ignc
However, (2) explains how to add the opennebula repo for CentOS and the 
link to the repo is:

(3) http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64.
But (3) DOES NOT have the contextualization rpm packages.

On the other hand, (1) also says:
Download and install the package for your distribution:

DEB: Compatible with Ubuntu 11.10 to 14.04 and Debian 6/7
RPM: Compatible with CentOS and RHEL 6/7

where RPM is a hyperlink to
(4) http://dev.opennebula.org/attachments/download/804/one-context_4.8.0.rpm
which, apparently according to your mail, is not the latest version.

Please, fix the documentation in (1) to mention 
http://dev.opennebula.org/projects/opennebula/files instead.


-- Pavel Tankov

On 09/23/2014 12:22 PM, Javier Fontan wrote:

The images from the marketpace already come with the context packages installed.

To download the packages you can go to one of these places:

http://dev.opennebula.org/projects/opennebula/files
https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

On Fri, Sep 19, 2014 at 1:49 PM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:

Hello,

I am installing a CentOS 6.5 VM from scratch. I would like, of course, to
contextualize it. Where can I download the one-context-4.8.0-1.noarch.rpm
from? It is installed by default on a CentOS 6.5 VM that I deploy from the
Marketplace.

Thank you.

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






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


Re: [one-users] Real CPU/MEM = 0 after upgrade

2014-09-23 Thread Olivier Sallou
As additional info,
I tested ganglia_probe, and it looks fine:

oneadmin@genokvm4:/var/lib/one/remotes/im/ganglia.d$ ./ganglia_probe kvm
14 genokvm7
TOTALCPU=2400
CPUSPEED=2666
TOTALMEMORY=99202048
USEDMEMORY=98827836
FREEMEMORY=374212
FREECPU=2181.6
USEDCPU=218.40001
NETTX=9129152.00
NETRX=9256168.00
VMS_INFORMATION=


On 09/23/2014 10:56 AM, Olivier Sallou wrote:
 Hi,
 I have upgraded from 4.2 to 4.8, and  all processes are fine BUT:

 the REAL CPU and MEM values of all my hosts remain at 0 (while allcoated
 is ok).
 I use the ganglia driver, I don't know if it is used for real values.

 Messages look fine:

 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm6 (13)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm7 (14)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm3 (21)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm8 (22)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm9 (24)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm10 (25)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm11 (26)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm6 (13) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm7 (14) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm3 (21) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm8 (22) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm9 (24) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm10 (25) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm11 (26) successfully
 monitored.


 I have waited for quite a long time, so it should not be a problem

 Any idea how to debug this ? This prevent VM scheduling

 Thanks

 Olivier


-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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


Re: [one-users] updated from 3.2 to 4.6

2014-09-23 Thread Javier Fontan
Make sure that PATH is not pointing to the old OpenNebula installation
and ONE_LOCATION environment variable is unset.

On Tue, Sep 23, 2014 at 8:59 AM, Alejandro Feijóo alfei...@cesga.es wrote:
 Hi.

 I have a VM that runn opennebula utils (onevm, onevnet, oneimage) from
 3.2 version. This utils conect to Opennebula server that yesterday had a 4.6
 version, and worked fine (conect using RPC)

 but now, we updated server to 4.8 and onevnet stop working (if a did a
 onevnet show ID_net)


 The problem:

 I decided to update to 4.8 the utils at MV, remember that 3.2 was installing
 using a tar.gz, but now we use a yum install opennebula.

 All was fine at VM, but after that... the Opennebula utils say that are a
 3.2 version (I can see that using onevnet -h)... but rpm say that was
 installed 4.8

 any idea? i think there are a problem at ruby or similar...

 Thanks in advance.

 --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA

 ___
 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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] CentOS-7 mainline GenericCloud test image

2014-09-23 Thread Javier Fontan
IP, hostname and SSH key configuration work but not DNS configuration.
I think it worked in older versions of the image. Any change in the
cloud-init code?

On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org wrote:
 hi,

 http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2

 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a

 This is the last Release Candidate for the Generic cloud mainline image,
 these will be build and released monthly to include all security updates
 and bugfix's.

 These are compressed qcow2 images, with cloud-init and growpart utils
 installed, root logins are deprecated in favour of default 'centos' logins.

 Please test, and I will monitor this thread for comments. unless there
 is a major blocker, I will move to release this early next week.

 Please note : this is a common image, and repsents an identical
 footprint on all official centos images in public and private clouds.

 Regards and thanks for the work that Javier Fontan did to bring in the
 opennebula support to cloud-init,

 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] ec2 server behavior issue after upgrade

2014-09-23 Thread Olivier Sallou
After my upgrade to 4.8, I tried to use the ec2 server (I used it before).
I try to use the new config e.g. the ec2 templates instead of old
template files.

I face an issue when trying to list the availableimages, I have an empty
list. However, before, I had a correct list.

  ec2 = AWS::EC2::Base.new(:access_key_id = ec2_access_key,
:secret_access_key  = ec2_secret_key, :server = my_host, :port =
4567, :use_ssl = false)
 
  puts ec2.describe_images

{xmlns=http://ec2.amazonaws.com/doc/2010-08-31/;,
requestId=053c778c-986b-4577-9954-a7fae1fab192, imagesSet=nil}

Should something be updated ? Is it a bug ?

Thanks

Olivier

-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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


Re: [one-users] CentOS-7 mainline GenericCloud test image

2014-09-23 Thread Javier Fontan
There is another bigger problem. I've found out that I had a DHCP
server running in my machine. Deactivating it configures the IP
correctly (can be pinged) but SSH is inaccessible (port closed?). It
also adds the DNS configuration but there is already a nameserver in
/etc/resolv.conf in the original image. Can you delete or make the
file /etc/resolv.conf empty in the image?

After restarting the VM it works correctly. I'm looking into the SSH problem.

On Tue, Sep 23, 2014 at 3:28 PM, Javier Fontan jfon...@opennebula.org wrote:
 IP, hostname and SSH key configuration work but not DNS configuration.
 I think it worked in older versions of the image. Any change in the
 cloud-init code?

 On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org wrote:
 hi,

 http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2

 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a

 This is the last Release Candidate for the Generic cloud mainline image,
 these will be build and released monthly to include all security updates
 and bugfix's.

 These are compressed qcow2 images, with cloud-init and growpart utils
 installed, root logins are deprecated in favour of default 'centos' logins.

 Please test, and I will monitor this thread for comments. unless there
 is a major blocker, I will move to release this early next week.

 Please note : this is a common image, and repsents an identical
 footprint on all official centos images in public and private clouds.

 Regards and thanks for the work that Javier Fontan did to bring in the
 opennebula support to cloud-init,

 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ec2 server behavior issue after upgrade

2014-09-23 Thread Olivier Sallou
Found !

Needs to register old images with econe-register.

Olivier

On 09/23/2014 03:43 PM, Olivier Sallou wrote:
 After my upgrade to 4.8, I tried to use the ec2 server (I used it before).
 I try to use the new config e.g. the ec2 templates instead of old
 template files.

 I face an issue when trying to list the availableimages, I have an empty
 list. However, before, I had a correct list.

   ec2 = AWS::EC2::Base.new(:access_key_id = ec2_access_key,
 :secret_access_key  = ec2_secret_key, :server = my_host, :port =
 4567, :use_ssl = false)
  
   puts ec2.describe_images

 {xmlns=http://ec2.amazonaws.com/doc/2010-08-31/;,
 requestId=053c778c-986b-4577-9954-a7fae1fab192, imagesSet=nil}

 Should something be updated ? Is it a bug ?

 Thanks

 Olivier


-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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


Re: [one-users] networking restart issue on Market images

2014-09-23 Thread Javier Fontan
I'm not sure about the Debian image but the Ubuntu 14.04 - OpenNebula 4.8
uses newer context packages that are not compatible with old OpenNebula
versions. They now need the MAC address from the interface to find the
correct interface with the new interface naming scheme. Until OpenNebula
4.6 this information is not added to the Context section.

I have updated the Ubuntu 14.04 - OpenNebula 4.8 as it had some other
problems.

Try this image, it should be compatible with your OpenNebula version:

http://appliances.c12g.com/Ubuntu-14.04/ubuntu14.04.qcow2.gz

On Thu, Sep 18, 2014 at 3:47 PM, Olivier Sallou olivier.sal...@irisa.fr
wrote:

  Hi,
 I have tried to use the following images from Market in my OpenNebula
 private cloud (4.2).

 The Debian image boots but it is impossible to connect. As this image has
 a login/root available, I connected to the VNC and saw that network files
 (/etc/network/interfaces)  were correctly setup, but the ifconfig command
 shows an errouneous config.

 If I execute a service networking restart, the network restart and
 interfaces from ifconfig are fine (and network access too).

 So everything done at startup by one-context.d files is correct, but it
 seems that the service networking stop/start from contextualisation fails
 (though I see nothing in /var/log).


 On the Ubuntu image, from the market too, I cannot be sure, as there is no
 root password to access. I only see the same symptoms (cannot connect to
 the VM).

 I have no issues with my own/local VMs.

 I saw a previous post (
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-March/044229.html)
 about networking issues and I wonder if this is the same problem and market
 image were not updated.

  Appliance - debian-7.1-amd64-kvm   ID 52168fb81d2be703  URL link
 http://marketplace.c12g.com/appliance/52168fb81d2be703
 Publisher Demo-TIC  Downloads 1637  OS Debian 7.1  Arch x86_64  Size 5GB
 Hypervisor KVM



  Appliance - Ubuntu 14.04 - KVM - OpenNebula 4.8   ID
 53e7c1b28fb81d6a6903  URL link
 http://marketplace.c12g.com/appliance/53e7c1b28fb81d6a6903
 Publisher C12G Labs  Downloads 573  OS
   Arch x86_64  Size 10GB  Hypervisor KVM

  Regards

 Olivier

 ___
 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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] networking restart issue on Market images

2014-09-23 Thread Olivier Sallou

On 09/23/2014 03:59 PM, Javier Fontan wrote:
 I'm not sure about the Debian image but the Ubuntu 14.04 - OpenNebula
 4.8 uses newer context packages that are not compatible with old
 OpenNebula versions. They now need the MAC address from the interface
 to find the correct interface with the new interface naming scheme.
 Until OpenNebula 4.6 this information is not added to the Context
 section.

I have just upgraded to 4.8, so I gonna retry.
 I have updated the Ubuntu 14.04 - OpenNebula 4.8 as it had some other
 problems.

 Try this image, it should be compatible with your OpenNebula version:

 http://appliances.c12g.com/Ubuntu-14.04/ubuntu14.04.qcow2.gz

 On Thu, Sep 18, 2014 at 3:47 PM, Olivier Sallou
 olivier.sal...@irisa.fr mailto:olivier.sal...@irisa.fr wrote:

 Hi,
 I have tried to use the following images from Market in my
 OpenNebula private cloud (4.2).

 The Debian image boots but it is impossible to connect. As this
 image has a login/root available, I connected to the VNC and saw
 that network files (/etc/network/interfaces)  were correctly
 setup, but the ifconfig command shows an errouneous config.

 If I execute a service networking restart, the network restart
 and interfaces from ifconfig are fine (and network access too).

 So everything done at startup by one-context.d files is correct,
 but it seems that the service networking stop/start from
 contextualisation fails (though I see nothing in /var/log).


 On the Ubuntu image, from the market too, I cannot be sure, as
 there is no root password to access. I only see the same symptoms
 (cannot connect to the VM).

 I have no issues with my own/local VMs.

 I saw a previous post
 
 (http://lists.opennebula.org/pipermail/users-opennebula.org/2014-March/044229.html)
 about networking issues and I wonder if this is the same problem
 and market image were not updated.

 Appliance - debian-7.1-amd64-kvm
 ID52168fb81d2be703
 URL   link
 http://marketplace.c12g.com/appliance/52168fb81d2be703
 Publisher Demo-TIC
 Downloads 1637
 OSDebian 7.1
 Arch  x86_64
 Size  5GB
 HypervisorKVM





 Appliance - Ubuntu 14.04 - KVM - OpenNebula 4.8
 ID53e7c1b28fb81d6a6903
 URL   link
 http://marketplace.c12g.com/appliance/53e7c1b28fb81d6a6903
 Publisher C12G Labs
 Downloads 573
 OS
 Arch  x86_64
 Size  10GB
 HypervisorKVM



 Regards

 Olivier

 ___
 Users mailing list
 Users@lists.opennebula.org mailto: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 http://www.OpenNebula.org | @OpenNebula |
 github.com/jfontan http://github.com/jfontan

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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


Re: [one-users] Fwd: 4.8 with vSphere single node datastores

2014-09-23 Thread Tino Vazquez
Hi Stan,

Thanks for the detailed info. The installation seems correct, at least
it doesn't explain why the driver is not been found.

Let's try adding the ruby path, in the vi_driver.rb, add the following
in line 39:

$: .

and try the monitoring again.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 23 September 2014 16:22, Stan Yarbrough stan.yarbro...@oriontech.com wrote:
 That is correct.  The same issue presented with 6.5 and ruby 1.8.7

 I have completed another install that yields the same driver issue.  Here are 
 the exact steps that I took to perform the installation on a fresh install of 
 Centos 7.  Can you have a look and tell me where I am failing?

 1.  Install Centos 7
 a.  Infrastructure Server with no options
 b.  Add oneadmin user
 i.  Home Dir = /var/lib/one
 ii. Create UID = 1000
 iii.Create GID = 1000
 iv. Add to group oneadmin
 v.  Make administrator
 vi. Password = PASSWORD_HERE
 vii.Root password = rootpassword

 2.  Update release and install repos
 a.  su
 b.  yum update
 c.  yum install epel-release
 d.  add opennebula repo:
 cat  EOT  /etc/yum.repos.d/opennebula.repo
 [opennebula]
 name=opennebula
 baseurl=http://downloads.opennebula.org/repo/4.8/CentOS/7/x86_64
 enabled=1
 gpgcheck=0
 EOT

 3.  Install opennebula and libraries
 yum install opennebula-server opennebula-sunstone opennebula-ruby
 yum install opennebula-flow
 /usr/share/one/install_gems

 4.  Add oneadmin to sudo users
 visudo
 add “oneadmin   ALL=(ALL)   ALL” to ##Allow root to run any 
 commands anywhere

 5.  Setup oneadmin user
 a.  Ensure home directory is /var/lib/one
 mkdir ~/.one
 echo oneadmin:PASSWORD_HERE  ~/.one/one_auth
 chmod 600 ~/.one/one_auth
 cat ~/.one/one_auth
 [oneadmin:PASSWORD_HERE]

 6.  Start one and verify oneadmin user access
 one start
 onevm list
[ ID USER GROUPNAMESTAT UCPUUMEM HOST 
 TIME]

 7.  Setup SSH
 a.  Use ssh-keygen to generate an ssh hash.  Use blank password
 ssh-keygen
 cat ~/.ssh/id_rsa.pub  ~/.ssh/authorized_keys
 chmod 700 ~/.ssh/
 chmod 600 ~/.ssh/id_dsa.pub
 chmod 600 ~/.ssh/id_dsa
 chmod 600 ~/.ssh/authorized_keys

 8.  Configure one server
 a.  Verify the ID of oneadmin
 id
 [uid=1000(oneadmin) gid=1000(oneadmin) groups=1000(oneadmin) 
 context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023]
 b.  Set SELinux to disabled as root
 vi /etc/sysconfig/selinux
 ...
 SELINUX=disabled
 ...

 setenforce 0
 getenforce
 [Permissive]
 c.  Create NFS Exports
 As root:
 systemctl stop firewalld
 systemctl enable rpcbind
 systemctl enable nfs-server
 systemctl enable nfs-lock
 systemctl enable nfs-idmap
 systemctl start rpcbind
 systemctl start nfs-server
 systemctl start nfs-lock
 systemctl start nfs-idmap

 As oneadmin
 sudo su - oneadmin
 sudo vi /etc/exports

 /var/lib/one/datastores/0 
 *(rw,sync,no_subtree_check,root_squash,anonuid=1000,anongid=1000)
 /var/lib/one/datastores/1 
 *(rw,sync,no_subtree_check,root_squash,anonuid=1000,anongid=1000)

 sudo exportfs –a
 showmount –e
 [/var/lib/one/datastores/1 *
 /var/lib/one/datastores/0 *]

 d.  Edit config files
 Sudo vi /etc/one/oned.conf

 #***
 # DataStore Configuration
 #***
 #  DATASTORE_LOCATION: *Default* Path for Datastores in the hosts. It IS the
 #  same for all the hosts in the cluster. DATASTORE_LOCATION IS ONLY FOR THE
 #  HOSTS AND *NOT* THE FRONT-END. It defaults to /var/lib/one/datastores (or
 #  $ONE_LOCATION/var/datastores in self-contained mode)
 #
 #  DATASTORE_BASE_PATH: This is the base path for the SOURCE attribute of
 #  the images registered in a Datastore. This is a default value, that can be
 #  changed when the datastore is created.
 #***

 DATASTORE_LOCATION  = /vmfs/volumes

 DATASTORE_BASE_PATH = /vmfs/volumes

 

Re: [one-users] Real CPU/MEM = 0 after upgrade

2014-09-23 Thread Javier Fontan
Ganglia IM drivers are no longer included in the distribution and we
have not modified them for quite some time so I'm not sure they will
work.

There may be also a problem related with the new collectd system to
get information, now monitoring is pushed from the nodes and is active
by default.

Check these documents:

http://docs.opennebula.org/4.8/administration/monitoring/mon.html
http://docs.opennebula.org/4.8/administration/monitoring/imudppushg.html

On Tue, Sep 23, 2014 at 11:58 AM, Olivier Sallou
olivier.sal...@irisa.fr wrote:
 As additional info,
 I tested ganglia_probe, and it looks fine:

 oneadmin@genokvm4:/var/lib/one/remotes/im/ganglia.d$ ./ganglia_probe kvm
 14 genokvm7
 TOTALCPU=2400
 CPUSPEED=2666
 TOTALMEMORY=99202048
 USEDMEMORY=98827836
 FREEMEMORY=374212
 FREECPU=2181.6
 USEDCPU=218.40001
 NETTX=9129152.00
 NETRX=9256168.00
 VMS_INFORMATION=


 On 09/23/2014 10:56 AM, Olivier Sallou wrote:
 Hi,
 I have upgraded from 4.2 to 4.8, and  all processes are fine BUT:

 the REAL CPU and MEM values of all my hosts remain at 0 (while allcoated
 is ok).
 I use the ganglia driver, I don't know if it is used for real values.

 Messages look fine:

 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm6 (13)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm7 (14)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm3 (21)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm8 (22)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm9 (24)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm10 (25)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm11 (26)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm6 (13) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm7 (14) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm3 (21) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm8 (22) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm9 (24) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm10 (25) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm11 (26) successfully
 monitored.


 I have waited for quite a long time, so it should not be a problem

 Any idea how to debug this ? This prevent VM scheduling

 Thanks

 Olivier


 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

 ___
 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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Datastore and Gluster + Cluster

2014-09-23 Thread Amier Anis
thanks javier. i'm really appreciate it. i did almost same configuration
without using this guide
http://docs.opennebula.org/4.8/administration/storage/gluster_ds.html.
where by
i just do normal mount via fstab and create empty system and images in the
sunstone.

it works.

by the way is that correct way or i still need to ensure the details of
gluster must be in the sunstone setting?
my first attempt did not work that time.


On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org
wrote:

 GlusterFS is a bit different to the other shared storage as it needs
 to see the same files in both the system and images datastores. It
 needs both.

 Cluster 0
 Mount gluster_vol_0 in /storage
 Link /storage - /var/lib/one/datastores/100 (system)
 Link /storage - /var/lib/one/datastores/101 (images)

 Cluster 1
 Mount gluster_vol_1 in /storage
 Link /storage - /var/lib/one/datastores/102 (system)
 Link /storage - /var/lib/one/datastores/103 (images)

 Cluster 2
 Mount gluster_vol_2 in /storage
 Link /storage - /var/lib/one/datastores/104 (system)
 Link /storage - /var/lib/one/datastores/105 (images)

 Frontend
 Mount gluster_vol_0 in /storage/0
 Mount gluster_vol_0 in /storage/1
 Mount gluster_vol_0 in /storage/2
 Link /storage/0 - /var/lib/one/datastores/100 (system)
 Link /storage/0 - /var/lib/one/datastores/101 (images)
 Link /storage/1 - /var/lib/one/datastores/102 (system)
 Link /storage/1 - /var/lib/one/datastores/103 (images)
 Link /storage/2 - /var/lib/one/datastores/104 (system)
 Link /storage/2- /var/lib/one/datastores/105 (images)

 On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
  Dear Team,
 
  I would like to know little bit more about system datastore + gluster and
  cluster.
 
  node 0 - FrontEnd
  node 1 - Hypervisor 1
  node 2 - Hypervisor 2
 
  Cluster 1
  node 3 Hypervisor 3
  node 4 Hypervisor 4
 
  Cluster 2
  node 5 Hypervisor 5
  node 6 Hypervisor 6
 
  GlusterFS Storage 1 - mount to frontend to datastore 0
  GlusterFS Storage 2 - mount to frontend to datastore 100 - for Cluster 1
  GlusterFS Storage 3 - mount to frontend to datastore 101 - for Cluster 2
 
  I believe that all glusterfs storage need to mount to Frontend and
  hypervisor node.
 
  my question is
 
  Should I mount datastore 0 to all hypervisor node even it is clusters? or
  Do i only mount for each datastore to each clusters. let say GlusterFS
  Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
  In cluster 1, I only mount glusterfs 2 and set it as system datastore and
  image datastore. no datastore 0,1,2 in cluster 2.
 
  Which is the proper one?
  How do I set glusterfs as system and image datastore in opennebula. I
 only
  can set images datastore.
 
  Thanks in advance your kind help.
 
  Thanks you.
 
  Regards  Best Wishes,
 
 
  .: Amier Anis :.
  Mobile: +6012-260-0819
 
  
  IMPORTANT:
  This e-mail (including any attachment hereto) is intended solely for the
  addressee and is confidential and privileged. If this should have been
 sent
  to you in error, you are not to reproduce, distribute or take any action
 in
  reliance on it. Kindly notify us and delete the e-mail and all
 attachments
  immediately.
 
  As e-mail and/or attachments may contain viruses and other interfering or
  damaging elements, the receipt and/or downloading of e-mail and/or
  attachments will be at your own risk and we accept no liability for any
  damage sustained as a result of any such viruses; you should carry out
 your
  own virus checks before opening any attachment.
 
  ___
  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

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


[one-users] ONE Virtual Router routing from inside to outside

2014-09-23 Thread Hüning , Christian
Hi,

 

I have a Virtual Router Appliance working with a VLAN isolated (powered by
open vSwitch) network of VMs. I can route/forward from the outside network
to the inner VMs. Now I am facing the requirement to make a connection from
a VM inside the isolation network to a VM in the outside world. Is there an
easy or defined way to do that (e.g. easily activating NAT’ting in the VR
appliance)? Or would I rather have to build something on my own with
iptables etc?

 

Cheers,

Christian

 

 

 

---

Christian Hüning, BSc.

Fakultät Technik und Informatik, Department Informatik

Berliner Tor 7

20099 Hamburg

Tel.: +49 40 / 42875 - 8436 

Mobil: +49 40 / 180 55 44 5

Web:  http://www.mars-group.org http://www.mars-group.org

 



smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org