214 Commits

Author SHA1 Message Date
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
Joe Gordon
42b1aa9c13 Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
2012-05-25 15:07:43 +00:00
Jenkins
484cf92b40 Merge "Remove unused service_* from authtoken middleware" 2012-05-24 17:53:44 +00:00
John Postlethwait
0c28915581 Node JS is a Horizon requirement now.
Horizon is going to start using LessCSS, so Node
JS needs to be installed now with Horizon now.

Change-Id: I416824dcab169f9be9afd3c3aa46ff911223947d
2012-05-22 13:43:45 -07:00
James E. Blair
d0e55c859a Add "dist:precise" to qpidd.
It is also marked NOPRIME, but some setups (devstack-gate) would
like to cache, but not install, all .debs to avoid false negative
tests due to network problems.  This way it can be cached only on
appropriate platforms.

Change-Id: Ia4216e9e8e6e7f55bf5fe9bc683fee97976a9b04
2012-05-21 09:04:27 -07:00
Joe Gordon
1fad810cef Remove unused service_* from authtoken middleware
service_port and service_host are not used by the current keystone authtoken
Change-Id: Iff5d2dccdc69b0a05443500d45b144acfbbe3c79
2012-05-17 15:54:36 -07:00
Jenkins
55f4ce9ce7 Merge "Remove prettytable pin to 0.5" 2012-05-17 22:31:51 +00:00
Russell Bryant
4a221459b7 Add support for using Qpid instead of RabbitMQ.
To use Qpid instead of RabbitMQ, you set 'qpid' instead of 'rabbit' in
ENABLED_SERVICES in your localrc file. Otherwise, RabbitMQ is still
used by default.

(dtroyer) fixed problem with service test that failed to configure
rabbitmq if it was still selected.

Change-Id: I8c62b588a461a068463821b2c079ffa4bfa1f804
2012-05-17 14:35:44 -05:00
Jenkins
218a4fa532 Merge "Changed --user to --user_id and --role to --role_id in the keystone client for consistency. Need to update keystone calls here." 2012-05-16 18:35:43 +00:00
Jenkins
ac7dc92bf6 Merge "Fixes LP #996571 - Alternate Tempest user" 2012-05-16 18:09:18 +00:00
Dean Troyer
9a4478b8b2 Remove prettytable pin to 0.5
* The clients have all been fixed to work with prettytable 0.6

Change-Id: I968d73862e6d45d6974c43ea47ba84e8210ed787
2012-05-16 11:07:57 -05:00
Jay Pipes
b297d2d0a8 Fixes LP #996571 - Alternate Tempest user
Adds an alternate user to Keystone for Tempest

Tempest has a number of tests that are skipped if
the compute.alt_username is the same as compute.username
or None. Here, we modify files/keystone_data.sh to add
an additional regular user called alt_demo if Tempest
is enabled in stackrc. We also make corresponding changes
to the tools/configure_tempest.sh script to make use
of this alternate user credential

Change-Id: I551f3b378f843c62fffcf6effa916056708d54d3
2012-05-10 11:25:39 -04:00
Chuck Short
73812ae7c3 Add quantal
Allow devstack to run on quantal.

Change-Id: Iec79aa3669dc1dcc695470e6c15957622268476f
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012-05-09 14:59:56 -05:00
Everett Toews
a143e73caf Changed --user to --user_id and --role to --role_id in the keystone client for consistency. Need to update keystone calls here.
This change should be applied after [bug/994744 b7fe11c] in python-keystoneclient.

Fixes bug 994744.

Change-Id: I13e643f8552d86ed0bf92799271899f777bde9b2
2012-05-08 22:13:08 +00:00
Dean Troyer
c39e681ecb Force prettytable==0.5
prettytable 0.6 was released recently and removed the printt() method.
All non-pinned prettytable projects (all of them) are now broken.  This
forces a pre-loaded prettytable 0.5 package in order to allow the real
fix (removing printt() calls) to proceed.

Change-Id: Iacf24b8474f12b28090329496720767281181d7e
2012-05-07 13:24:05 -05:00
Sean Dague
2fb5bce5b0 libxml2-dev package is needed for lxml.etree
added fedora package as well

Change-Id: I7bf34ad1842a6320536ff9ce468c5cb9f0ef3cd5
2012-04-30 16:58:49 -04:00
Dean Troyer
45495258d6 Add glance client
* python-glanceclient overrides the old client shipped with glance in /usr/local/bin
* start adding exercises

Change-Id: I460ed5749bca69425f23d328c0537c2ef91f84a4
2012-04-25 21:24:30 -07:00
James E. Blair
4fcab6d0cf Add nosexunit as a pip requires.
Install the nose xunit plugin so that tempest can produce nice
reports in Jenkins.

