388 Commits

Author SHA1 Message Date
Sean Dague
922c8ae680 clean up whitespace issues on exercises and friends
Change-Id: I812a73e46ddd4d5fed4d304d9ef92c1de243f497
2013-10-22 13:02:29 -04:00
Jenkins
2671a8b97e Merge "Fix handling of pip and virtualenv on openSUSE" 2013-10-04 18:37:30 +00:00
Adam Spiers
6d8fce7325 Fix handling of pip and virtualenv on openSUSE
openSUSE's python-virtualenv rpm depends on the python-pip rpm, but
tools/install_pip.sh prefers to deinstall the latter (if installed) and
install pip directly from upstream source instead.

This deinstallation of python-pip will break if attempted via rpm -e,
since rpm does not transitively remove dependents (in this case
python-virtualenv).  In contrast, "zypper rm" does, so we switch to
that.

It is safe to remove the python-virtualenv package, since stack.sh will
install virtualenv via pip instead.

Change-Id: I5bc23de0f2de2e3940c4be3b76b7c0634836239b
2013-10-01 18:07:39 +01:00
Adam Spiers
1f3e193638 Ensure SSL CA certificates are installed for curl
On openSUSE, ensure that the ca-certificates-mozilla package is
installed to avoid curl aborting with

  curl: (60) SSL certificate problem: unable to get local issuer certificate

when trying to download the pip source tarball.

Change-Id: Iaf74204ea5330e9abf56f6c9d5a0f9d83992aa59
2013-10-01 18:00:28 +01:00
Jamie Lennox
a00e5f8810 Allow keystone to run from apache
Provide a template for running keystone as a mod_wsgi process and enable
it from configuration.

Based on: https://review.openstack.org/#/c/36474/
Also-by: zhang-hare <zhuadl@cn.ibm.com>
Implements: blueprint devstack-setup-apache-keystone

Change-Id: Icc9d7ddfa4a488c08816ff4ae0b53c0134a1016b
2013-09-24 01:14:28 +00:00
Ralf Haferkamp
704106a1bd Fix LDAP support for openSUSE
Closes-Bug: #1227651
Change-Id: I1c55fbb2f65f882a0ae2bcf4767c0a3e0f0f47e7
2013-09-19 15:25:56 +02:00
Jenkins
abd1f24dd6 Merge "Added Trove (Database as a Service)." 2013-09-12 22:42:18 +00:00
Nikhil Manchanda
0cccad43aa Added Trove (Database as a Service).
- Added changes to stackrc for the Trove Repos.
- Added support to devstack for "install", "configure",
  "init", and "run"

implements blueprint:trove-devstack-integration

Change-Id: Ib3f6daad33e629f764a174b80762c808ce8588e2
2013-09-11 23:48:07 +00:00
Jenkins
4f04cc1fa0 Merge "Cinder needs iscsiadm available" 2013-09-04 18:06:34 +00:00
Walter A. Boring IV
4d0d5ce778 Cinder needs iscsiadm available
This patch adds the binary packages that contains
the iscsiadm utility for cinder.   Cinder
uses the iscsiadm utility for various actions
and it should be there for devstack users.

Fixes bug #1219032

Change-Id: I8e1c6e2e5d4bfade50aba9259b6da3957d6d622d
2013-09-03 13:27:28 -07:00
Jorge Valderrama Romero
f39ee96f1d Fix deprecated params user_id, role_id, tenant_id
Update keystone cli by changing parameter options (user_id, role_id and tenant_id)
to use '-' rather than '_' in the method user_role_add and consequently the method
user_role_remove without maintain backward compatibility because these are deprecated.

python-keystoneclient - Bug #1150434
Change-Id: Ia5113718eb050cf7dba443b8d0caf3bdaa1730f0
2013-09-02 17:54:27 +02:00
Jenkins
666fe5fd9f Merge "Adds new tag for testonly packages in package lists" 2013-08-29 01:17:45 +00:00
Christian Berendt
71d5630c4a Adds new tag for testonly packages in package lists
Also introduces a new parameter INSTALL_TESTONLY_PACKAGES
in the stackrc with False as default value. Setting it to
True stack.sh will install all packages tagged with the tag
testonly in the package lists.

Includes needed packages for Ubuntu and Fedora

fixes bug #1203680

