[one-users] vmware migreate error

2013-09-24 Thread hansz
hi man,
today i have a try to migrate one vm ,but it faild
the log :
rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae 
one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
my environment
1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores 
system and the datastores iamge into it, and mount the iscsi disk 
/var/lib/one/datastore)
2, x3650 install vmware esxi 5.1
3.x3650 install vmware esxi 5.1
i have already add the two esxi to the onehost ,and  i can create vm on both, 
but i want to migrate  one vm one vmware1 to vmware 2 it faild.


what is wrong ?
pls gave me some ideals .
thinks 

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


Re: [one-users] Sunstone problem

2013-09-24 Thread Daniel Molina
Hi,


On 10 September 2013 13:43, Wojciech Giel wojciech.g...@cimr.cam.ac.ukwrote:

 Hello,


 On 09/09/13 11:17, Daniel Molina wrote:

 Hi,



 On 5 September 2013 18:04, Wojciech Giel 
 wojciech.g...@cimr.cam.ac.ukmailto:
 wojciech.giel@cimr.**cam.ac.uk wojciech.g...@cimr.cam.ac.uk wrote:

 Hello,
 I have installed and configured open nebula 4.2 in centos 6 from
 opennebula repository. command line tools look like working fine
 but I can't get sunstone working.
 I have a user in .one/sunstone_auth. I'm using lighttpd as a proxy
 server. I get sunstone login page but doesn't accept password:
 OpenNebula is not running or there was a server exception. Please
 check the server logs. I have default authentication method
 :auth: sunstone.

 What might be the problem. In logs I can see only:

 cat sunstone.log
 --**
  Server configuration
 --**
 {:debug_level=3,
  :port=9869,
  :one_xmlrpc=http://**localhost:2633/RPC2http://localhost:2633/RPC2
 ,
  :oneflow_server=http://**localhost:2474/ http://localhost:2474/
 ,
  :memcache_namespace=**opennebula.sunstone,
  :sessions=memory,
  :lang=en_US,
  :auth=sunstone,
  :vnc_proxy_cert=nil,
  :memcache_host=localhost,
  
 :marketplace_url=http://**marketplace.c12g.com/appliancehttp://marketplace.c12g.com/appliance
 **,
  :tmpdir=/var/tmp,
  :core_auth=cipher,
  :memcache_port=11211,
  :routes=[oneflow],
  :vnc_proxy_port=29876,
  :vnc_proxy_key=nil,
  :vnc_proxy_support_wss=false,
  :host=127.0.0.1}
 --**

 Thu Sep 05 16:46:25 2013 [I]: Updating user pool cache.
 Thu Sep 05 16:46:25 2013 [E]: [UserPoolInfo] User couldn't be
 authenticated, aborting call.
 Thu Sep 05 16:46:25 2013 [I]: 192.168.195.101 - - [05/Sep/2013
 16:46:25] POST /login HTTP/1.0 500 - 0.0064

 cat oned.log
 .
 Thu Sep  5 16:53:10 2013 [InM][I]: Monitoring datastore default (1)
 Thu Sep  5 16:53:10 2013 [InM][I]: Monitoring datastore files (2)
 Thu Sep  5 16:53:10 2013 [ImM][I]: Datastore default (1)
 successfully monitored.
 Thu Sep  5 16:53:10 2013 [ImM][I]: Datastore files (2)
 successfully monitored.
 Thu Sep  5 16:53:15 2013 [ReM][D]: Req:4608 UID:- UserPoolInfo invoked
 Thu Sep  5 16:53:15 2013 [ReM][E]: Req:4608 UID:- UserPoolInfo
 result FAILURE [UserPoolInfo] User couldn't be authenticated,
 aborting call.
 .


 The sunstone server is trying to retrieve the user pool and it fails. The
 server uses the ''/var/lib/one/.one/sunstone_**auth to authenticate
 using the server_adrmin user.
 * Did you change the server_admin password?

 I have changed .one/sunstone_auth password.


If you changed the password in the file, you have to change it also in
opennebula using the oneuser command.
http://opennebula.org/documentation:rel4.2:cloud_auth#configure

