Re: [one-users] oned failed to start (raspberry pi - arch armv6, opennebula 3.8.1, selfcontained)

2013-01-10 Thread Paul Mayer
Dear Carlos,

Thanks for your reply. I will try to see whether I can get some more
information through debugging.
Since I cannot access the platform right now, it would be of great help if
someone could tell me if there might
be problems with ARM-based systems in general?

Regards,
Paul

2013/1/8 Carlos Martín Sánchez cmar...@opennebula.org

 Hi,

 Try executing oned directly instead of one start, it may output more
 information.
 Anyway, if it fails before the log is created, you only need to debug
 what's happening in oned.cc main(), and Nebula.cc start()

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Tue, Jan 8, 2013 at 8:23 AM, Paul Mayer equilibriu...@gmail.comwrote:

 Hi,

 I have just built opennebula 3.8.1. from source on my raspberry pi
 (running arch).
 It's a self-contained install and my .bashrc contains ONE_LOCATION,
 ONE_AUTH and ONE_XMLRPC set.
 Also, PATH contains the bin folder of the install.
 However, if I try to run one start (as oneadmin), I just get:
 
 usage: oned [-h] [-v] [-f]
 oned failed to start
 
 That's it, there is no oned.log for me to check under var (only
 sched.log).
 The sched.log says:

 Tue Jan  8 08:21:00 2013 [SCHED][I]: Init Scheduler Log system
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Starting Scheduler Daemon
 
  Scheduler Configuration File
 
 DEFAULT_SCHED=POLICY=1
 HYPERVISOR_MEM=0.1
 LIVE_RESCHEDS=0
 MAX_DISPATCH=30
 MAX_HOST=1
 MAX_VM=300
 ONED_PORT=2633
 SCHED_INTERVAL=30
 
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Starting scheduler loop...
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Scheduler loop started.
 Tue Jan  8 08:21:02 2013 [SCHED][I]: Stopping the scheduler...
 Tue Jan  8 08:21:02 2013 [SCHED][I]: Scheduler loop stopped.

 Is there anything apparently wrong in there? I have no idea where to
 start looking right now.

 Any help would be much appreciated!

 Thanks  Regards,
 Paul


 ___
 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] Load balance for sunstone

2013-01-10 Thread Zeeshan Ali Shah
Thanks Hector, 

We are running thin  . here is gem list

-- any hint to run it with passenger ? right now i start it with 
bin/sunstone-server restart command. 

apache+passenger module is another option for this beside apache+passenger  do 
we have have to change some parts of sunstone to run with passenger ?



gem list

*** LOCAL GEMS ***

bundler (1.2.2)
daemons (1.1.9)
eventmachine (1.0.0)
json (1.7.5)
rack (1.4.1)
rack-protection (1.2.0)
rake (10.0.2)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
sequel (3.41.0)
sinatra (1.3.3)
thin (1.5.0)
tilt (1.3.3)


Zeeshan

On W2-Jan 9, 2013, at 6:54 PM, Hector Sanjuan wrote:

 If your sunstone performs so bad I doubt that is something you can solve by 
 load balancing.
 
 Is it running with Webbrick or with thin (i.e. is the thin gem installed?)? I 
 would check gem versions in general... make sure you are running the latest 
 etc. thin can launch several processes too (-s) so you can try using it along 
 with nginx.
 
 You can also try proxying with Apache+passenger which will also take care of 
 spanning several processes...
 
 Hector
 
 On Wed, 09 Jan 2013 11:13:49 +0100, Zeeshan Ali Shah zas...@pdc.kth.se 
 wrote:
 
 HI,
 We are running sunstone as proxy with nginx . during testing with only 2 
 users the server hanged . nginx was fine but sunstone went belly up (very 
 slow with no error in debug)
 
 1. any way we can increase number of processes for sunstone ?
 2. or running sunstone with different ports on same system and load balance 
 them from nginx ?
 
 any hint ?
 
 Regards
 
 Zeeshan
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 -- 
 Hector Sanjuan
 @hecsanjuan
 ___
 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] Patch to opennebula-3.8.1/share/scripts/one to allow checking the daemons' status

2013-01-10 Thread Simon J Mudd
On Wed, Jan 09, 2013 at 02:59:36PM +0100, Jaime Melis wrote:
 Hi Simon,
 
 thanks for the patch! I have created a feature request to follow this patch:
 http://dev.opennebula.org/issues/1718
 
 The only problem is that the patch was created on top of share/scripts/one
 instead of the current location of the centos init scripts which are
 located at share/pkgs/CentOS. Anyways it can be easily patched
 
 I've assigned this feature to be released for OpenNebula 4.0

Thanks. I'll look at the right place to patch this and if I can provide you 
with a revised
patch (also including restart).

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


[one-users] VM State failed

2013-01-10 Thread Riyaz Aboobaker
below is the VM Log

