[one-users] CentOS + OpenNebula feedback

Jaime Melis jmelis at opennebula.org
Mon Dec 3 11:32:39 PST 2012


Hi,

well, the package shouldn't fail if the user exists. It shouldn't fail at
all, actually! So thanks for reporting it. I think I've fixed it, but allow
a few hours until the new package is available in the repo.

The QuickStart guide assumes you're installing opennebula-server and
opennebula-sunstone in the same server, and optionally opennebula-node-kvm
as well. To be honest, however, there should be documentation on other
scenarios, such the one you described of having the opennebula-sunstone in
a separate server. That's definitely something we need to take care of.

Additonally, there should be documentation on how to install the official
packages in a server that already has OpenNebula installed, and the package
should be a little bit smarter and not crash. But that's outside of the
scope of the QuickStart guide, I think - (but not outside of the feedback
we need).

What was the error you had with /var/log/one?

Are you sure you don't prefer we submit bugs for longer issues / further
> investigation?


You may be right, let me think about a better way to report the
centos-opennebula package issues and let's stick with this thread for the
moment.

Thanks,
Jaime


On Mon, Dec 3, 2012 at 8:18 PM, Simon Boulet <simon at nostalgeek.com> wrote:

> Ah, the "group does not exist" error was caused by the oneadmin user I had
> in my /etc/passwd (from a previous installation) which didn't have a GID
> of 9869. I deleted the oneadmin user and reinstalled the package
> successfully, and I see the Opennebula RPM has created a oneadmin user with
> a GID of 9869 now.
>
> I also had to wipe /var/log/one from my previous install.
>
> The Qucikstart guide doesn't mention Sunstone won't start without a
> /var/lib/one/.one/sunstone_auth. Also the /var/lib/one/.ond folder didn't
> exist I had to create it before setting up sunstone_auth.
>
> >
> > - Submit your feedback to this thread
> >
>
> Are you sure you don't prefer we submit bugs for longer issues / further
> investigation?
>
> Thanks
>
> Simon
>
>
> On Mon, Dec 3, 2012 at 2:00 PM, Simon Boulet <simon at nostalgeek.com> wrote:
>
>> Hi Jaime
>>
>> Excellent news!
>>
>> Good, I see you created a separate opennebula-ruby package! In the past
>> we had to manually extract the opennebula gems from the opennebula .rpm.
>>
>> I am using a separate OpenNebula Sunstone frontend. I followed the
>> instructions to set up the Repo in the Quickstart guide and did yum install
>> opennebula-sunstone.
>>
>> Opennebula-common installation is failing with a "usermod: group '9869'
>> does not exist" error.
>>
>>   Installing : libxslt-1.1.26-2.el6_3.1.x86_64
>>
>>     1/13
>>   Installing : rubygem-nokogiri-1.4.3.1-1.el6.centos.alt.x86_64
>>
>>    2/13
>> Error in PREIN scriptlet in rpm package opennebula-common-3.8.1-2.5.x86_64
>> usermod: group '9869' does not exist
>> error: %pre(opennebula-common-3.8.1-2.5.x86_64) scriptlet failed, exit
>> status 6
>> error:   install: %pre scriptlet failed (2), skipping
>> opennebula-common-3.8.1-2.5
>>   Installing : rubygem-sequel-3.31.0-12.el6.centos.alt.noarch
>>
>>    4/13
>>   Installing : rubygem-json-1.4.6-1.el6.centos.alt.x86_64
>>
>>    5/13
>>   Installing : rubygem-eventmachine-0.12.10-4.el6.centos.alt.x86_64
>>
>>    6/13
>>   Installing : rubygem-uuidtools-2.1.1-1.el6.centos.alt.noarch
>>
>>     7/13
>>   Installing : rubygem-daemons-1.0.10-2.el6.centos.alt.noarch
>>
>>    8/13
>>   Installing : rubygem-thin-1.2.8-4.el6.centos.alt.x86_64
>>
>>    9/13
>>   Installing : 1:rubygem-sinatra-1.0-2.el6.centos.alt.noarch
>>
>>    10/13
>>   Installing : rubygem-sqlite3-ruby-1.2.4-5.el6.centos.alt.x86_64
>>
>>   11/13
>>   Installing : opennebula-ruby-3.8.1-2.5.x86_64
>>
>>   12/13
>>   Installing : opennebula-sunstone-3.8.1-2.5.x86_64
>>
>>   13/13
>>
>> Installed:
>>   opennebula-sunstone.x86_64 0:3.8.1-2.5
>>
>>
>>
>> Dependency Installed:
>>   libxslt.x86_64 0:1.1.26-2.el6_3.1
>>      opennebula-ruby.x86_64 0:3.8.1-2.5
>>
>>   rubygem-daemons.noarch 0:1.0.10-2.el6.centos.alt
>>       rubygem-eventmachine.x86_64 0:0.12.10-4.el6.centos.alt
>>
>>   rubygem-json.x86_64 0:1.4.6-1.el6.centos.alt
>>       rubygem-nokogiri.x86_64 0:1.4.3.1-1.el6.centos.alt
>>
>>   rubygem-sequel.noarch 0:3.31.0-12.el6.centos.alt
>>       rubygem-sinatra.noarch 1:1.0-2.el6.centos.alt
>>
>>   rubygem-sqlite3-ruby.x86_64 0:1.2.4-5.el6.centos.alt
>>       rubygem-thin.x86_64 0:1.2.8-4.el6.centos.alt
>>
>>   rubygem-uuidtools.noarch 0:2.1.1-1.el6.centos.alt
>>
>>
>> Failed:
>>   opennebula-common.x86_64 0:3.8.1-2.5
>>
>> Simon
>>
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121203/f9a729b0/attachment-0002.htm>


More information about the Users mailing list