Impossible to run cinder-volume from folsom testing packages or archive
Bug #1045438 reported by
Emilien Macchi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinder (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned |
Bug Description
Using Folsom testing packages [1], cinder.conf with default values has an error :
rootwrap_config = sudo /usr/bin/
You need to modify with :
rootwrap_config = /etc/cinder/
And it's working !
[1] https:/
summary: |
- Impossible tun run cinder-volume from Folsom Testing Packages + Impossible to run cinder-volume from Folsom Testing Packages |
Changed in cinder: | |
status: | New → Triaged |
Changed in cinder (Ubuntu Quantal): | |
status: | Triaged → Fix Committed |
no longer affects: | cinder |
To post a comment you must log in.
Unexpected error while running command. cinder- rootwrap /etc/cinder/ rootwrap. conf vgs --noheadings -o name cinder- rootwrap: Incorrect configuration file: sudo /usr/sbin/ cinder- rootwrap /etc/cinder/ rootwrap. conf\n' cinder- volume" , line 48, in <module> python2. 7/dist- packages/ cinder/ service. py", line 422, in wait python2. 7/dist- packages/ cinder/ service. py", line 127, in wait python2. 7/dist- packages/ eventlet/ greenthread. py", line 166, in wait event.wait( ) python2. 7/dist- packages/ eventlet/ event.py" , line 116, in wait hub().switch( ) python2. 7/dist- packages/ eventlet/ hubs/hub. py", line 177, in switch switch( ) python2. 7/dist- packages/ eventlet/ greenthread. py", line 192, in main python2. 7/dist- packages/ cinder/ service. py", line 88, in run_server python2. 7/dist- packages/ cinder/ service. py", line 159, in start init_host( ) python2. 7/dist- packages/ cinder/ volume/ manager. py", line 92, in init_host check_for_ setup_error( ) python2. 7/dist- packages/ cinder/ volume/ driver. py", line 109, in check_for_ setup_error python2. 7/dist- packages/ cinder/ utils.py" , line 228, in execute nError: Unexpected error while running command. cinder- rootwrap /etc/cinder/ rootwrap. conf vgs --noheadings -o name cinder- rootwrap: Incorrect configuration file: sudo /usr/sbin/ cinder- rootwrap /etc/cinder/ rootwrap. conf\n'
Command: sudo cinder-rootwrap sudo /usr/sbin/
Exit code: 97
Stdout: '/usr/bin/
Stderr: ''
2012-09-06 14:25:39 TRACE cinder Traceback (most recent call last):
2012-09-06 14:25:39 TRACE cinder File "/usr/bin/
2012-09-06 14:25:39 TRACE cinder service.wait()
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder _launcher.wait()
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder service.wait()
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder return self._exit_
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder return hubs.get_
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder return self.greenlet.
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder result = function(*args, **kwargs)
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder server.start()
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder self.manager.
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder self.driver.
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder run_as_root=True)
2012-09-06 14:25:39 TRACE cinder File "/usr/lib/
2012-09-06 14:25:39 TRACE cinder cmd=' '.join(cmd))
2012-09-06 14:25:39 TRACE cinder ProcessExecutio
2012-09-06 14:25:39 TRACE cinder Command: sudo cinder-rootwrap sudo /usr/sbin/
2012-09-06 14:25:39 TRACE cinder Exit code: 97
2012-09-06 14:25:39 TRACE cinder Stdout: '/usr/bin/
2012-09-06 14:25:39 TRACE cinder Stderr: ''
2012-09-06 14:25:39 TRACE cinder