195 Commits

Author SHA1 Message Date
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
Dean Troyer
b328838104 Add service account configuration
* Use username/password instead of service token for service auth to Keystone
* Updates files/glance-*-paste.ini and files/swift/proxy-server.conf
* keystone_data.sh creates 'service' tenant, 'nova' and 'glance' users
  ('swift' and 'quantum' if those services are enabled)
* Uses $SERVICE_PASSWORD for the service auth password. There is no default;
  to default to $ADMIN_PASSWORD, place the assignment in localrc.

Fixes bug 942983

Change-Id: If78eed1b509a9c1e8441bb4cfa095da9052f9395
2012-02-29 16:22:10 -06:00
Justin Santa Barbara
2144ea23bb Add xml filter to keystone.conf
Bug #943499

Change-Id: If636705839606a28c6a6905cd11deaa1fff76438
2012-02-29 11:13:32 -08:00
Gabriel Hurley
f1a11adf2b Updates devstack to E4 final horizon package structure.
Change-Id: Iedc30eb532b93e5755310b1037a2ecbb3552aab0
2012-02-29 01:36:53 -08:00
Chmouel Boudjnah
8534bcb6bb Update Swift configuration with keystone latest.
- Update Swift to use the new tokenauth and swift_auth from keystone.
- Drop swift-keystone2.
- Add swift3 / s3token in swift proxy pipeline (TODO: figure out
testing).
- Fix exercises/swift.sh (workaround until review #3712 get merged).

Change-Id: Ie85d30e14cee21c6f80043fccde92dfb229f0e80
2012-02-25 18:44:26 +01:00
Chmouel Boudjnah
2e9158ebc6 Add S3 extension to keystone.conf
Change-Id: I52bae49a8071cc0087a9ddc6b9857245ffdae556
2012-02-25 10:02:45 +01:00
Jenkins
a6f5fdd4ee Merge "Remove pycli from keystone pips" 2012-02-24 20:37:56 +00:00
Jenkins
6296a16d90 Merge "Allow to configure a number of swift replicas." 2012-02-24 17:12:51 +00:00
Dean Troyer
31986b247c Remove pycli from keystone pips
Removed from keystone pip-requires in https://review.openstack.org/4261

Change-Id: I629881f47fa198019e60fc81ca38917fa0b60dd8
2012-02-23 22:10:24 -06:00
Vishvananda Ishaya
5f9473e8b9 Add nova-volume endpoint to service catalog
Change-Id: Id04568d7f8eecc8c8e7c1a92990d37a46923caf7
2012-02-24 02:10:22 +00:00
Dean Troyer
f4565c4694 Make keystone_data.sh handle existing and updated keystone client
Keystone client commands and options have been normalized and
keystone_data.sh needs to support both versions for a transition
period.

The merge prop for the updated keystone client is
https://review.openstack.org/4375

Necessary for bug 396422

Also fix an intermittent problem extacting IDs from command output.

Change-Id: Ib13445a0bd3029fb02b0b7a86e8e0b8278717b57
2012-02-23 19:13:38 -06:00
Gabriel Hurley
7bd3087e73 Only add Quantum and Swift to Keystone catalog if enabled.
Incidentally removes some outdated (unused) settings from the
Horizon settings file.

Fixes bug 939820.

Change-Id: I61e97c194070e46d21a6c0eb66eef88bd14efeee
2012-02-23 13:20:03 -08:00
Gabriel Hurley
a3a496f9c2 Adds quantum service and endpoint to keystone if quantum is enabled.
Change-Id: I41eac84a48e8e716b77b7c874244c626b5df3006
2012-02-21 13:50:00 -08:00
Jenkins
9ca0cd1d38 Merge "Add ovs-ofctl to the sudo command list" 2012-02-21 21:04:55 +00:00
Eoghan Glynn
f62caf6db4 Add python-iso8601 to nova and glance dependencies
Nova and glance will shortly require the python-iso8601 package in
order to support non-UTC timestamps in the changes-since filter.

In particular, the following nova patch is blocked by devstack
failing due to the missing dependency:

  https://review.openstack.org/#change,4211

Change-Id: Iaae8812cf19c9ae1ad237b7fda7d99827aca1485
2012-02-19 00:56:41 +00:00
Anthony Young
18ee4eaf58 Fix admin version pipeline.
* ala https://review.openstack.org/#change,4282

Change-Id: I1cb3ad4b3ff2c8f339c18db15e44a862bbc07282
2012-02-17 15:22:54 -08:00
Tomoe Sugihara
398de1b0da Add ovs-ofctl to the sudo command list
Change-Id: I0a7de0fb80aeb71b1ab67fd64e95376d2aa2afa6
2012-02-17 11:28:06 +09:00
Chmouel Boudjnah
a95efab1c3 Allow to configure a number of swift replicas.
Remove the scripts swift-remakerings and swift-startmain along the way.

Change-Id: I7c65303791689523f02e5ae44483a6c50b2eed1e
2012-02-16 23:24:48 +01:00
Anthony Young
258c95de09 Update paste config to return version info
Change-Id: I67edb5c9aab6899c105666a4541918bad9116386
2012-02-14 14:21:01 -08:00
Chmouel Boudjnah
6869d1ab78 Add object-expirer.
Fixes bug 928198.

Change-Id: I0f3bbe323cdb285714d1c80fe7e7b7d9842ece06
2012-02-13 23:09:54 -08:00