Cheers



  * Does the ''/var/lib/one/.one/sunstone_**auth file exists? Is it
 available for the user who is running the sunstone server?

  yes. file exists is owned by oneadmin user.
 cheers

  Hope this helps


 thanks
 Wojciech

 __**_
 Users mailing list
 Users@lists.opennebula.org 
 mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 
 
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin,
 24-26 September, 2013

 --
 Daniel Molina
 Project Engineer
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org http://www.OpenNebula.org | 
 dmol...@opennebula.orgmailto:
 dmol...@opennebula.org** | @OpenNebula


 --
 Wojciech Giel
 University of Cambridge
 JDRF/WT Diabetes and Inflammation Laboratory
 Cambridge Institute for Medical Research
 Wellcome Trust/MRC Building
 Addenbrooke's Hospital, Cambridge, CB2 0XY
 Tel: 44 (0) 1223 763228


 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] the password of serveradmin

2013-09-24 Thread Daniel Molina
Hi,

You have to change the password in opennebula using the oneuser passwd
command and the update the /var/lib/one/.one/sunstone_auth file

http://opennebula.org/documentation:rel4.2:cloud_auth#configure

Cheers


On 9 September 2013 18:06, zglinnova zglinn...@126.com wrote:

  Dear:
 I can't login  in sunstone if I have changed the password of
 serveradmin.why?



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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula 4.2 noVNC problem with Google Chrome

2013-09-24 Thread Daniel Molina
Are you still experiencing this issue?


On 12 September 2013 10:40, Maxim Terletskiy terlets...@emu.ru wrote:

  Hi!

 The only error I see in developer console is:

 GET https://nebula.blah.cz/vendor/4.0/jquery.min.map 401 (Unauthorized)

 It appears right after login to Sunstone. Tried to open this link in
 browser:
 Sinatra doesn't know this ditty.

 Try this:
 get '/vendor/4.0/jquery.min.map' do
   Hello World
 end

 In fullscreen tab no errors.

 novnc.log:
  122: 193.239.243.98: Plain non-SSL (ws://) WebSocket connection
  122: 193.239.243.98: Version hybi-13, base64: 'True'
  122: 193.239.243.98: Path: '/websockify?token=2874wlxyze0o0wecsasq'
  122: connecting to: blah:10771

 09.09.2013 14:18, Daniel Molina пишет:

 Hi,


 On 5 September 2013 20:51, Maxim Terletskiy terlets...@emu.ru wrote:

  Hi!

 After upgrading Opennebula from 3.8.1 to 4.2 we have strange problem with
 noVNC in Google Chrome.

 In Sunstone I'm starting VNC and usual window with buttons, scrollbars
 and status VNC Connected (unencrypted) to: QEMU (one-xxx) appear. But no
 screen is shown, window is blank. If I click Open in new window then new
 browser tab appear, status Connected (unencrypted) to: QEMU (one-xxx) is
 shown, I see background picture, but still no screen. Reload of this page
 changes nothing. But if I copy link from this fullscreen tab and open it
 in new tab everything is ok at last I can see the screen. Tried clean cache
 and incognito mode with no success.

 My colleagues have this problem with Chrome too. We tried FF, Opera and
 even Chromium - works ok.

 Can someone help with this?


  Any error in the chrome development console or in the
 ''/var/log/one/novnc.log file?

  Cheers



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




  --
  Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin,
 24-26 September, 2013
  --
 Daniel Molina
 Project Engineer
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula





-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vnc problem

2013-09-24 Thread Daniel Molina
HI,

What browser are you using?

Cheers


On 8 September 2013 02:35, zglinnova zglinn...@126.com wrote:

  Dear:

 There is no response in the popup web page when I click the vnc icon in
 sunstone.

 What need in xen vm setup when visit xen vm using vnc?



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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] EC2 API on OpenNebula

2013-09-24 Thread Daniel Molina
Hi,


On 20 September 2013 11:24, Gandalf Corvotempesta 
gandalf.corvotempe...@gmail.com wrote:

 Hi to all
 I would like to try this Deis PaaS
 http://deis.io/

 over an OpenNebula cluster.

 Actually, the only supported provider for Deis is Amazon EC2:
 http://docs.deis.io/en/latest/gettingstarted/installation/

 https://github.com/opdemand/deis/blob/master/provider/ec2.py

 do think will be possible to use plain OpenNebula EC2 api ?

 Any advice on this? I've never used EC2 and I've just made some basic
 test with OpenNebula
 without any API interface. Should I customize something in the Deis
 provider ?


