[Rdo-list] devstack on F20 (cinder: No suitable rootwrap found)
Perry Myers
pmyers at redhat.com
Mon Dec 30 17:12:53 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/12/13 09:16, Flavio Percoco wrote:
> On 29/12/13 17:23 -0500, Perry Myers wrote:
>> It looks like devstack hasn't been completely vetted on F20 yet
>> (when I ran it it printed out a warning message and asked me to
>> override w/ FORCE=yes), but I went ahead and decided to try it
>> anyhow.
>>
>>> ++ get_rootwrap_location cinder ++ local module=cinder +++
>>> get_python_exec_prefix +++ is_fedora +++ [[ -z Fedora ]] +++
>>> '[' Fedora = Fedora ']' +++ echo /usr/bin ++ echo
>>> /usr/bin/cinder-rootwrap +
>>> CINDER_ROOTWRAP=/usr/bin/cinder-rootwrap + [[ ! -x
>>> /usr/bin/cinder-rootwrap ]] ++ get_rootwrap_location oslo ++
>>> local module=oslo +++ get_python_exec_prefix +++ is_fedora +++
>>> [[ -z Fedora ]] +++ '[' Fedora = Fedora ']' +++ echo /usr/bin
>>> ++ echo /usr/bin/oslo-rootwrap +
>>> CINDER_ROOTWRAP=/usr/bin/oslo-rootwrap + [[ ! -x
>>> /usr/bin/oslo-rootwrap ]] + die 180 'No suitable rootwrap
>>> found.' + local exitcode=0 + set +o xtrace [Call Trace]
>>> ./stack.sh:686:configure_cinder
>>> /home/admin/devstack/lib/cinder:180:die [ERROR]
>>> /home/admin/devstack/lib/cinder:180 No suitable rootwrap
>>> found.
>>
>> I looked further up in the stack and saw some compilation errors
>> related to some compilation that requires libxml2-devel and
>> libxslt-devel.
>>
>> Turned out that I didn't have libxslt-devel installed on the VM I
>> was running this on. Installed that, reran stack.sh and it
>> seemed to get further.
>>
>> Should we be checking for the presence of that package and
>> installing it in devstack if it is not already installed?
>
> This is weird, though. We have libxml2-devel as a 'general'
> dependency in devstack[0]. I checked and the package is still
> there. I'll give this a try on a fresh f20.
It wasn't libxml2-devel that was missing. It was libxslt-devel that
was missing.
Though I do see both libxml2-devel AND libxslt-devel in the general
dependencies list. I wonder why it's not being installed...
> +++ for line in '$(<${fname})' +++ [[ libxml2-devel # dist:rhel6
> [2] =~ NOPRIME ]] +++ package='libxml2-devel ' +++ inst_pkg=1 +++
> [[ libxml2-devel # dist:rhel6 [2] =~ (.*)#.*dist:([^ ]*) ]] +++
> package='libxml2-devel ' +++ distros=rhel6 +++ [[ ! rhel6 =~ f20
> ]] +++ inst_pkg=0 +++ [[ libxml2-devel # dist:rhel6 [2] =~
> (.*)#.*testonly.* ]] +++ [[ 0 = 1 ]] +++ for line in
> '$(<${fname})' +++ [[ libxslt-devel # dist:rhel6 [2] =~ NOPRIME ]]
> +++ package='libxslt-devel ' +++ inst_pkg=1 +++ [[ libxslt-devel #
> dist:rhel6 [2] =~ (.*)#.*dist:([^ ]*) ]] +++ package='libxslt-devel
> ' +++ distros=rhel6 +++ [[ ! rhel6 =~ f20 ]] +++ inst_pkg=0 +++ [[
> libxslt-devel # dist:rhel6 [2] =~ (.*)#.*testonly.* ]] +++ [[ 0 = 1
> ]]
Hm, it looks like it's not being installed because the dependency list
says:
libxml2-devel # dist:rhel6 [2]
libxslt-devel # dist:rhel6 [2]
And I think this means that these deps should only be installed on
rhel6 machines. Perhaps we need to remove dist:rhel6 from those lines?
> [0]
> https://github.com/openstack-dev/devstack/blob/master/files/rpms/general#L10
>
>
>
>> (fwiw, I don't have a clue as to why the failed gcc compile due
>> to missing devel libs would result in a missing cinder rootwrap,
>> perhaps someone can explain?) :)
>
> Oslo's incubator install failed because of the missing lxml
> dependency, which resulted in the oslo-rootwrap entry_point not
> being created. This caused cinder configuration process to fail
> after trying to use the not existent oslo-rootwrap bin.
Ah, thanks for the explanation :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlLBqZQACgkQxdKLkeZeTz2uIACbB6t+WsvSjNv/6ajvHH00stc8
9S4An0nKYRj2R4MuliJ2ikWRUCGRYw7I
=7nSQ
-----END PGP SIGNATURE-----
More information about the dev
mailing list