Change-Id: I911a6601819a34262853bba0658f6751148bfbec
2013-08-21 14:15:20 -05:00
Julien Danjou
7fb9808e61 Remove useless sources.list
Change-Id: I136b568f04f1de35556aa7c3d546c44402254eef
2013-08-19 16:16:54 +02:00
Jenkins
98d434af99 Merge "Add Cinder V2 API to keystone catalog" 2013-08-13 20:48:42 +00:00
John Griffith
4b60089874 Add some missing pkgs to Cinder install
Added python-dev even though it's picked up
by other projects already, just to be explicit.

Also added libpq-dev, this way users can just
run "sudo pip install -r test-requirements.txt"
and perform everything in run_tests.sh without the
need for venv.

Change-Id: I3953032ac40ef78fc6f67d77539e13539fbbb2ac
2013-08-10 17:51:36 +00:00
Mike Perez
b3862f9871 Add Cinder V2 API to keystone catalog
Support both SQL and templated keystone backend. This will add an
additional endpoint to go with v1.

Change-Id: I19168d55c2ffad2b1cd668b6c1341dc8e49e9c1f
2013-08-08 19:26:50 -07:00
Dean Troyer
62d1d698a0 Add tools/install_pip.sh
Install a known working recent version of pip that handles installation
dependencies more correctly than before.  Extract to a separate script
so it can be used apart from stack.sh.

* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  packages.  THIS IS BROKEN.  And is one reason we have to be so picky
  about order and so forth.

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
2013-08-07 20:28:56 -05:00
Monty Taylor
60aba9cb6a Remove installation of python-netaddr
System and pip installation of this conflit and cause breakages.

Change-Id: I87a03f88a134683310d6ec0bd62d86c5007fcd72
2013-08-02 23:52:38 +00:00
Jenkins
ec32e9a143 Merge "Add option to serve PXE for baremetal from nova-network" 2013-07-31 03:59:56 +00:00
Arata Notsu
bbf0645981 Add option to serve PXE for baremetal from nova-network
New variable BM_DNSMASQ_FROM_NOVA_NETWORK: if setting this true,
DevStack configures nova-network's dnsmask to provide PXE and does
not run baremetal's one. In this case PXE traffic occur in the fixed-ip
network, so no dedicated network for PXE is needed.

Change-Id: I67cade02c03ab45ab6b77d8da9066d7d5ec6c78b
2013-07-30 10:47:46 +09:00
Alex Gaynor
b6f7ea4fb0 Added libffi-dev to the needed packages
Change-Id: Ida7001886f17c9413b33312f12f2478a54bd6c90
2013-07-29 08:12:39 -07:00
Jenkins
026560d0ef Merge "On openSUSE, qemu-tools provides qemu-img" 2013-07-22 15:57:23 +00:00
Andrea Frittoli
806233e0ed Create an endpoint for nova api v3.
Supports both SQL and templated keystone backend.
Create an additional endpoint for nova api v3.
The service type is computev3.
The endpoint is similar to the v2 one but the version
part is "v3" rather than "v2", and it does not include
the tenantid anymore.

Fixes: bug #1191798
Change-Id: I86e4734c3a9e57f1dc68f1104449d7c041d6927d
2013-07-18 10:31:48 +01:00
Jenkins
e3ba250251 Merge "Move swift stuff out of keystone-data.sh" 2013-07-15 14:11:27 +00:00
Chmouel Boudjnah
ba31305497 Move swift stuff out of keystone-data.sh
- Fixes bug 1199918.