This are the ec2 api calls currently supported by OpenNebula:
http://opennebula.org/documentation:rel4.2:ec2qug
we are extending the ec2 support in OpenNebula 4.4. I will let you know
when it's ready

Currently there are other tools in the ec2 ecosystem that works with
OpenNebula:
http://opennebula.org/documentation:rel4.2:ec2qec

So, you should not have any problem, if so just let me know

Cheers


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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] LDAP/AD authentication problems

2013-09-24 Thread Javier Fontan
I've tested the driver from 4.2 with a Windows 2008 server Active
directory and does fail when the password is not correct. Could it be
an Active Directory configuration?

On Fri, Sep 6, 2013 at 4:57 PM, Andreas Calvo Gómez
andreas.ca...@scytl.com wrote:
 Javier,
 Thanks for your time.
 We are running the latest version of OpenNebula as of today: version 4.2.0.


 On 06/09/13 15:23, Javier Fontan wrote:

 It looks really bad. Could you please give use the OpenNebula version
 you are using? I'll do my tests here and will let you know.

 I've created a ticket to keep track of this problem:

 http://dev.opennebula.org/issues/2307


 On Wed, Aug 28, 2013 at 6:46 PM, Andreas Calvo Gómez
 andreas.ca...@scytl.com wrote:

 Hi all,
 I've encountered a strange behavior while trying to configure ONE to
 authenticate against an AD, either as a proper AD or as a LDAP.
 If a credential is used to query LDAP and retrieve the complete DN for
 the
 user that wants to login, then no matter what password the user has typed
 it
 will be listed as authenticated.

 ldap_auth.conf example:
 server 1:
  :user: 'myu...@mydomain.com'
  :password: 'mypassword'
  :auth_method: :simple
  :host: ad.mydomain.com
  :port: 389
  :base: 'dc=mydomain,dc=com'
  :user_field: 'sAMAccountName'
 :order:
  - server 1

 If I manually query the authenticate process with a made up password and
 secret, it is always listed as authenticated.

 For instance:
 oneadmin@opennebula:~$ ./remotes/auth/default/authenticate myuser
 badpassword badpassword
 Trying server server 1
 ldap myuser CN=myuser,CN=Users,DC=mydomain,DC=com

 My guess is that the same user that is used to look up users, performs
 the
 authenticate method and always returns a valid user.

 Or maybe I'm missing something.

 Any hint?

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




 --
 Andreas Calvo Gómez
 Systems Engineer
 Scytl Secure Electronic Voting
 Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
 Phone: + 34 934 230 324
 Fax:   + 34 933 251 028
 http://www.scytl.com

 NOTICE: The information in this e-mail and in any of its attachments is
 confidential and intended solely for the attention and use of the named
 addressee(s). If you are not the intended recipient, any disclosure,
 copying,
 distribution or retaining of this message or any part of it, without the
 prior
 written consent of Scytl Secure Electronic Voting, SA is prohibited and
 may be
 unlawful. If you have received this in error, please contact the sender
 and
 delete the material from any computer.




-- 
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
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] vifbr0 and xenbr0

2013-09-24 Thread Javier Fontan
virbr0 is created automatically by libvirt, not OpenNebula. This
bridge is not connected to any interface so it won't have external
connectivity. In case you want to use virbr make sure it adds an eth
interface but from my experience it is more useful to create the
interface in the OS configuration and do not use virbr0.

You can disable that bridge with:

# virsh net-destroy default
# virsh net-autostart default --disable


On Wed, Sep 18, 2013 at 2:12 PM,  kenny.ke...@bol.com.br wrote:
 Hello.

 I have some problems with xen 4.2 and opennebula 4.2 networking.

 In the past just with xen without opennebula,  I used  xenbr0 and it works
 ok, but after opennebula, it installs vifbr0 (libvirtd).

 what i need to do to xen works with vifbr0 like it works with xenbr0(bridge)
 ?

 I try to work with the two bridges (vifbr0 and xenbr0), but it doesnt work.

 Thanks.


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




-- 
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
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] recover the RBD