Change-Id: Ia8c4c9db8b0733d09a0bef59a08f438c6a92f1ca
2012-04-24 14:08:49 -07:00
Dean Troyer
2be6155c6e Add python dev dependency
pysendfile 2.0 needs this to build

Change-Id: I40a2c08bfc6d533bdcb052d0c36353e95e059e03
2012-04-19 14:59:44 -05:00
Dean Troyer
ba429edfe1 Another prereq for n-api on a compute node
* work around n-api on a compute node pulling in glance without running
  through the glance prereqs

Change-Id: I400c555dd5c04d52bf8aa415747769374a145390
2012-04-13 11:35:11 -05:00
Gabriel Hurley
9ac2aa4618 Bumping Horizon Django dependency to v1.4 for Folsom.
Horizon is moving to Django 1.4 as the minimum version, however
1.4 is not the packaged version in the apt repositories. Thereby
the dependency needs to be moved back to being installed by pip.

Change-Id: I3c3116c1d02bdfaccab521175816502fd8ea054a
2012-04-12 11:38:54 -07:00
Jenkins
3db875c21e Merge "E) Add support for Fedora 16" 2012-04-12 16:57:12 +00:00
Dean Troyer
7030ec58c4 Add gcc to glance prereqs
Change-Id: I60584e5f3c99d15cd0f3a2222a448f7e01295779
2012-04-12 11:19:42 -05:00
Dean Troyer
5218d451dc E) Add support for Fedora 16
Highlights:
* Add files/rpms/*
* get_packages() only loads deps for services that are enabled

11Apr2012
* change mod_wsgi cwd to $HORIZON_DIR
* fix horizon apache log file name and location

Note: This superceeds https://review.openstack.org/4364

Change-Id: I95486584561e4418907a6a4feb0ffbe4f4ea1843
2012-04-11 14:55:47 -05:00
Jenkins
f8a3343572 Merge "Install dnsmasq-utils on precise as well" 2012-04-10 17:01:24 +00:00
Jenkins
f302936859 Merge "C) Move swift defaults for config & data" 2012-04-09 17:10:09 +00:00
Dean Troyer
9bab2597ca Use glance config files from source tree
This rewrites the config files for Glance API and Registry (-paste.ini and .conf)
rather than use templates from devstack/files.

Fixes bug 950289

Change-Id: I90151e36bb5f778499481e9abe0d8637d41f19aa
2012-04-06 15:25:43 -05:00
Dean Troyer
09e636e435 B) Use keystone config files from source; move to /etc/keystone
* Put all config files in /etc/keystone
* keystone.conf rewritten
* logging.conf.sample rewritten to logging.conf
* default_catalog.templates copied from devstack/files
* iniset() now properly adds options that do not previously exist

Fixed to re-configure the catalog templated backend; sql is the
default in trunk now but DevStack needs a bit more work before
it can use it.

Change-Id: Ic7060ef897e47495cd08ca3786e49fdebadf6723
2012-04-05 18:10:13 -05:00
Dean Troyer
1e51c11582 C) Move swift defaults for config & data
* change config vars _LOCATION to _DIR to be consistient with other vars
* let config files live in /etc/swift like they want to
* move swift backing files to $DEST/data/swift

Change-Id: Idbd507736b46c5c2330e0255cc87f40068d3faf6
2012-04-05 10:56:47 -05:00
Vishvananda Ishaya
d252e06e3b Install dnsmasq-utils on precise as well
Change-Id: I1a730d9ffdf934cfcec466d15453dd908b1a58de
2012-04-04 13:46:27 -07:00
Chmouel Boudjnah
ecdd8fc6ba Remove service_ and admin_token.
- Remove cache = swift.cache as well from swift config as not needed as
  well.

Change-Id: I39f0b7ed48e6ee8926cdc011a46fdd2d01880a89
2012-03-19 16:55:04 +00:00
Brian Waldon
6aef757432 Update glance pipelines to use context middleware
* Glance no longer depends on keystone.middleware.glance_auth_token

Change-Id: Ie634a007f710792eda810e479fae463c158ebc5f
2012-03-19 08:42:37 -07:00
Chmouel Boudjnah
7ee6a9724d Add python-mysqldb to keystone apt package list.
- Fixes bug 957065.

Change-Id: If811a725c2348cebfb326e08ef69909905e46420
2012-03-16 15:42:21 +00:00
Chmouel Boudjnah
77b0e1d8ff Converts bundle exercise to use swift/s3
- Fix keystone s3token configuration (in admin api not public api).
- Set s3 service in keystone to swift if installed.
- Fixes a bug in bundle.sh
- Adds config options for nova to use swift as s3 store

Change-Id: Ic2fca5aba06a25c0b3a74f1e97d062390a8e2ab1
2012-03-15 20:59:45 +00:00
Chmouel Boudjnah
7dadd35c08 Ubuntu precise support.
- Fixes bug 954249.
- Install python-argparse only on oneiric (tks: dtroyer for
  suggestions).

Change-Id: I5ba8424a9cd172ac5246106163d21ca6a67ef6ef
2012-03-15 13:13:08 +00:00
Anthony Young
ae604985e7 Remove references to deprecated ec2 authorizor.
* remove replace_pipeline
 * removes references to sysadmin and netadmin roles
 * removes references to admin ec2 api
 * fixes bug 953744
 * related fix in nova: https://review.openstack.org/#change,5024

Change-Id: I8792dae0157b8596a5f946670742411781fe47c0
2012-03-13 16:10:56 -07:00
Jenkins
355fb8f264 Merge "Configure nova-rootwrap" 2012-03-12 22:44:12 +00:00
jakedahn
770cec7314 Making users creatable by default in horizon
Change-Id: I021bd17564f1a20591d3aac8a254f4976e14e681
2012-03-12 14:07:51 -07:00
Dean Troyer
06a09d0c33 Fix double-quoted service names
The Keystone service template parser doesn't do any quote interpolation,
it just splits on ' = ' and passes the two parts on. So we just remove
the quotes for now.

Fixes bug 943523

Change-Id: Ia2a10ec18db1a82f23f36200b0cdef84b4f78155
2012-03-12 14:46:45 -05:00
Jenkins
d9f0e91f17 Merge "Moves python-cloudfiles dependency back to PIP." 2012-03-10 11:19:01 +00:00
Jenkins
edf59ca443 Merge "Remove calls to service-create in devstack for now." 2012-03-10 11:13:39 +00:00
Dean Troyer
0bd2410d46 Move all EC2 cred creation to eucarc
* Remove credential creation from files/keystone_data.sh
* Remove EC2 cert setup from openrc
* Remove sourcing of ec2rc from stackrc
* Collect the above in eucarc
* Allow rc files to be sourced from other directories; based on Chmouel's
  4881 proposal but is simpler and doesn't actually change the directory
* Create S3 endpoint
* Get EC2 and S3 endpoints from Keystone service catalog
* Add EC2 credential checks to exercises/client-env.sh
* exercises/bundle.sh and exercises/euca.sh use eucarc

Updates:
* remove readlink -f to stay bash 3 compatible
* use service catalog
* create S3 endpoint

Fixes bug 949528

Change-Id: I58caea8cecbbd10661779bc2d150d241f4a5822e
2012-03-09 21:41:00 -06:00
Anthony Young
e2d139b8c8 Remove calls to service-create in devstack for now.
* The recommended backend for essex is the template backend.
 * Fixes bug 950213

Change-Id: I2f8bc9f74cee2d783cbadcc1d4d4e674ddb905b9
2012-03-09 15:49:53 -08:00
termie
f056b7d2d0 update policy driver
Change-Id: I2450806d27455ae8304446f5b6054e14a66658b1
2012-03-08 14:18:44 -08:00
Gabriel Hurley
c9166055ed Moves python-cloudfiles dependency back to PIP.
For reasons currently unknown, apt-get seems to install
an unusably old version of python-cloudfiles in some
small subset of cases. To avoid that frustration for the
users it does affect, this patch moves python-cloudfiles
back to being installed by pip instead.

Fixes bug 931269.

Change-Id: I4c2e17ddcc0c0d327b3810b4fd4db117076df069
2012-03-08 13:59:38 -08:00
Dean Troyer
e0d677c71e Configure nova-rootwrap
* Nova runs as the same user as the rest of devstack and due to the
  sudo configuration for devstack itself it may be possible that
  root subprocess execution that doesn't go through utils.execute() will
  not be caught by the expected sudo failure.

Fixes bug 944373

Change-Id: I0554b3850a59d065059f8ad349c8ff8fb7cfa132
2012-03-07 18:07:58 -06:00
Joe Heck
165121f7b6 adding default bind_host to enable change 4880
Change-Id: I949effe56cad7ae466a458da48bc85fe1c110138
2012-03-07 14:20:20 -08:00
Dean Troyer
b7d1fbbe20 Cleanup keystone_data.sh
* Remove the compatibility code for older keystone client
* Reformat commands similar to keystone sample_data.sh
* Improve documentation

Change-Id: I2fc544555a1b936d28f11c3c4eaaf885b2cb6d17
2012-03-05 17:43:10 -06:00
Jenkins
57bd449431 Merge "Add xml filter to keystone.conf" 2012-03-01 21:46:54 +00:00
Andrew Bogott
f2829479fe Added tgtadm to sudo cmd list. Fixes bug 927924.
We need this if we are ever to create or delete volumes.

Change-Id: If451b936a04d064feba2eefec499e1669e1837d6
2012-03-01 11:44:11 -06:00