Change-Id: I808bdd74a94c8e0ca126b9bee1bfd53eafa189a9
2013-07-11 00:01:03 +02:00
Dean Troyer
53fe11a822 More neutron renames
Rename quantum-adv-test.sh and the package prereq files in files/*/quantum

Change-Id: I4dab635c2ae79f1f42a9cfdadbf7a4d06cf2b925
2013-07-08 15:49:35 -05:00
Jenkins
4cb476c279 Merge "Update dependencies on openSUSE" 2013-07-05 14:28:52 +00:00
Vincent Untz
1957030271 On openSUSE, qemu-tools provides qemu-img
Change-Id: I6ab0b7dd871acd6103b15b5fe10350667b72d1a8
2013-07-04 09:45:58 +02:00
Jenkins
3b42774bd3 Merge "Add python-libguestfs to RPM list" 2013-07-02 14:19:23 +00:00
Jenkins
314ae87a91 Merge "xenapi: Add qemu-utils as a cinder dependency" 2013-06-28 17:53:21 +00:00
Ian Wienand
4ca55309f2 Add python-libguestfs to RPM list
libguestfs appears to be the best way to access images for injection,
so add the python bindings to the RPM list.  Indeed, on RHEL it is the
only way, because the fallback of nbd access isn't available.  There,
this change prevents a lot of errors in nova.virt.disk.vfs.localfs
when it can't import the nbd module.

Change-Id: I9c2a81bb7c26bc17f8b5f1b5a682c05a419b33ba
2013-06-28 16:29:00 +10:00
Brad Topol
6e88f8e14f Remove creation of Domain entries in LDAP
Domain entries are no longer stored in keystone ldap.
Removing the creation from devstack ldap install

Fixes Bug 1194204

Change-Id: I9c93d3021cc2bb058d1ef57bebcf3a13dc5bdd34
2013-06-26 10:29:45 -05:00
Mate Lakat
46fe276a53 xenapi: Add qemu-utils as a cinder dependency
If you are using xenapi, your system won't have qemu-img installed. This
patch adds the package qemu-utils to the list of cinder
apts/rpms/suse-rpms, thus devstack will pull the required binaries.

Change-Id: Id701880ce03bb3e78223df0af6a00b052408407c
2013-06-22 20:16:44 +01:00
Eoghan Glynn
e3d3cb7598 Restore admin role to ceilometer user.
Fixes bug 1193004

The ceilometer user needs the admin role, so that the resources
(instances etc.) associated with all tenants are visible to the
ceilometer agents for metering purposes.

Change-Id: I4d8a88d2d88a11a4b408e0c68ef227ec2af2d822
2013-06-20 16:04:25 +01:00
Jenkins
cf97d97af3 Merge "Update the ou name of Group to be the new default of UserGroups" 2013-06-19 11:08:02 +00:00
Jenkins
2f9c4b3053 Merge "F19 rpm dependencies" 2013-06-18 20:05:43 +00:00
Brad Topol
e7a2ba45a7 Update the ou name of Group to be the new default of UserGroups
This update sets the ou value for groups to be the new keystone
ldap default of UserGroups

Fixes Bug1191807

Change-Id: I9b7383100045155ca35b04190f42be641a0c6ea8
2013-06-17 15:22:49 -05:00
Jenkins
9539e79bd7 Merge "Use service role instead of admin role for service users" 2013-06-17 02:48:29 +00:00
Jenkins
53797878a6 Merge "Add a new dependency for n-api" 2013-06-16 22:56:26 +00:00
Attila Fazekas
22f4d5e736 F19 rpm dependencies
Fedora 19 rpm dependencies are the same as Fedora 18.
* Adding f19 to the 'dept:' list.

Change-Id: I927c31d45ac03b8bddac117e7f501d1255a25200
2013-06-15 15:50:17 +02:00
Jenkins
201379cc38 Merge "Adds openssl-devel to the RPMs dependencies" 2013-06-15 12:13:10 +00:00
Giulio Fidente
eeaa41a1ce Adds openssl-devel to the RPMs dependencies
pyOpenSSL (required by glanceclient) fails to build if openssl
header files are missing.

Change-Id: I3ebce749ee9ca88cbbecc6b7676a086d82670f4d
Fixes: bug #1188650
2013-06-11 17:58:05 +02:00
Jenkins
f606adb4a8 Merge "Make dependency on libvirt dynamic" 2013-06-10 22:30:44 +00:00
Jenkins
689e3ef01a Merge "Don't install pep8 from packages" 2013-06-10 17:35:49 +00:00
Bob Ball
b1e49bfdf7 Make dependency on libvirt dynamic
Fixes bug 1184960

Change-Id: If702807d9ae326bf216a2e076ce61062045d7c6b
2013-06-07 09:42:04 +01:00
Jenkins
7e37b7314d Merge "Add missing .debs required by Debian" 2013-06-07 01:02:17 +00:00
Joe Gordon
5747b80175 Don't install pep8 from packages
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use.  Instead of installing pep8 from
packages it should be installed from pip

Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
2013-06-06 17:37:56 -07:00
Joe Gordon
1216b9fae9 Use service role instead of admin role for service users
Instead of using a full admin role to validate tokens just use the
service role. Change where possible, some services use the service user
for more then just token validation.

Fixes bug 1153789

Change-Id: I0801475b62a7b025fdd871f52d8606aa614d1a32
2013-06-04 17:44:41 -07:00
Émilien Macchi
e32b4853c5 Add a new dependency for n-api
msgpack-python is missing as a dependency in Ubuntu.

Fix Bug #1186739

Change-Id: I9e6ccc27970fb9fef2352a3d9864f325160a6e19
2013-06-02 15:58:14 +02:00