2013-09-24 Thread Carlos Martín Sánchez
Hi,

On Mon, Sep 23, 2013 at 2:38 PM, 左丿仔 shixingw...@163.com wrote:

 Hi to all
I have a question : the one can not start.i try two .It views that the
 database have not been created
 What can we do?


Please open a new thread for unrelated problems. Also, try to include any
relevant information, such as error messages in the log files.

Regards.
--
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vmware migreate error

2013-09-24 Thread Tino Vazquez
Hi there,

We would need a bit more of context of that log file, could you send
an excerpt covering 10 lines before and after?

Also, it would be good to know which version of OpenNebula, and which
migration are you trying to invoke (cold or live migration). If it is
a live migration, please bear in mind that you would need a working
vCenter installation, with vMotion capabilities.

Best regards,

-Tino
--
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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i have a try to migrate one vm ,but it faild
 the log :
 rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae
 one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
 my environment
 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the
 datastores system and the datastores iamge into it, and mount the iscsi disk
 /var/lib/one/datastore)
 2, x3650 install vmware esxi 5.1
 3.x3650 install vmware esxi 5.1
 i have already add the two esxi to the onehost ,and  i can create vm on
 both, but i want to migrate  one vm one vmware1 to vmware 2 it faild.

 what is wrong ?
 pls gave me some ideals .
 thinks




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

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


Re: [one-users] Incorrect netmask on virtual machines

2013-09-24 Thread Javier Fontan
Are you getting correct data in your deployed VM? That is, that in the
output of onevm show vmid the context section has the values it is
supposed to have.

