oneiric: cinder fails due to targets configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Mate Lakat |
Bug Description
If you install DevStack on the top of an oneiric, volume operations will fail. It is happening, because oneiric is not using the conf.d approach for targets:
stack@DevStackO
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
stack@DevStackO
total 12
drwxr-xr-x 2 root root 4096 2012-09-03 14:02 .
drwxr-xr-x 95 root root 4096 2012-09-03 14:09 ..
-rw-r--r-- 1 root root 103 2011-08-08 09:10 targets.conf
Note: There is not conf.d directory!
stack@DevStackO
# Empty targets configuration file -- please see the package
# documentation directory for an example.
Note: No inclusion of /etc/tgt/conf.d (of course)
BUT: cinder expects the conf.d approach!
The exercise.sh shows this error, but stack.sh is not failing:
...
+ return 0
+ [[ deb = \d\e\b ]]
+ [[ ! -f /etc/tgt/
+ sudo tee /etc/tgt/
+ echo 'include /opt/stack/
tee: /etc/tgt/
include /opt/stack/
+ sudo stop tgt
stop: Unknown instance:
+ true
+ sudo start tgt
...
Changed in devstack: | |
assignee: | nobody → Mate Lakat (mate-lakat) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/12321
Review: https:/