263 Commits

Author SHA1 Message Date
Brian Waldon
8263c22cd9 Add genisoimage as dependency
Fixes bug 1076854

Change-Id: I51cd293898f40edaf241a2fb7aff27e73f3a8e07
2012-11-08 19:39:03 -08:00
Tomoe Sugihara
ba05621c6f Add iputils-arping package for quantum l3 agent.
This is for Ubuntu only since arping command is
packeged in iputils on Fedora, which is already
in files/rpms/quantum.

Change-Id: I8318929fb35a12e0fb7a6a148d8ef0554cf3bc30
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
2012-11-08 14:15:05 +09:00
Jenkins
5fb0d0a7b6 Merge "Finish configuring ceilometer authentication" 2012-11-06 11:59:26 +00:00
Doug Hellmann
4a2b1c6611 Finish configuring ceilometer authentication
Copy the policy.json file for ceilometer into place
and configure the API service to find it.

Create a service user for ceilometer when the service
is enabled.

Use the service user for the admin_user and admin_password
in the ceilometer config file so the middleware can
verify tokens.

Change-Id: I39be13da0c86704d35e0ce3dc3d27fd38d787058
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-11-05 06:54:36 -05:00
Terry Wilson
428af5a257 Add PostgreSQL support to devstack
This patch adds an interface for supporting multiple database backend
types and implemnts support for PostgreSQL. It also adds a function,
use_exclusive_service, which serves as a base for enabling a service
that conflicts with other services. The use_database function uses it,
and it might also be useful for selecting messaging backends.

MySQL is still selected by default. Tested on Fedora 17 and Ubuntu
12.04 with MySQL and PostgreSQL. Implements blueprint postgresql-support

Change-Id: I4b1373e25676fd9a9809fe70cb4a6450a2479174
2012-11-03 18:19:21 -04:00
Julien Danjou
f36afe587b Add ceilometer-api to service catalog
This fixes bug #1060344

Change-Id: I0fee6b4660f564c4f8d62274ed52fa4b367f67da
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-10-24 14:01:13 +02:00
David Ripton
bbc54635c8 Install the python-netaddr package before we use it.
It's used if installed and not used if not installed, which is confusing.
So trying to install it should make things a bit less confusing.

It's available under the same name in both Fedora and Ubuntu.

Change-Id: I6785dd5e831e9cf2da2eae5b116a9f5859c68c6d
2012-10-22 09:41:32 -04:00
Jenkins
1f409a6bbb Merge "Add missing debian packages for quantum" 2012-10-20 21:32:07 +00:00
Vincent Untz
782c00b1f5 Add missing debian packages for quantum
The rpm list is more complete than the debian list, so complete the
debian one based on the rpm one.

Change-Id: I707a16d3d2646b4b3d0bc200fed62e5e6743c030
2012-10-20 16:38:17 +02:00
Yoshihiro Kaneko
602cf9bd68 Add support for the Quantum Ryu plugin.
This patch allows using the Quantum Ryu plugin.
Ryu plugin lets Quantum link Open vSwitch and Ryu OpenFlow controller[1].

Ryu OpenFlow controller is not Openstack component, but I added some
processing that is related with Ryu to stack.sh for the convenience of
the person who intend to try the plugin.

Instructions for using Ryu plugin:
1. Enable services: "q-svc", "q-agt", "q-dhcp", "q-l3", "quantum", "ryu"
2. Set Q_PLUGIN to "ryu"
3. Set an internal network interface name to connect br-int on plural
   hosts to RYU_INTERNAL_INTERFACE (optional)

Example localrc:
  disable_service n-net
  enable_service q-svc q-agt q-dhcp q-l3 quantum ryu
  Q_PLUGIN=ryu
  RYU_INTERNAL_INTERFACE=eth1

[1] http://osrg.github.com/ryu/

Change-Id: Ic1da132fa421f1c70c10a319ee3239831b0f956f
2012-10-19 07:00:32 +00:00
Jenkins
eccaa80ba8 Merge "Configure and launch Heat REST API." 2012-10-10 20:52:09 +00:00
James E. Blair
9dae3bd1e5 Change mysql -> mysql-server in quantum.
There is no package called mysql in precise.

Change-Id: If047cb8d03f51c2f56e5da43573af596a8aca367
2012-10-09 17:54:48 -07:00
Steve Baker
bb421bed58 Configure and launch Heat REST API.
This is a REST API in the same style as other OpenStack APIs.

This also creates a new endpoint for the REST API which uses the
serivce type 'orchestration'. The old endpoint now has the service
type 'cloudformation'.

