390 Commits

Author SHA1 Message Date
Jenkins
e0ed68f51f Merge "Move Nova to lib/nova" 2012-09-28 21:11:35 +00:00
Dean Troyer
bf67c19c30 Move Nova to lib/nova
The next in a line of changes to break down stack.sh and make
it a bit more manageable.

Part of blueprint devstack-modular

Change-Id: I3fae739996aad0b340dae72ef51acd669a3ab893
2012-09-27 17:21:50 -05:00
Eoghan Glynn
ad80eadb08 Config for ceilometer gathering from glance
Some changes are required so that ceilometer can gather usage data
from glance (notification & polling) out-of-the-box in devstack:

 - configure glance to emit notifications if rabbitmq or qpid
   is enabled

 - configure the ceilometer collector to consume notifications
   on the default glance topic (glance_notifications.*)

 - pass credentials to ceilometer central agent so that it
   authtenticate polling calls to glance

Change-Id: I0eac223eddb615266e28447b18fcaaadcd40dddf
2012-09-27 17:55:37 +01:00
Eoghan Glynn
c6cc585f97 Ensure correct cinder dir is written to tgt config
The wrong directory was being placed in the tgtd config.

This change will allow https://review.openstack.org/13633 to gate.

Change-Id: Icbf7b5ecc9bc53ccc2aed0cacb9f5f61abe8f882
2012-09-25 18:16:59 +01:00
Jenkins
8ca43bacc4 Merge "Implement screen process stop() function" 2012-09-24 20:33:17 +00:00
Doug Hellmann
c5259b4ab5 Fix test for creating ceilometer conf dir
Fix the test run before the ceilometer configuration
directory is created so that the dir is made if
it does not exist.

Change-Id: I2d6acd4fe7959f976ce99582aed69a49fc3f212e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-09-22 10:52:31 -04:00
Dean Troyer
699a29f72d Implement screen process stop() function
Implements screen process stop in ceilometer, cinder, glance, heat, n-vol

Change-Id: Ic5e02926f026d0e6f4b39846bfe77634dd414c60
2012-09-21 14:02:38 -05:00
Dean Troyer
73f6f25b87 Move glance to lib/glance
The next in a line of changes to break down stack.sh and make
it a bit more manageable.

Part of blueprint devstack-modular

Change-Id: Ie0104f0de281497f2c10f653aebb8e7cbedc4204
2012-09-18 15:46:09 -05:00
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
Surya Prabhakar
31d31855fe Adding ceilometer-api for devstack
unable to use ubuntu repos(apt) since they were having previous
Flask version. Adding it in files/pips/ceilometer-api

Change-Id: Ia397468eacd3cd2b4233617e1ffeb763ac207478
2012-09-17 20:25:41 +05:30
Jenkins
6cab01c01f Merge "Move Glance data and Nova state dirs out of source dir" 2012-09-14 20:35:29 +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
Jenkins
c36d1926ff Merge "heat had it's api split into two binaries (cfn & cloudwatch)" 2012-09-13 14:45:38 +00:00
Jenkins
ed0fa69ee3 Merge "Change default keystone backend to sql" 2012-09-13 03:49:09 +00:00
Jenkins
eff0c6cf19 Merge "Make sure tgt is using config.d approach" 2012-09-12 17:03:21 +00:00
Angus Salkeld
e279021010 heat had it's api split into two binaries (cfn & cloudwatch)
- Rename heat-api to heat-api-cfn
- Add heat-api-cloudwatch
- Also removed unused heat-engine-paste.ini file.
- Fix the path to the conf dir (etc/heat not etc/)

Change-Id: I9b2c7c5cd7052d5eb6d730833c65812c2f8a0ee1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-09-11 11:24:09 +10:00
Dean Troyer
b80379c3fc Change default keystone backend to sql
The templated backend for Keystone is limited and does not support the
CRUD operations so does not fully exercise the Identity API.  Change
the default to SQL but leave the templated back-end in place for now.

Set KEYSTONE_CATALOG_BACKEND=template in localrc to restore the old
behaviour.

Change-Id: Id4490194d49b8004583016a9666cb9439cd4700a
2012-09-10 18:57:05 -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
Dean Troyer
d81a0274aa Move keystone to lib/keystone
The next in a line of changes to break down stack.sh and make
it a bit more manageable.

Part of blueprint devstack-modular

Change-Id: I40405af07b776f045d6bf801f7e4f1ad863139ae
2012-09-09 18:54:42 -05:00
Jenkins
3ceb380012 Merge "Devstack support for Quantum L3 agent" 2012-09-09 04:58:37 +00:00
Jenkins
55abd53074 Merge "Move nova volumes to lib/n-vol" 2012-09-07 20:38:33 +00:00
Salvatore Orlando
d6767d0d45 Devstack support for Quantum L3 agent
Fixes bug #1036910

Starts the L3 agent for Quantum, if the corresponding service is enabled.
Supports L3 agent with or without namespaces.
Available with openvswitch plugin only at this time.

Change-Id: Ic2dd7a2d32e985c5df0a94eee1ecb602f555cd14
2012-09-06 21:54:07 -07:00
Dean Troyer
1de40cf691 Fix start_XXXX function header
Change-Id: I14e1f80d327e723408993a955d9fce9501ba8ef5
2012-09-04 14:19:24 -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
Dean Troyer
5bf7d5ccb2 Move nova volumes to lib/n-vol
The next in a line of changes to break down stack.sh and make
it a bit more manageable.

Part of blueprint devstack-modular

Change-Id: I9f7ba23391851959412779f842934f5b26724713
2012-08-31 08:39:13 -05:00
Dean Troyer
05f23656d0 Add lib/template
Add a template for the lib/* sub-scripts and a description
to HACKING.

Change-Id: Ia490de8e565982c517525e09d8941a847ba530aa
2012-08-29 17:28:14 -05:00
Jenkins
5090fffa8b Merge "Add support to optionally launch the heat service." 2012-08-28 19:35:13 +00:00
Steve Baker
bfdad75eda Add support to optionally launch the heat service.
This allows the heat service to be started as a devstack service.

Heat is disabled by default, and can be enabled with this in your localrc:
ENABLED_SERVICES+=,heat

There is now a repo of heat-enabled images here:
https://github.com/heat-api/prebuilt-jeos-images/downloads

These can be added to the IMAGE_URLS in your localrc.

After devstack is launched, a template can be invoked with:
nova keypair-add --pub_key $HOME/.ssh/id_rsa.pub heat_key
heat -d create wordpress \
--template-file=../heat/templates/WordPress_Single_Instance.template \
--parameters="InstanceType=m1.tiny;DBUsername=wpuser;DBPassword=wppassword;\
KeyName=heat_key;LinuxDistribution=F16"

Change-Id: I07591295eb2b9eb7868b1577dd3c24b19812a689
2012-08-22 17:02:21 +12: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
Jenkins
555767abbf Merge "Add ceilometer" 2012-08-17 14:58:15 +00: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
John H. Tran
93361643c6 Add ceilometer
Implements bug 1023972. Add mongodb and pymongo installation.

Change-Id: I631dc8a37f3269e55112ec5a5f375d3a2fd3a604
2012-08-14 13:29:22 -07: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