Description of problem: Because of ovirt-node's readonly filesystem, directory creation at runtime has to be handled carefully. /rhev/data-center used to be created by the vdsm rpm when it is installed. It's now listed in vdsm.spec as %ghost which means it is *not* laid down by default. At runtime, it fails to be created because of the read-only filesystem. Version-Release number of selected component (if applicable): 4.10.0-1 How reproducible: Always (on ovirt-node) Steps to Reproduce: 1.install node 2.register to engine 3.try to approve Actual results: fails Expected results: approval works correctly Additional info: Regression introduced by commit ee1e68d3416d8fd728df75c0a41dd3db48f9138d
Two possible fixes for this: Option 1: in vdsm.spec.in: diff --git a/vdsm.spec.in b/vdsm.spec.in index a2ab784..4dabd8a 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -473,7 +473,7 @@ exit 0 /lib/systemd/systemd-vdsmd %{_unitdir}/vdsmd.service %endif -%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@ +%dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@ %ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@/hsm-tasks %ghost %dir %attr(-, %{vdsm_user} Option 2: change entry in rwtab.d/vdsm from /rhev/data-center to /rhev Both solutions should solve the problem
Thanks Mike!!! Here your patch in gerrit: http://gerrit.ovirt.org/#/c/5379/
In the ovirt-3.1 branch as: 013b2208f20d1b7ce0b894fc54a41980c0afc62f
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/