On Thu, Sep 19, 2013 at 3:26 PM, steele, jerry jerry.ste...@cgg.com wrote:
 Hi Javier,

 Thanks for your reply. Unfortunately, I'm on version 4.0.1 due to OS 
 restrictions, I guess the Sunstone interface gets a bit better as time goes 
 on :)

 Hello, I have this network context in the template:

 ETH0_DNS$NETWORK[DNS,NETWORK_ID=3]
 SSH_PUBLIC_KEY  $USER[SSH_PUBLIC_KEY]
 ETH0_IP $NIC[IP,NETWORK_ID=3]
 ETH0_IPV6   $NIC[IP6_GLOBAL,NETWORK_ID=3]
 ETH0_GATEWAY$NETWORK[GATEWAY,NETWORK_ID=3]
 ETH0_NETWORK$NETWORK[NETWORK_ADDRESS,NETWORK_ID=3]
 ETH0_GATEWAY6   $NETWORK[GATEWAY6,NETWORK_ID=3]
 ETH0_CONTEXT_FORCE_IPV4 $NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID=3]
 ETH0_MASK   $NETWORK[NETWORK_MASK,NETWORK_ID=3]
 
 So I guess it would be wise to also show the virtual network description:

 VIRTUAL NETWORK 3 INFORMATION
 ID : 3
 NAME   : VLAN 44 Bridge
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : FIXED
 BRIDGE : br0
 VLAN   : No
 USED LEASES: 2

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

 VIRTUAL NETWORK TEMPLATE
 DNS=10.54.128.235,10.50.16.235,10.50.16.231
 GATEWAY=10.54.143.254
 NETWORK_MASK=255.255.248.0

 USED LEASES
 LEASE=[ MAC=02:00:0a:36:88:98, IP=10.54.136.152, 
 IP6_LINK=fe80::400:aff:fe36:8898, USED=1, VID=23 ]
 LEASE=[ MAC=02:00:0a:36:88:99, IP=10.54.136.153, 
 IP6_LINK=fe80::400:aff:fe36:8899, USED=1, VID=24 ]

 FREE LEASES
 LEASE=[ MAC=02:00:0a:36:88:96, IP=10.54.136.150, 
 IP6_LINK=fe80::400:aff:fe36:8896, USED=0, VID=-1 ]
 LEASE=[ MAC=02:00:0a:36:88:97, IP=10.54.136.151, 
 IP6_LINK=fe80::400:aff:fe36:8897, USED=0, VID=-1 ]
 LEASE=[ MAC=02:00:0a:36:88:9a, IP=10.54.136.154, 
 IP6_LINK=fe80::400:aff:fe36:889a, USED=0, VID=-1 ]
 LEASE=[ MAC=02:00:0a:36:88:9b, IP=10.54.136.155, 
 IP6_LINK=fe80::400:aff:fe36:889b, USED=0, VID=-1 ]
 LEASE=[ MAC=02:00:0a:36:88:9c, IP=10.54.136.156, 
 IP6_LINK=fe80::400:aff:fe36:889c, USED=0, VID=-1 ]
 LEASE=[ MAC=02:00:0a:36:88:9d, IP=10.54.136.157, 
 IP6_LINK=fe80::400:aff:fe36:889d, USED=0, VID=-1 ]
 

 The leases are set so that the VMs may only use a few addresses, as this is 
 on our LAN, and only a few IPs are available, not the entire range.

 There's probably some mistakes there in the config somewhere, but not sure 
 where they are.

 Thanks

 Jerry


 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: 19 September 2013 13:56
 To: steele, jerry
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] Incorrect netmask on virtual machines

 I suppose you already have contextualization package installed in you VM as 
 you are getting the correct IP.

 The problem most probably comes because the VM (template) does not have a 
 CONTEXT section with network information. If you are using Sunstone and 
 OpenNebula 4.2 you can add that information checking
 Context-Add network contextualization in the template creation
 wizzard.

 On Tue, Sep 17, 2013 at 11:10 AM, steele, jerry jerry.ste...@cgg.com wrote:
 Hello,



 I'm fairly new to Opennebula - I've just set up my first trio of test
 machines.



 I'd like the VMs to appear on my LAN, and as such have set up a
 virtual network to dole out a pool of addresses to any VMs that I create.



 I've set a netmask of 255.255.248.0 in the virtual network template,
 however, when the VMs get created, their NICs are configured with a
 netmask of 255.255.255.0. I can ping other machines on my network
 withink that range of IPs - so I know the VMs are on the network - but
 that doesn't really help me much.



 I think it's something to do with contextualisation, or maybe the
 network config on the host system, but my lack of experience has me at
 a disadvantage here, I'm afraid.



 Rather than reproduce lots of console output here, could anyone who
 wants to know more for troubleshooting purposes, please let me know what to 
 provide?



 Many Thanks



 _ __ __





 Jerry Steele

 IT Support Specialist

 Subsurface Imaging



 CGGVeritas Services (UK) Ltd

 Crompton Way

 Crawley

 W Sussex

 RH10 9QN



 T  +44 (0)1293 683264 (Internal: 233264)

 M +44 (0)7920 237105



 www.cgg.com



 This email and any accompanying attachments are confidential. The
 information is intended solely for the use of the individual to whom
 it is addressed.
 Any review,
 disclosure, copying, distribution, or use of the email by others is
 strictly prohibited.




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




 --
 Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of 
 September 2013!

 Javier Fontán Muiños
 Developer
 OpenNebula - The 

Re: [one-users] Incorrect netmask on virtual machines

2013-09-24 Thread steele, jerry
Hi Javier,

The output of onevm show network id does give the correct information, 
however, I have noticed that in the CONTEXT=[] statement, I have the variable 
ETH0_NETWORK set to 10.54.136.0, and looking at the context script in the 
(Debian) VM - /etc/one-context.d/00-network - it seems to take that and use it 
to generate netmask and default gateway from the VM, thus ending up with the 
both an incorrect netmask, and an incorrect gateway.

Why would this be happening?

Thanks

Jerry


-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Javier Fontan
Sent: 24 September 2013 10:40
To: steele, jerry
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Incorrect netmask on virtual machines

Are you getting correct data in your deployed VM? That is, that in the output 
of onevm show vmid the context section has the values it is supposed to 
have.

