[one-users] sunstone says : "OpenNebula is not running"

Guigui 6675636b206f6666 licks0re at hotmail.com
Tue May 1 01:36:21 PDT 2012


Hello Lehel,

It looks like there's indeed something wrong with the  one_auth file. Even I double checked everything, I prolly missed something.
What I can def say if the opensuse tuto is wrong.

After starting the one service with oneadmin, I tried a onevm list and I got that :


gg01:/etc/systemd/system/multi-user.target.wants # sudo -u oneadmin env ONE_AUTH=/var/lib/one/.one/one_auth one restart
oned and scheduler stopped                                                                                              done
Stale .lock detected. Erasing it.                                                                                          done

gg01:/etc/systemd/system/multi-user.target.wants # onevm list
ONE_AUTH file not present

(!!!!!!)

gg01:/etc/systemd/system/multi-user.target.wants # more /var/lib/one/.one/one_auth
oneadmin:somepassword

gg01:/etc/systemd/system/multi-user.target.wants # cp /var/lib/one/.one/one_auth /root/.one/

gg01:/etc/systemd/system/multi-user.target.wants # onevm list
    ID USER     GROUP    NAME         STAT CPU     MEM        HOSTNAME        TIME

It means the initial command line / script provided is not working.
Sunstone is still not working neither, but I guess I'll first fix the one_auth file problem, then go back to the sunstone!

Thanks for your hints! :)


Date: Tue, 1 May 2012 01:02:55 -0700
From: lehel.biro at yahoo.com
To: users at lists.opennebula.org
Subject: Re: [one-users] sunstone says : "OpenNebula is not running"

Hello,

Could you paste the contents of oned.log then? It should 
be located under /var/log/one/ folder. Maybe we can find more information
 there about the problem.

Also, did you check if ONE_AUTH 
environment variable is properly set (pointing to the one_auth file, 
usually located under $HOME/.one/one_auth, and containing a single 
unencrypted line "oneadmin:password", where $HOME is the home folder of 
oneadmin user)?

Cheers,
Lehel.

--- On Tue, 5/1/12, Guigui 6675636b206f6666 <licks0re at hotmail.com> wrote:

From: Guigui 6675636b206f6666 <licks0re at hotmail.com>
Subject: RE: [one-users] sunstone says : "OpenNebula is not running"
To: lehel.biro at yahoo.com
Date: Tuesday, May 1, 2012, 10:43 AM





Hello Lehel,

No, unfortunatly, that's the the problem. I already saw this address yesterday while I was googling :)

Guillaume

Date: Tue, 1 May 2012 00:37:31 -0700
From: lehel.biro at yahoo.com
Subject: Re: [one-users] sunstone says : "OpenNebula is not running"
To: licks0re at hotmail.com
CC: users at lists.opennebula.org

Hello there,

Please check the answers in this thread to see if they helps:
http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5900

I ran in to the very same error when starting to use OpenNebula on an openSUSE architecture.

Cheers,
Lehel.

--- On Tue, 5/1/12,
 Guigui 6675636b206f6666 <licks0re at hotmail.com> wrote:

From: Guigui 6675636b206f6666 <licks0re at hotmail.com>
Subject: [one-users] sunstone says : "OpenNebula is not running"
To: users at lists.opennebula.org
Date: Tuesday, May 1, 2012, 9:50 AM





Good morning,



I'm trying to setup open nebula on an opensuse 12.1



I followed this document (which, if you do exactly the steps is NOT working at the end):



SDB:Cloud OpenNebula - openSUSE



The problem is that I can't get sunstone server working. I double checked the settings, etc, no way I'll get it to work. 



Sunstone server systematically answers : 



"OpenNebula is not running"



But, I confirm that open nebula IS running, here's a ps -ef | grep one :



oneadmin  3046     1  0 Apr30 pts/0    00:00:05 /usr/bin/oned -f

oneadmin  3064     1  0 Apr30 pts/0    00:00:03 /usr/bin/mm_sched

oneadmin  3067  3046  0 Apr30 pts/0    00:00:00 ruby /usr/lib/one/mads/one_vmm_exec.rb -t 15 -r 0 kvm

oneadmin  3077  3046  0 Apr30 pts/0    00:00:00 ruby /usr/lib/one/mads/one_im_exec.rb -r 0 -t 15 kvm

oneadmin  3086  3046  0 Apr30 pts/0    00:00:00 ruby /usr/lib/one/mads/one_tm.rb tm_shared/tm_shared.conf

oneadmin  3099  3046  0 Apr30 pts/0    00:00:00 ruby /usr/lib/one/mads/one_hm.rb

oneadmin  3109  3046  0 Apr30 pts/0    00:00:00 ruby /usr/lib/one/mads/one_image.rb fs -t 15

oneadmin  3118  3046  0 Apr30 pts/0    00:00:00 ruby 
/usr/lib/one/mads/one_auth_mad.rb --authn 
ssh,x509,ldap,server_cipher,server_x509

root      3162     1  0 Apr30 pts/0    00:00:17 ruby /usr/lib/one/sunstone/sunstone-server.rb

root      6697  2989  0 08:18 pts/0    00:00:00 grep --color=auto one



Any clues?

Thanks in advance!  		 	   		  

-----Inline Attachment Follows-----

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 		 	   		  

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120501/e4e14679/attachment-0003.htm>


More information about the Users mailing list