Bug 1624411
| Summary: | Unable to start service virtualbmc@compute_0 with virtualbmc>=1.4 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Bob Fournier <bfournie> |
| Component: | python-virtualbmc | Assignee: | Ilya Etingof <ietingof> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 14.0 (Rocky) | CC: | bfournie, dtantsur, ietingof, jschluet, lmarsh, sasha |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 14.0 (Rocky) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-virtualbmc-1.4.0-0.20180903195742.4e6e901.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
During package installation, a bug in the RPM spec for the virtualbmc package caused special users or groups that run the virtualbmc service to not be created. This update fixes the RPC spec to ensure successful user management operations. The virtualbmc service can be successfully started upon package installation.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-11 11:51:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Update: with the latest versions of the linked patches, vbmc issues seem to be resolved. Update: RDO & tripleo-quickstart patches have been merged. Infrared patch has been proposed. Infrared patch has been merged. \o/ > Infrared patch has been merged. \o/
Great! Do the patches
Moving to POST until patches are in a puddle. Verified:
Environment:
python2-virtualbmc-1.4.0-0.20180903195742.4e6e901.el7ost.noarch
root@sealusa34 ~]# yum install python2-virtualbmc
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
rhelosp-14.0-image-build-override | 2.9 kB 00:00:00
rhelosp-14.0-optools-puddle | 1.2 kB 00:00:00
rhelosp-14.0-puddle | 1.3 kB 00:00:00
rhelosp-rhel-7.5-extras | 3.4 kB 00:00:00
rhelosp-rhel-7.5-ha | 3.4 kB 00:00:00
rhelosp-rhel-7.5-image-build-override | 2.9 kB 00:00:00
rhelosp-rhel-7.5-server | 3.5 kB 00:00:00
rhos-release | 2.9 kB 00:00:00
rhos-release-extras | 2.9 kB 00:00:00
(1/3): rhelosp-14.0-puddle/x86_64/primary | 232 kB 00:00:00
(2/3): rhelosp-rhel-7.5-server/x86_64/updateinfo | 2.9 MB 00:00:01
(3/3): rhelosp-rhel-7.5-server/x86_64/primary_db | 50 MB 00:00:22
rhelosp-14.0-puddle 850/850
Resolving Dependencies
--> Running transaction check
---> Package python2-virtualbmc.noarch 0:1.4.0-0.20180903195742.4e6e901.el7ost will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
python2-virtualbmc noarch 1.4.0-0.20180903195742.4e6e901.el7ost rhelosp-14.0-puddle 37 k
Transaction Summary
==============================================================================================================================================================================================
Install 1 Package
Total download size: 37 k
Installed size: 110 k
Is this ok [y/d/N]: y
Downloading packages:
python2-virtualbmc-1.4.0-0.20180903195742.4e6e901.el7ost.noarch.rpm | 37 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python2-virtualbmc-1.4.0-0.20180903195742.4e6e901.el7ost.noarch 1/1
Verifying : python2-virtualbmc-1.4.0-0.20180903195742.4e6e901.el7ost.noarch 1/1
Installed:
python2-virtualbmc.noarch 0:1.4.0-0.20180903195742.4e6e901.el7ost
Complete!
[root@sealusa34 ~]# systemctl start virtualbmc
[root@sealusa34 ~]# systemctl status virtualbmc
● virtualbmc.service - Virtual Baseboard Management Controller Emulation service
Loaded: loaded (/etc/systemd/system/virtualbmc.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2018-10-18 11:24:39 EDT; 1ms ago
Main PID: 71303 ((python))
Tasks: 0
CGroup: /system.slice/virtualbmc.service
Oct 18 11:24:39 sealusa34.mobius.lab.eng.rdu2.redhat.com systemd[1]: Started Virtual Baseboard Management Controller Emulation service.
Oct 18 11:24:39 sealusa34.mobius.lab.eng.rdu2.redhat.com systemd[1]: Starting Virtual Baseboard Management Controller Emulation service...
This bug actually covers at least two bugs: one in virtualbmc service packaging and the other in tripleo quickstart playbook (affecting virtualbmc-based undercloud). I've proposed a doctext for the first bug. Let me know if you think we should also document the other bug. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045 |
Description of problem: With the new virtualbmc 1.4 package different setup steps are required. Installing it can result in error like the following: TASK [virtbmc : Create VirtualBMC directories (virtualbmc >= 1.4.0)] ********************************************************************************************************************************************** task path: /home/cgoncalves/dev/repos/openstack/tripleo-quickstart/roles/virtbmc/tasks/configure-vbmc.yml:24 Friday 31 August 2018 11:53:04 +0200 (0:00:00.070) 0:07:20.057 ********* failed: [undercloud] (item=/etc/virtualbmc) => {"changed": false, "gid": 0, "group": "root", "item": "/etc/virtualbmc", "mode": "0755", "msg": "chown failed: failed to look up user virtualbmc", "owner": "root", "path": "/etc/virtualbmc", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0} failed: [undercloud] (item=/var/log/virtualbmc) => {"changed": false, "gid": 0, "group": "root", "item": "/var/log/virtualbmc", "mode": "0755", "msg": "chown failed: failed to look up user virtualbmc", "owner": "root", "path": "/var/log/virtualbmc", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0}