On Thu, Sep 19, 2013 at 3:26 PM, steele, jerry jerry.ste...@cgg.com wrote:
 Hi Javier,

 Thanks for your reply. Unfortunately, I'm on version 4.0.1 due to OS
 restrictions, I guess the Sunstone interface gets a bit better as time
 goes on :)

 Hello, I have this network context in the template:

 ETH0_DNS$NETWORK[DNS,NETWORK_ID=3]
 SSH_PUBLIC_KEY  $USER[SSH_PUBLIC_KEY]
 ETH0_IP $NIC[IP,NETWORK_ID=3]
 ETH0_IPV6   $NIC[IP6_GLOBAL,NETWORK_ID=3]
 ETH0_GATEWAY$NETWORK[GATEWAY,NETWORK_ID=3]
 ETH0_NETWORK$NETWORK[NETWORK_ADDRESS,NETWORK_ID=3]
 ETH0_GATEWAY6   $NETWORK[GATEWAY6,NETWORK_ID=3]
 ETH0_CONTEXT_FORCE_IPV4 $NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID=3]
 ETH0_MASK   $NETWORK[NETWORK_MASK,NETWORK_ID=3]
 
 So I guess it would be wise to also show the virtual network description:

 VIRTUAL NETWORK 3 INFORMATION
 ID : 3
 NAME   : VLAN 44 Bridge
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : FIXED
 BRIDGE : br0
 VLAN   : No
 USED LEASES: 2

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

 VIRTUAL NETWORK TEMPLATE
 DNS=10.54.128.235,10.50.16.235,10.50.16.231
 GATEWAY=10.54.143.254
 NETWORK_MASK=255.255.248.0

 USED LEASES
 LEASE=[ MAC=02:00:0a:36:88:98, IP=10.54.136.152,
 IP6_LINK=fe80::400:aff:fe36:8898, USED=1, VID=23 ] LEASE=[
 MAC=02:00:0a:36:88:99, IP=10.54.136.153,
 IP6_LINK=fe80::400:aff:fe36:8899, USED=1, VID=24 ]

 FREE LEASES
 LEASE=[ MAC=02:00:0a:36:88:96, IP=10.54.136.150,
 IP6_LINK=fe80::400:aff:fe36:8896, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:97, IP=10.54.136.151,
 IP6_LINK=fe80::400:aff:fe36:8897, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9a, IP=10.54.136.154,
 IP6_LINK=fe80::400:aff:fe36:889a, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9b, IP=10.54.136.155,
 IP6_LINK=fe80::400:aff:fe36:889b, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9c, IP=10.54.136.156,
 IP6_LINK=fe80::400:aff:fe36:889c, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9d, IP=10.54.136.157,
 IP6_LINK=fe80::400:aff:fe36:889d, USED=0, VID=-1 ] 

 The leases are set so that the VMs may only use a few addresses, as this is 
 on our LAN, and only a few IPs are available, not the entire range.

 There's probably some mistakes there in the config somewhere, but not sure 
 where they are.

 Thanks

 Jerry


 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: 19 September 2013 13:56
 To: steele, jerry
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] Incorrect netmask on virtual machines

 I suppose you already have contextualization package installed in you VM as 
 you are getting the correct IP.

 The problem most probably comes because the VM (template) does not
 have a CONTEXT section with network information. If you are using
 Sunstone and OpenNebula 4.2 you can add that information checking
 Context-Add network contextualization in the template creation
 wizzard.

 On Tue, Sep 17, 2013 at 11:10 AM, steele, jerry jerry.ste...@cgg.com wrote:
 Hello,



 I'm fairly new to Opennebula - I've just set up my first trio of test
 machines.



 I'd like the VMs to appear on my LAN, and as such have set up a
 virtual network to dole out a pool of addresses to any VMs that I create.



 I've set a netmask of 255.255.248.0 in the virtual network template,
 however, when the VMs get created, their NICs are configured with a
 netmask of 255.255.255.0. I can ping other machines on my network
 withink that range of IPs - so I know the VMs are on the network -
 but that doesn't really help me much.



 I think it's something to do with contextualisation, or maybe the
 network config on the host system, but my lack of experience has me
 at a disadvantage here, I'm afraid.



 Rather than reproduce lots of console output here, could anyone who
 wants to know more for troubleshooting purposes, please let me know what to 
 provide?



 Many Thanks



 _ __ __





 Jerry Steele

 IT Support Specialist

 Subsurface 

Re: [one-users] Incorrect netmask on virtual machines

2013-09-24 Thread steele, jerry
...in fact, some further investigation shows that the network context variables 
don't' seem to be getting passed by to the 00-network script, meaning that it's 
just putting the defaults in there, rather than the variables I've specified 
(so, e.g. for the gateway, take the first three quads of the network address, 
and put a .1 after it, or the default netmask is 255.255.255.0).

