Bug 770927
| Summary: | fails to create nova user due missing fuse group | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ilkka Tengvall <ikke> |
| Component: | openstack-nova | Assignee: | Mark McLoughlin <markmc> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | akscram, alexander.sakhnov, asalkeld, bfilippov, jonathansteffan, markmc, matt_domsch, mlvov, p, rbryant, rkukura |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2011.3-14.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-02 21:52:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
after I manually added group fuse, it reinstalled without errors and finally nova services started: for svc in api objectstore compute network volume scheduler; do sudo service openstack-nova-$svc start; done openstack-nova-2011.3-14.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/openstack-nova-2011.3-14.fc16 Package openstack-nova-2011.3-14.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openstack-nova-2011.3-14.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-17568/openstack-nova-2011.3-14.fc16 then log in and leave karma (feedback). Thanks, I tested this, it fixes the problem. I left the karma, and the package wandered to stable updates. openstack-nova-2011.3-14.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: It seems the latest rawhide rpm fails to create the user for nova, this might be the reason my nova won't start. Package fuse doesn't create group fuse any longer as maybe expected. Version-Release number of selected component (if applicable): openstack-nova-2011.3-13.fc17.noarch fuse-2.8.6-1.fc17.x86_64 fedora 16 with openstack from rawhide How reproducible: every time Steps to Reproduce: 1. yum install --enablerepo rawhide openstack-nova 2. grep nova /etc/passwd 3. Actual results: no user nova gets created Expected results: user nova should be created Additional info: yum output: -------------------------------- [root@blade5 ~]# rpm -q openstack-nova openstack-nova-2011.3-13.fc17.noarch [root@blade5 ~]# yum reinstall --enablerepo rawhide openstack-nova Loaded plugins: langpacks, presto, refresh-packagekit Setting up Reinstall Process Resolving Dependencies --> Running transaction check ---> Package openstack-nova.noarch 0:2011.3-13.fc17 will be reinstalled ..... openstack-nova-2011.3-13.fc17.noarch.rpm | 59 kB 00:00 Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Installing : openstack-nova-2011.3-13.fc17.noarch 1/1 useradd: group 'fuse' does not exist warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root warning: user nova does not exist - using root Installed: openstack-nova.noarch 0:2011.3-13.fc17 Complete! [root@blade5 ~]# grep nova /etc/passwd [root@blade5 ~]# -------------------------------- the test is such in the .spec: -------------------------------- getent group nova >/dev/null || groupadd -r nova --gid 162 if ! getent passwd nova >/dev/null; then useradd -u 162 -r -g nova -G nova,nobody,qemu,fuse -d %{_sharedstatedir}/nova -s /sbin/nologin -c "OpenStack Nova D aemons" nova else usermod -a -G fuse nova fi -------------------------------- and this is the result on command line for the test: -------------------------------- [root@blade5 ~]# getent passwd root &> /dev/null; echo $? 0 [root@blade5 ~]# getent passwd nova &> /dev/null; echo $? 2 [root@blade5 ~]# rpm -q fuse fuse-2.8.6-1.fc17.x86_64 [root@blade5 ~]# getent group fuse [root@blade5 ~]# --------------------------------