Fri Jan 11 01:58:11 2013 [DiM][I]: New VM state is ACTIVE.
Fri Jan 11 01:58:12 2013 [LCM][I]: New VM state is PROLOG.
Fri Jan 11 02:00:37 2013 [TM][D]: tm_clone.sh:
cloud:/var/lib/one/images/win2003/win2003.qcow2
192.168.1.102:/var/lib/one//13/images/disk.0
Fri Jan 11 02:00:37 2013 [TM][D]: tm_clone.sh: DST:
/var/lib/one//13/images/disk.0
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//13/images
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed ssh
192.168.1.102 mkdir -p /var/lib/one//13/images.
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Cloning
cloud:/var/lib/one/images/win2003/win2003.qcow2
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed scp
cloud:/var/lib/one/images/win2003/win2003.qcow2
192.168.1.102:/var/lib/one//13/images/disk.0.
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed ssh
192.168.1.102 chmod a+rw /var/lib/one//13/images/disk.0.
Fri Jan 11 02:00:37 2013 [TM][I]: ExitCode: 0
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed mkdir -p
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed cp -R
/var/lib/one/13/context.sh
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed cp -R
/home/oneadmin/.ssh/id_rsa.pub
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed genisoimage
-o /var/lib/one/1682ceedb53a6c66300cc9419d2dc320/starter.vbs -J -R
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed scp
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/starter.vbs
/var/lib/one/images/win2003/starter.vbs.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed rm -rf
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320.
Fri Jan 11 02:00:38 2013 [TM][I]: ExitCode: 0
Fri Jan 11 02:00:38 2013 [TM][I]: COMMAND not found:
/VAR/LIB/ONE/IMAGES/WIN2003/GETCONTEXTINFO.PS1.Fri Jan 11 02:00:38
2013 [TM][E]: Error excuting image transfer script: COMMAND not found:
/VAR/LIB/ONE/IMAGES/WIN2003/GETCONTEXTINFO.PS1.
Fri Jan 11 02:00:39 2013 [DiM][I]: New VM state is FAILED

I have a system wide install done. and have installed opennebula using the
apt-get install opennebula command on my ubuntu 12.04 server.
the windows context files and image files are located in
/var/lib/one/images/win2003 folder.
any help would be greatly appreciated.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] VM State failed

2013-01-10 Thread Riyaz Aboobaker
below is the VM Log

Fri Jan 11 01:58:11 2013 [DiM][I]: New VM state is ACTIVE.
Fri Jan 11 01:58:12 2013 [LCM][I]: New VM state is PROLOG.
Fri Jan 11 02:00:37 2013 [TM][D]: tm_clone.sh:
cloud:/var/lib/one/images/win2003/win2003.qcow2
192.168.1.102:/var/lib/one//13/images/disk.0
Fri Jan 11 02:00:37 2013 [TM][D]: tm_clone.sh: DST:
/var/lib/one//13/images/disk.0
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//13/images
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed ssh
192.168.1.102 mkdir -p /var/lib/one//13/images.
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Cloning
cloud:/var/lib/one/images/win2003/win2003.qcow2
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed scp
cloud:/var/lib/one/images/win2003/win2003.qcow2
192.168.1.102:/var/lib/one//13/images/disk.0.
Fri Jan 11 02:00:37 2013 [TM][I]: tm_clone.sh: Executed ssh
192.168.1.102 chmod a+rw /var/lib/one//13/images/disk.0.
Fri Jan 11 02:00:37 2013 [TM][I]: ExitCode: 0
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed mkdir -p
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed cp -R
/var/lib/one/13/context.sh
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed cp -R
/home/oneadmin/.ssh/id_rsa.pub
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed genisoimage
-o /var/lib/one/1682ceedb53a6c66300cc9419d2dc320/starter.vbs -J -R
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/isofiles.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed scp
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320/starter.vbs
/var/lib/one/images/win2003/starter.vbs.
Fri Jan 11 02:00:38 2013 [TM][I]: tm_context.sh: Executed rm -rf
/var/lib/one/1682ceedb53a6c66300cc9419d2dc320.
Fri Jan 11 02:00:38 2013 [TM][I]: ExitCode: 0
Fri Jan 11 02:00:38 2013 [TM][I]: COMMAND not found:
/VAR/LIB/ONE/IMAGES/WIN2003/GETCONTEXTINFO.PS1.Fri Jan 11 02:00:38
2013 [TM][E]: Error excuting image transfer script: COMMAND not found:
/VAR/LIB/ONE/IMAGES/WIN2003/GETCONTEXTINFO.PS1.
Fri Jan 11 02:00:39 2013 [DiM][I]: New VM state is FAILED

I have a system wide install done. and have installed opennebula using the
apt-get install opennebula command on my ubuntu 12.04 server.
the windows context files and image files are located in
/var/lib/one/images/win2003 folder. kind
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Ubuntu and Opennebula in a box

2013-01-10 Thread Lim Kean Meng
The stock version on Ubuntu precise is still Opennebula 3.2, any way to get the 
latest one thru PPA?
And in what version does opennebula support clould in a box, frontend and 
worker node in 1 server?


Thanks and best regards.


Lim



--
-
-
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] NAT in Opennebula

2013-01-10 Thread Lim Kean Meng
I suppose Opennebula can't support NAT by default, is there any good reference 
that you come across to enable it?


Thanks and best regards.


Lim



--
-
-
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] how to upload iso in opennebula from harddisk

2013-01-10 Thread Santosh Mak
hi ,

 i want to use iso image to crate vm in opennebula.
please guide me how to?


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