Activity log for bug #1045358

Date Who What changed Old value New value Message
2012-09-03 14:26:17 Mate Lakat bug added bug
2012-09-03 14:26:25 Mate Lakat devstack: assignee Mate Lakat (mate-lakat)
2012-09-03 15:36:39 OpenStack Infra devstack: status New In Progress
2012-09-03 20:52:25 Mate Lakat 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@DevStackOSDomU:~$ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric DISTRIB_DESCRIPTION="Ubuntu 11.10" stack@DevStackOSDomU:~$ ls -la /etc/tgt/ 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 stack@DevStackOSDomU:~$ cat /etc/tgt/targets.conf # Empty targets configuration file -- please see the package # documentation directory for an example. The exercise.sh shows this error, but stack.sh is not failing: ... + return 0 + [[ deb = \d\e\b ]] + [[ ! -f /etc/tgt/conf.d/cinder.conf ]] + sudo tee /etc/tgt/conf.d/cinder.conf + echo 'include /opt/stack/cinder/volumes/*' tee: /etc/tgt/conf.d/cinder.conf: No such file or directory include /opt/stack/cinder/volumes/* + sudo stop tgt stop: Unknown instance: + true + sudo start tgt ... 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@DevStackOSDomU:~$ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric DISTRIB_DESCRIPTION="Ubuntu 11.10" stack@DevStackOSDomU:~$ ls -la /etc/tgt/ 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@DevStackOSDomU:~$ cat /etc/tgt/targets.conf # 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/conf.d/cinder.conf ]] + sudo tee /etc/tgt/conf.d/cinder.conf + echo 'include /opt/stack/cinder/volumes/*' tee: /etc/tgt/conf.d/cinder.conf: No such file or directory include /opt/stack/cinder/volumes/* + sudo stop tgt stop: Unknown instance: + true + sudo start tgt ...
2012-09-12 17:03:23 OpenStack Infra devstack: status In Progress Fix Released