devstack clone cinder error No suitable rootwrap found

Bug #1268646 reported by Michael Denny
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Unassigned

Bug Description

new ubuntu 12.04.3 image and fresh devstack cloning cinder fails with following error

2014-01-10 12:51:16 + CINDER_ROOTWRAP=/usr/local/bin/cinder-rootwrap
2014-01-10 12:51:16 + [[ ! -x /usr/local/bin/cinder-rootwrap ]]
2014-01-10 12:51:16 ++ get_rootwrap_location oslo
2014-01-10 12:51:16 ++ local module=oslo
2014-01-10 12:51:16 +++ get_python_exec_prefix
2014-01-10 12:51:16 +++ is_fedora
2014-01-10 12:51:16 +++ [[ -z Ubuntu ]]
2014-01-10 12:51:16 +++ '[' Ubuntu = Fedora ']'
2014-01-10 12:51:16 +++ '[' Ubuntu = 'Red Hat' ']'
2014-01-10 12:51:16 +++ '[' Ubuntu = CentOS ']'
2014-01-10 12:51:16 +++ is_suse
2014-01-10 12:51:16 +++ [[ -z Ubuntu ]]
2014-01-10 12:51:16 +++ '[' Ubuntu = openSUSE ']'
2014-01-10 12:51:16 +++ '[' Ubuntu = 'SUSE LINUX' ']'
2014-01-10 12:51:16 +++ echo /usr/local/bin
2014-01-10 12:51:16 ++ echo /usr/local/bin/oslo-rootwrap
2014-01-10 12:51:16 + CINDER_ROOTWRAP=/usr/local/bin/oslo-rootwrap
2014-01-10 12:51:16 + [[ ! -x /usr/local/bin/oslo-rootwrap ]]
2014-01-10 12:51:16 + die 180 'No suitable rootwrap found.'
2014-01-10 12:51:16 + local exitcode=0
2014-01-10 12:51:16 + set +o xtrace
2014-01-10 12:51:16 [Call Trace]
2014-01-10 12:51:16 ./stack.sh:686:configure_cinder
2014-01-10 12:51:16 /home/stack/devstack/lib/cinder:180:die
2014-01-10 12:51:16 [ERROR] /home/stack/devstack/lib/cinder:180 No suitable rootwrap found.

Both cinder and olso rootwrapper not found, yet devstack should install one before stack.sh tries to use them
missing both
/usr/local/bin/cinder-rootwrap
/usr/local/bin/oslo-rootwrap

Revision history for this message
Thierry Carrez (ttx) wrote :

It's weird because https://review.openstack.org/#/c/62003 just adds failure in case no rootwrap is found, shouldn't affect what gets installed.

Revision history for this message
Benoit Sigoure (tsunanet) wrote :

Just hit the same thing on a fresh Ubuntu 12.04 install. Any known workaround?

Revision history for this message
Michael Denny (michael-denny) wrote :

Workaround for now is to install oslo.rootwrap manually amd restack
sudo pip install oslo.rootwrap

Revision history for this message
Benoit Sigoure (tsunanet) wrote :

FWIW I just realized that the install of cinder was silently failing because of some locale error. It's annoying that there are various kinds of failures that are silently ignored by devstack. Sorry I didn't comb through the log file better earlier...

Revision history for this message
Benoit Sigoure (tsunanet) wrote :

For the records my workaround was to do
  unset LANG
  unset LC_CTYPE
before running ./stack.sh

Revision history for this message
Michael Denny (michael-denny) wrote : RE: [Bug 1268646] Re: devstack clone cinder error No suitable rootwrap found

Hello,

Workaround for cinder clone
sudo pip install oslo.rootwrap

Still having glance issues.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Benoit Sigoure
Sent: Monday, January 13, 2014 2:43 PM
To: Denny, Michael James
Subject: [Bug 1268646] Re: devstack clone cinder error No suitable rootwrap found

Just hit the same thing on a fresh Ubuntu 12.04 install. Any known workaround?

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1268646

Title:
  devstack clone cinder error No suitable rootwrap found

Status in devstack - openstack dev environments:
  New

Bug description:
  new ubuntu 12.04.3 image and fresh devstack cloning cinder fails with
  following error

  2014-01-10 12:51:16 + CINDER_ROOTWRAP=/usr/local/bin/cinder-rootwrap
  2014-01-10 12:51:16 + [[ ! -x /usr/local/bin/cinder-rootwrap ]]
  2014-01-10 12:51:16 ++ get_rootwrap_location oslo
  2014-01-10 12:51:16 ++ local module=oslo
  2014-01-10 12:51:16 +++ get_python_exec_prefix
  2014-01-10 12:51:16 +++ is_fedora
  2014-01-10 12:51:16 +++ [[ -z Ubuntu ]]
  2014-01-10 12:51:16 +++ '[' Ubuntu = Fedora ']'
  2014-01-10 12:51:16 +++ '[' Ubuntu = 'Red Hat' ']'
  2014-01-10 12:51:16 +++ '[' Ubuntu = CentOS ']'
  2014-01-10 12:51:16 +++ is_suse
  2014-01-10 12:51:16 +++ [[ -z Ubuntu ]]
  2014-01-10 12:51:16 +++ '[' Ubuntu = openSUSE ']'
  2014-01-10 12:51:16 +++ '[' Ubuntu = 'SUSE LINUX' ']'
  2014-01-10 12:51:16 +++ echo /usr/local/bin
  2014-01-10 12:51:16 ++ echo /usr/local/bin/oslo-rootwrap
  2014-01-10 12:51:16 + CINDER_ROOTWRAP=/usr/local/bin/oslo-rootwrap
  2014-01-10 12:51:16 + [[ ! -x /usr/local/bin/oslo-rootwrap ]]
  2014-01-10 12:51:16 + die 180 'No suitable rootwrap found.'
  2014-01-10 12:51:16 + local exitcode=0
  2014-01-10 12:51:16 + set +o xtrace
  2014-01-10 12:51:16 [Call Trace]
  2014-01-10 12:51:16 ./stack.sh:686:configure_cinder
  2014-01-10 12:51:16 /home/stack/devstack/lib/cinder:180:die
  2014-01-10 12:51:16 [ERROR] /home/stack/devstack/lib/cinder:180 No suitable rootwrap found.

  Both cinder and olso rootwrapper not found, yet devstack should install one before stack.sh tries to use them
  missing both
  /usr/local/bin/cinder-rootwrap
  /usr/local/bin/oslo-rootwrap

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1268646/+subscriptions

Revision history for this message
Dean Troyer (dtroyer) wrote :

It looks like https://review.openstack.org/#/c/62691/ should have addressed this bug...reopen if that is not the case.

Changed in devstack:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.