314 Commits

Author SHA1 Message Date
Dean Troyer
7903b795dd Add non-verbose output mode
Set VERBOSE=False to turn off the noise of stack.sh output.  All
output still is written to the logfile if LOGFILE is set.

Rebased

Change-Id: I316bc4d68c997ec907a48e720e2f7778428d935b
2012-09-17 19:38:23 +00:00
Dean Troyer
50ac792157 Move Glance data and Nova state dirs out of source dir
* allow NOVA_STATE_PATH to be overridden,
  default is now /opt/stack/data/nova
* add NOVA_INSTANCES_PATH to move the instances dir separately
  from the state dir
* allow GLANCE_CACHE_DIR to be overridden,
  default is now /opt/stack/data/glance/cache
* allow GLANCE_IMAGE_DIR to be overridden,
  default is inow /opt/stack/data/glance/images
* set GLANCE_BIN_DIR to support entry points (future)
* allow CINDER_STATE_PATH to be overridden,
  default is now /opt/stack/data/cinder

Change-Id: If95dc19b957ef5b9b14397835cd0543f82717f50
2012-09-13 14:49:45 -05:00
Mate Lakat
a39caacad3 Make sure tgt is using config.d approach
Fixes bug 1045358.

On ubuntu Oneiric, the tgt configuration was not using the config.d
approach. tgt was unable to find the config files, so no volumes could
be created. This fix makes sure, that the config.d directory is there,
and the configuration includes files from there.

Was Cinder only, added same fix for Nova volumes

Change-Id: I6752cb628dd22e91e640f0f584fafefa4cd6d0f1
2012-09-09 19:03:46 -05:00
ewindisch
3bae7c2c61 Add ZeroMQ RPC backend
Now prevents more than one RPC backend selection.
(ZeroMQ, Qpid, and Rabbit are mutually exclusive)

Configure quantum and cinder to use ZeroMQ

Adds qpid to cinder config.

Change-Id: I229c4c632213a303d097d4a029e986598073665a
2012-08-31 10:59:43 -04:00
John Griffith
43bedda56c Add standard extensions to cinder.conf
* Set the standard extensions in the default cinder.conf file

Change-Id: Ib56f38b61a7a95b313031bf60bff005b17b888c4
2012-08-21 17:03:40 -06:00
Monty Taylor
9fbeeddc3b Support the possibility of using entry-points.
If console scripts are generated via entry-points, they will go into
/usr/local/bin on python setup.py develop and they will not be found in
/opt/stack/$PROJECT/bin any more. This patch supports a transition to
entry-points console scripts, but should still allow the old thing too.

Change-Id: I816f5f796ad00ac55a8352743ba01723df140072
2012-08-17 19:04:54 -04:00
Chmouel Boudjnah
1057bffa37 Add log colouring to cinder.
- based on vish's log coulouring version for nova.

Change-Id: I9d4251b4292188c0174ebac1dcd98318df44c0e3
2012-08-16 17:53:52 +00:00
Gary Kotton
f71bf1929c Enable cinder to work with qpid
Fixes bug 1033544

Change-Id: I015f61e8eb3612f970b4acfa3930a2f61c6c216c
2012-08-06 11:16:16 -04:00
Chuck Short
3f603d93c8 Setup tgtd configuration files
Setup devstack to use tgtd confiuration files.

Change-Id: Icb2a1a0c5ca517604f9a3930e7c89e3be9a36b0c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012-07-31 15:50:58 -05:00
John Griffith
4e823ff4ad Add Cinder to ROOTWRAP_SUDOERS
* Perform operations in lib/cinder
 * Use specific cidner-rootwrap file
 * Add root_helper to cinder.conf

Change-Id: Ibcae8bae2d06c9cbb4c41c39791e8dbdc8bbb0ac
2012-07-20 15:06:27 -06:00
Jenkins
026f85bb84 Merge "2.5x increase in default volume backing file size" 2012-07-19 16:54:40 +00:00
Eoghan Glynn
9cb1776a92 2.5x increase in default volume backing file size
The current default volume backing file size of ~2Gb seem unfeasibly
small and precludes running exercises that require multiple volumes
and/or snapshots to be created.

We increase this to ~5Gb.

Change-Id: Id6b8d122be919d1b0041288e81b735af21958ff7
2012-07-19 12:40:16 +01:00
Vincent Untz
0230aa899b Start tgtd service after installing the rpm
The later call to tgtadm needs the daemon to be running, and the rpm
package doesn't start it.

Rebased and add a corresponding change for cinder.

Change-Id: Ia72b935575ed8b7c635e8f8edeea835754b2d49f
2012-07-17 12:22:37 -05:00
Dean Troyer
67787e6b4c Add cinder support
* using the new functional pattern: cinder_XXX functions are in
  lib/cinder
* enable with 'c-api,c-sch,c-vol' in ENABLED_SERVICES, n-vol is still the default
* exercises/volumes.sh runs for cinder and n-vol
* move config to /etc/cinder
* change volume_group to stack-volumes; this also renames the backing file
  to /opt/stack/data/stack-volumes-backing-file.
* removes osapi_volume from nova.conf enabled_apis
* integrates cinder + keystone
* launches c-sch
* tweaks for multi node
* move enabled_apis substitution to init_cinder

18Jun2010
* restored & rebased
* update setup.py to use setup_develop() in lib/cinder

Change-Id: I1e1aa4387031c56e4fa239eb73bea2af8cef0e38
2012-06-20 14:11:19 -06:00