Anyone know why *this* might be happening?

Thanks

Jerry


-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of steele, jerry
Sent: 24 September 2013 12:47
To: users@lists.opennebula.org
Subject: Re: [one-users] Incorrect netmask on virtual machines

Hi Javier,

The output of onevm show network id does give the correct information, 
however, I have noticed that in the CONTEXT=[] statement, I have the variable 
ETH0_NETWORK set to 10.54.136.0, and looking at the context script in the 
(Debian) VM - /etc/one-context.d/00-network - it seems to take that and use it 
to generate netmask and default gateway from the VM, thus ending up with the 
both an incorrect netmask, and an incorrect gateway.

Why would this be happening?

Thanks

Jerry


-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Javier Fontan
Sent: 24 September 2013 10:40
To: steele, jerry
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Incorrect netmask on virtual machines

Are you getting correct data in your deployed VM? That is, that in the output 
of onevm show vmid the context section has the values it is supposed to 
have.

On Thu, Sep 19, 2013 at 3:26 PM, steele, jerry jerry.ste...@cgg.com wrote:
 Hi Javier,

 Thanks for your reply. Unfortunately, I'm on version 4.0.1 due to OS
 restrictions, I guess the Sunstone interface gets a bit better as time
 goes on :)

 Hello, I have this network context in the template:

 ETH0_DNS$NETWORK[DNS,NETWORK_ID=3]
 SSH_PUBLIC_KEY  $USER[SSH_PUBLIC_KEY]
 ETH0_IP $NIC[IP,NETWORK_ID=3]
 ETH0_IPV6   $NIC[IP6_GLOBAL,NETWORK_ID=3]
 ETH0_GATEWAY$NETWORK[GATEWAY,NETWORK_ID=3]
 ETH0_NETWORK$NETWORK[NETWORK_ADDRESS,NETWORK_ID=3]
 ETH0_GATEWAY6   $NETWORK[GATEWAY6,NETWORK_ID=3]
 ETH0_CONTEXT_FORCE_IPV4 $NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID=3]
 ETH0_MASK   $NETWORK[NETWORK_MASK,NETWORK_ID=3]
 
 So I guess it would be wise to also show the virtual network description:

 VIRTUAL NETWORK 3 INFORMATION
 ID : 3
 NAME   : VLAN 44 Bridge
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : FIXED
 BRIDGE : br0
 VLAN   : No
 USED LEASES: 2

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

 VIRTUAL NETWORK TEMPLATE
 DNS=10.54.128.235,10.50.16.235,10.50.16.231
 GATEWAY=10.54.143.254
 NETWORK_MASK=255.255.248.0

 USED LEASES
 LEASE=[ MAC=02:00:0a:36:88:98, IP=10.54.136.152,
 IP6_LINK=fe80::400:aff:fe36:8898, USED=1, VID=23 ] LEASE=[
 MAC=02:00:0a:36:88:99, IP=10.54.136.153,
 IP6_LINK=fe80::400:aff:fe36:8899, USED=1, VID=24 ]

 FREE LEASES
 LEASE=[ MAC=02:00:0a:36:88:96, IP=10.54.136.150,
 IP6_LINK=fe80::400:aff:fe36:8896, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:97, IP=10.54.136.151,
 IP6_LINK=fe80::400:aff:fe36:8897, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9a, IP=10.54.136.154,
 IP6_LINK=fe80::400:aff:fe36:889a, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9b, IP=10.54.136.155,
 IP6_LINK=fe80::400:aff:fe36:889b, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9c, IP=10.54.136.156,
 IP6_LINK=fe80::400:aff:fe36:889c, USED=0, VID=-1 ] LEASE=[
 MAC=02:00:0a:36:88:9d, IP=10.54.136.157,
 IP6_LINK=fe80::400:aff:fe36:889d, USED=0, VID=-1 ] 

 The leases are set so that the VMs may only use a few addresses, as this is 
 on our LAN, and only a few IPs are available, not the entire range.

 There's probably some mistakes there in the config somewhere, but not sure 
 where they are.

 Thanks

 Jerry


 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: 19 September 2013 13:56
 To: steele, jerry
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] Incorrect netmask on virtual machines

 I suppose you already have contextualization package installed in you VM as 
 you are getting the correct IP.

 The problem most probably comes because the VM (template) does not
 have a CONTEXT section with network information. If you are using
 Sunstone and OpenNebula 4.2 you can add that information checking
 Context-Add network contextualization in the template creation
 wizzard.

 On Tue, Sep 17, 2013 at 11:10 AM, steele, jerry jerry.ste...@cgg.com wrote:
 Hello,



 I'm fairly new to Opennebula - I've just set up my first trio of test
 machines.



 I'd like the VMs to appear on my LAN, and as such have set up a
 virtual network to dole out a pool of addresses to any VMs that I create.



 I've set a netmask of 255.255.248.0 