This matches the pattern where the native openstack API gets a
generic service type while the emulated EC2 API gets a specific
type (eg, object-store, s3).

There will be breakage for the time period where only one of this
change and https://review.openstack.org/#/c/14263/ are approved,
since keystone will have the incorrect service type for that period.

Change-Id: I6a0d51a63da8017d375b4c065c4c9079dfca8fe3
2012-10-10 13:32:16 +13:00
Dean Troyer
1b23d7cd6e Update horizon config to current example from horizon repo
includes https://review.openstack.org/14048

Change-Id: I49952dd34408d2e94bcecd9063c21633f4139a99
2012-10-04 13:53:45 -05:00
Steve Baker
36cf7ee141 Fix the variable used for the service_id of the heat endpoint
Change-Id: I0c8190713722e3bcef19e94629d4f0d4fbfaa8fa
2012-09-18 08:26:23 +12:00
Jenkins
d85135ee40 Merge "Changes the qpid package that gets installed on Fedora" 2012-09-13 19:13:27 +00:00
Jenkins
c36d1926ff Merge "heat had it's api split into two binaries (cfn & cloudwatch)" 2012-09-13 14:45:38 +00:00
Jenkins
74a06b3b9d Merge "Add python-netaddr to horizon requirements" 2012-09-13 03:37:21 +00:00
Jenkins
ac9b20c94d Merge "BUG #1039180 - misconfiguration in horizon settings leads to stack trace" 2012-09-12 23:14:28 +00:00
Dean Troyer
5bc706268f Add python-netaddr to horizon requirements
Fixes bug 1036416

Change-Id: I97c1f193d30ad43e434ff33e4aacd1230be0341c
2012-09-12 12:34:54 -05: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
Steve Baker
8d6c9bcabb Fix keystone_data.sh to match default_catalog.templates
Endpoint creating in keystone_data.sh tends to drift because
KEYSTONE_CATALOG_BACKEND=sql is not the default.

This patch should bring them closer together, and fix a problem I was having
with keystone auth

Change-Id: Ifac57b8e69234975d1ff65ace72d46d3a5808119
2012-09-11 10:07:26 +12:00
Nikola Dipanov
20df2a839d Changes the qpid package that gets installed on Fedora
Changes the qpid package that will be installed on Fedora when
running stack.sh. The original package (qpid-cpp-server) was
split up into qpid-cpp-server and qpid-cpp-server-daemon.
systemd unit files were moved into the second package and
if only the first package is installed, qpid service  fails
to start.

Change-Id: Ia7cae795d7e456f0e21e0bedaee583a9e8b35f2d
2012-09-08 19:02:37 +02:00
Steve Baker
694a42a02c Fixes for heat keystone registration.
- Pass HEAT_API_PORT into keystone_data.sh from stack.sh
- Use the correct service type in default_catalog.templates key

Change-Id: I17dad3a0255dc0307b052927a8ad1971cb9142a8
2012-09-05 08:25:14 +12:00
Jenkins
5090fffa8b Merge "Add support to optionally launch the heat service." 2012-08-28 19:35:13 +00:00
Dan Wendlandt
b7988b6108 Add quantum files for apts + rpms
bug 1042446

Lists are based off of Nova packages and quantum tools/pip-requires

This is needed urgently to get quantum gate up and running, which is
failing because python-netaddr was not installed by the devstack gate.

Change-Id: I8cdac75e577468dd826ac71b70112033d7bd9468
2012-08-28 09:20:24 -07: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
Matt Joyce
f724fb7845 BUG #1039180 - misconfiguration in horizon settings leads to stack trace
Change-Id: I328df7dc91bde723acb0dcd6fa0e8986255b9c50
2012-08-20 15:22:59 -07: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
Jenkins
6836977582 Merge "Add bridge-utils to deps for Ubuntu and Fedora." 2012-08-02 19:05:45 +00:00
Jenkins
ce469841c6 Merge "Set a valid / unique SECRET_KEY others than the empty default." 2012-08-02 17:59:31 +00:00
Dean Troyer
32c520f46d Add bridge-utils to deps for Ubuntu and Fedora.
They don't always get installed via dependencies any more.

Change-Id: I46f333c79ecccca9e10170d06039611fad5813dc
2012-08-01 19:57:34 -05:00
John Garbutt
2ee1fd1e82 Removing python-cmd2 at it is not available on Ubuntu 11.10
This fixes bug 1030899

Ubuntu 11.10 is used by the XenAPI devstack install because
of issues running Ubuntu 12.04 on XenServer 6.0.2 and ea11.10