Re: [one-users] LDAP/AD authentication problems

2013-09-24 Thread Tim Moss
This any password works situation is something a co-worker of mine
discovered a couple months ago. He posted an explanation and patch to the
list (which I'm pretty sure has been incorporated into 4.2).

http://lists.opennebula.org/pipermail/users-opennebula.org/2013-June/023627.html
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box

2013-09-24 Thread thái bình
Dear,

I am trying to live migrate from KVM host to another KVM host but I always 
catch an error message which I quote below. Does anyone know the reason and how 
to solve this problem ?

oneadmin@OneVMHost:~/var/8$ cat vm.log
Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE.
Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG.
Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in 
OneVMHost:/var/lib/one/var//datastores/0/8/disk.0
Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at 
OneVMHost:/var/lib/one/var//datastores/0/8/disk.1
Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/var/8/deployment.0
Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver 
operation: post.
Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING
Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver 
operation: save.
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver 
operation: clean.
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint 
VMHost1 8 VMHost1
Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect 
qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint failed: 
error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path 
/var/lib/one/var//datastores/0/8/disk.1: Permission denied
Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from 
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1
Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver 
operation: restore.
Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from 
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED

Many thanks,
NDTBinh___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Cloud bursting from OpenNebula to EC2

2013-09-24 Thread Francesco Ceccarelli
Hello everyone,
I managed to burst an instance in EC2 using the following template and
ONE3.2:

#VCPU   = 1
#MEMORY = 2048

OS =  [ ARCH = x86_64 ]
DISK   =  [ IMAGE_ID = 5,
 target = vda ]

DISK   = [
  type = swap,
  size = 5120,
  target   = vdb ]

FEATURES=[ acpi=yes ]

GRAPHICS = [ 
  type= vnc, 
  listen  = 127.0.0.1,
  port= -1,
  autoport = yes,
  keymap=en-us ]

REQUIREMENTS = HYPERVISOR=\kvm\

EC2 = [ AMI=ami-0027ae30,
AUTHORIZED_PORTS=22 ]

But the same template is not working in ONE4.2 because the DISK section
triggers the transfer manager and the machine falls in the FAILED
status. Do you know why?

Thanks in advance,
Francesco


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


Re: [one-users] vmware migreate error

2013-09-24 Thread hansz
hi ,
 the version is 4.2 and esxi 5.1, follow your advices,i have ready create a 
working vCenter  with vMotion capabilities.
and i can migrate vm from esxi5.1(1)to esxi 5.2 (2) use vcenter, but how can i 
use opennebula do migration ,
i see in the vmwarerc file has :vcenter should i write like vcenter: 
192.168.1.1 or not, i want to try live migration


thinks for some advices.
 
 






At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote:
Hi there,

We would need a bit more of context of that log file, could you send
an excerpt covering 10 lines before and after?

Also, it would be good to know which version of OpenNebula, and which
migration are you trying to invoke (cold or live migration). If it is
a live migration, please bear in mind that you would need a working
vCenter installation, with vMotion capabilities.

Best regards,

-Tino
--
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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i have a try to migrate one vm ,but it faild
 the log :
 rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae
 one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
 my environment
 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the
 datastores system and the datastores iamge into it, and mount the iscsi disk
 /var/lib/one/datastore)
 2, x3650 install vmware esxi 5.1
 3.x3650 install vmware esxi 5.1
 i have already add the two esxi to the onehost ,and  i can create vm on
 both, but i want to migrate  one vm one vmware1 to vmware 2 it faild.

 what is wrong ?
 pls gave me some ideals .
 thinks




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

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