Change-Id: I35bca1f484e0caea8316e78ca6543d3b7af49088
2012-08-01 10:29:19 +01:00
Monty Taylor
e9659e503e Add python-cmd2 install for openstackclient.
Change-Id: I5cf6772c6fa1c813efa4993bd0461c45bbaae4ea
2012-07-26 13:22:42 -05:00
Chmouel Boudjnah
d55509d46e Use c-api for service when creating cinder user.
- cinder is not a service but c-api is.

Change-Id: I580fe91216d3fa066120dc774811bfe08119ca02
2012-07-20 15:00:02 +00:00
Sascha Peilicke
345363023d Set a valid / unique SECRET_KEY others than the empty default.
Django's default SECRET_KEY is an empty string, which is actually not
secure. Use horizon.util.secret key to generate a unique key and store
it securely.

Change-Id: I7b6deed7db6136ee15ac7ea315019a5b78698f7d
2012-07-17 12:42:45 +02:00
Jenkins
f7acc44f54 Merge "Add tar to list of packages to install" 2012-07-16 16:02:01 +00:00
Vincent Untz
03086e18b4 Add tar to list of packages to install
It turns out a minimal Fedora installation doesn't have tar by default.
Since we use tar when uploading the default image to glance, we need to
make sure it's installed. And since it might be useful for other very
generic tasks DevStack might do, just always install it (by putting it
in the general list of packages).

Change-Id: I4dae3b43a700d80b8752a5b846a6ce302fadb751
2012-07-04 12:27:42 +02:00
Anthony Young
1cdf5fa4b5 Register cinder when using sql keystone catalog.
* Fixes bug #1020735

Change-Id: Ibd954cdda3c855800ae1080950c62dd71b094a01
2012-07-03 13:57:39 -07:00
Jenkins
6b93f829c1 Merge "Support sql service catalog backend" 2012-06-27 19:34:33 +00:00
Jenkins
85fbd17377 Merge "Add python-devel to rpms list for glance" 2012-06-27 17:22:30 +00:00
Jenkins
133410e146 Merge "Execute Horizon bin script with correct group." 2012-06-21 19:02:34 +00:00
Gabriel Hurley
8b3f438ab8 Execute Horizon bin script with correct group.
Fixes bug 1014735.

Change-Id: I21217fd722ca85124818c1347680734ccd152eb8
2012-06-20 13:16:35 -07: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
Dean Troyer
3f7c06f5aa Support sql service catalog backend
* Add KEYSTONE_CATALOG_BACKEND to select 'sql' or 'template'
  'template' is the default
* Add service creation to keystone_data.sh

Rebased and re-submitted

Fixes bug 966457

Change-Id: Id24fbdeba3de11537559e24b72571ec92ab44750
2012-06-19 14:25:05 +00:00
Jenkins
877bbb2d23 Merge "Use swift config files shipped with swift." 2012-06-14 16:45:14 +00:00
Vincent Untz
0a4c34529b Add python-devel to rpms list for glance
It's needed to build the pysendfile module with pip.
This was fixed for Debian in 2be6155c6e4ad7bc0df61c47a1cfbb093a48b43d

Change-Id: I4ee2b12e2fd3fd9ea44420fdb44cc8ec339ff4fa
2012-06-13 16:50:47 +02:00
Dean Troyer
f07d9b1956 Add BeautifulSoup dependency for Horizon
This is a workaround for an undocumented dependency on the Python
BeautifulSoup package.  It fixes both Ubuntu and Fedora builds.

Fixes bug 1010968

Change-Id: If7f5d55c38d3b9ab677378c57839bc8f03898e2f
2012-06-11 14:51:50 -05:00
James E. Blair
fa3fb4ab90 Remove pips.
All of the requirements should now be specified in the pip-requires
of individual projects, which will be installed via setup.py install.

Therefore, remove the few remaining pip dependencies from devstack.

Distutils has a problem installing django 1.4 when django 1.3 is
already installed via debian packages.  Therefore, remove the
dependency on the django debian package (which installs 1.3
and is obsolete anyway).

Change-Id: Ia4dc1f4c94c7f5c0811bafcf41dadc5d629a516d
2012-06-06 17:59:13 -07:00
Chmouel Boudjnah
c7214e838e Use swift config files shipped with swift.
- Fixes bug 1004548.
- Add function iniuncomment.
- Trying to match the indent as the other stack.sh file.

Change-Id: I70339f7b4c0dd3ef8a018daecb2e1b3fb72c741b
2012-06-06 13:56:39 +02:00