5646 Commits

Author SHA1 Message Date
Jamie Lennox
78b7726ddd Configure auth_token middleware by auth plugin
As of release 1.3 auth_token middleware can be configured to use any
authentication plugin. This allows us to move to the more generic
password mechanism which will default to using keystone v3 if available.

This will allow in future revisions to move the devstack service users
out of the default domain.

Work will need to be done in heat to remove it's dependency on the
(supposed to be private) keystone_authtoken CONF values.

Change-Id: Ieac26806bd420aa08fc79bbc6a11eb6a1c15c7df
2015-01-12 10:46:49 +10:00
Jenkins
69ef526ac9 Merge "Enroll Ironic nodes /w IRONIC_KEY_FILE" 2015-01-10 03:42:16 +00:00
Andrew Lazarev
b31304829f Register heat image in sahara image registry for fake plugin
Fake plugin can work with heat image. Even more, sahara uses heat
to provision instances. So, registering image in sahara image
registry.

Change-Id: Ie498fc05d0afe7f276b6f29f20a61abb58a5c676
Closes-Bug: #1402856
2015-01-09 12:07:08 -08:00
Maru Newby
5ecf46b581 Add 'acl' package to neutron deps
The acl package has been added as a test-only dependency of neutron.
It is used by the functional job in configuring postgres.

Change-Id: Ie28da793237b51cced3bd0a9b35273d9c50472e8
2015-01-09 13:40:12 +00:00
Maru Newby
13519e8a5b Fix get_packages when $DISTRO is not set
Sourcing the tools/install-prereqs.sh script with TOP_DIR set results
in GetDistro being called in get_packages and echoing the result.
Since all output from get_packages is assumed to be package names,
this results in the attempted installation of the non-existant 'Found'
'Distro' and '[distro name]' packages.  This change removes the echo
statement to avoid this problem.

Change-Id: Idd05c31b9eec9e6209666fa16fa425cdf1f35aa2
2015-01-09 13:06:56 +00:00
git-harry
afc1423e70 Change default nova service name in cinder.conf
In cinder the config options nova_catalog_info and
nova_catalog_admin_info define values to be matched when searching for
the correct compute service in the catalog.

The commit 5ad15c040fdc115bca9efb1c952279988a2a48b3 in the cinder
project has changed these defaults.

This commit sets the options in cinder.conf to the values set by
devstack.

Change-Id: I2a0b09c34fac5f63a5cdbbe05761a0857f243465
Closes-Bug: #1408734
2015-01-08 17:47:47 +00:00
Shuichiro MAKIGAKI
b968b0c36b Fix comments to use 'local.conf' instead of 'localrc'
Instead of 'localrc', 'local.conf' should be used.
Example codes to enable neutron also should follow local.conf syntax.

Change-Id: I4f4c03fdbf0f612e5b518177b29669fb202d9f7a
Closes-Bug: #1407391
2015-01-08 19:12:04 +09:00
Li Ma
26ac3d7ebb Fix service start sequence
1. zmq-receiver should be started in advance
2. when using zeromq driver, nova-compute relies
on nova-conductor's rpc to be initialized

This fix is totally safe and won't influence
on other services.

Change-Id: I9d7b682df4d411af24a1ff6bcad79697e32fa723
Partially-Implements: blueprint zeromq
2015-01-08 07:19:44 +00:00
Li Ma
d3ca1418c4 Fix matchmaker-redis dependencies for zeromq driver
Add an option 'ZEROMQ_MATCHMAKER' to indicate which
matchmaker driver to use.

When it indicates 'redis', the dependencies will be
installed.

Change-Id: I910b48347bad0685ea10083a3b0b243524f32095
Partially-Implements: blueprint zeromq
2015-01-08 07:17:58 +00:00
Bharat Kumar Kobagana
441ff07b97 Fixing the problem in loading plugins
This patch fixes the problem in loading the plugins in devstack
by defining the "plugins" variable in "run_plugins" function of
devstack/functions-common file.

Change-Id: I9fb0e24bf1fd282931a8489e0a8ec0c9ea078520
Closes-Bug: 1408571
2015-01-08 12:26:30 +05:30
Jenkins
29e34f7c9f Merge "Actually run all the Cinder cert tests." 2015-01-08 03:00:28 +00:00
Jenkins
8ba4d17e97 Merge "Adding installation Heat package after cloning" 2015-01-08 03:00:22 +00:00
Jenkins
05a12cb0bf Merge "Trove configure authtoken via conf file" 2015-01-08 03:00:13 +00:00
Jenkins
da03c9dba5 Merge "uuidgen binary is needed by lib/{neutron,ceph}" 2015-01-08 02:25:06 +00:00
Jenkins
4ebaeb3720 Merge "Customizing tempest configuration for libvirt-lxc" 2015-01-08 01:40:25 +00:00
Adam Gandelman
f303d7ed0b Allow specification of ironic callback timeout
We need to be able to adjust Ironic's timeout for a node's deployment
callback.  The default is much longer than Tempest's server build
timeout, causing Ironic deployment issues to be masked by more generic
server timeouts in the tempest logs.  Being able to set this to be
lower than the nova timeout, we'll have Ironic errors that we can
fingerprint.

Change-Id: I7b8eeda504da7ffd64967bbcfa2625acf418f263
Related-bug: #1408067
2015-01-07 16:39:23 -08:00
Jenkins
e5cbde3158 Merge "Fix proper oslo.messaging object for zeromq driver" 2015-01-07 23:05:21 +00:00
Jenkins
c7acc12ad2 Merge "Clear multi-line sections before adding lines" 2015-01-07 22:32:15 +00:00
Jenkins
9cedfcfda2 Merge "Implement devstack external plugins" 2015-01-07 18:11:07 +00:00
Angus Salkeld
826e450936 Add support for enabling heat adopt and abandon
This is by default disabled, but we need to enable
it to test it in the gate.

Change-Id: I2339ebcaf4bd6308041675bcd35c0b70206e2e5e
2015-01-07 18:04:16 +10:00
Jenkins
a6613851ab Merge "Fix wsgi dir cleanup in Keystone" 2015-01-06 23:41:20 +00:00
Sean Dague
2c65e71ab8 Implement devstack external plugins
This is an initial pass at plugin infrastructure for devstack which
allows specifying an external repository via:

enable_plugin <name> <giturl> [branch]

It implements the devstack specification for this at
I173dee3d57967b1d2ffd30e4868a2832aeac97ce

Change-Id: I8e4175313b3cf0b12e981122358b1288a7eb0746
2015-01-06 12:30:25 -05:00
Kashyap Chamarthy
7c9df1017c Remove Fedora 19 as supported distribution
Fedora 19 will reach its end of life on 6-JAN-2015

  https://lists.fedoraproject.org/pipermail/announce/2014-December/003243.html

Remove it as a supported distribution and add Fedora 21

  - stack.sh: Remove Fedora 19 from list of 'supported' distributions.
  - tools/fixup_stuff.sh: Remove Fedora 19. Also remove the workaround
    of disabling firewalld for Fedora 21.

Change-Id: If92b87d2f9a2bb95469730cda201a7981670f727
2015-01-06 11:42:26 +01:00
Nels Nelson
7b47c47308 Customizing tempest configuration for libvirt-lxc
In order to support the continued testing of the libvirt driver
with lxc virtualization, certain compute features must be disabled
including rescue, resize, and suspend.

Change-Id: I52150fef11ba6e3ab2fd0acacaa3c64413c0c0d1
2015-01-05 23:06:05 -06:00
Yalei Wang
cecbd1ff6f delete cinder configuration file before config it
Some misleading configuration item will remain if we don't delete the cinder
conf everytime before we configure it.

Change-Id: Iab6a5d7bc5fdcb05b28d24b0419c0bf380a140c1
Closes-bug: #1405301
2015-01-06 12:56:37 +08:00
Doug Wiegley
f9512d6459 Initialize neutron service db with neutron
Partially-Implements: blueprint services-split
Change-Id: I407a4bb3c60ab6a491669b4ddd16aee1239808f1
2015-01-05 11:22:04 -07:00
Ihar Hrachyshka
157c84b876 Enforce UTF-8 encoding when creating databases
We use InnoDB everywhere, so there should be no issues with long unicode
keys. Dropped charset parameter for recreate_database since it's not
needed anymore.

Change-Id: Ib768402a9337c918309030a92ab81da17269f4f6
2015-01-05 15:57:23 +01:00
Jenkins
5c0a3cfb71 Merge "Install Juno RDO repos for RHEL7" 2015-01-05 14:30:47 +00:00
Jenkins
e754f871cd Merge "Improve firewall recommendations for Neutron documentation" 2015-01-05 14:29:59 +00:00
Donagh McCabe
7faceb67ad Allow swift keystoneauth reseller_prefix in sample file
The reseller_prefix option cannot be added to the
swift-proxy-server.conf-sample file because it
inadvertently gets set to "TEMPAUTH" and Tempest
tests fail.

Change-Id: Ib08d6fa1926531b8966151258eae6771c99c41ca
Closes-Bug: 1404226
2015-01-05 13:58:58 +00:00
Hirofumi Ichihara
cc5715531b Fix configure to metadata_agent.ini
Devstack set auth_uri to metadata_agent.ini in _neutron_setup_keystone function.
But Metadata_agent use auth_url not auth_uri.

This is regression caused by https://review.openstack.org/#/c/122882/

Change-Id: Iac8f240558abcdc5bcee3d3c87cef5ad3bb007e8
Closes-bug: #1373859
2015-01-05 15:31:36 +09:00
Jamie Lennox
2de47465bd Trove configure authtoken via conf file
Configure auth_token middleware in trove via the conf file rather than
the paste pipeline. This is the standard and expected mechanism.

Change-Id: Iec6bf74c9321082c35465d332aba7f5fa240cc1a
2015-01-05 10:11:57 +10:00
Steven Dake
3a6b128f3a Improve firewall recommendations for Neutron documentation
The documention does not mention that either ufw or firewalld should be
disabled to operate a devstack+Neutron environment.  This change adds a
description of fault symptoms as well as a simple workaround.

Change-Id: Ie0ec614dfa56febbf6588836d2e1fc057aa8830f
2015-01-02 16:21:55 -07:00
Jenkins
27f0339f86 Merge "Update the default ODL to Helium SR1.1" 2015-01-02 17:11:52 +00:00
Jenkins
1051e39e76 Merge "remove brackets around boolean condition expression" 2015-01-02 17:11:44 +00:00
Jenkins
9103d4390b Merge "Stop installing setuptools from distros" 2014-12-31 16:02:47 +00:00
Sergey Kraynev
a38bc5b3c2 Adding installation Heat package after cloning
There are two important reasons for this change:
 - Other OpenStack components contain this code already.
 - Heat store references on client/constraint/version plugins in
   setup.cfg and and stevedore uses these references, so we should
   install Heat after changing this part of code. As example look patch
   https://review.openstack.org/#/c/86978/ for grenade job, where
   heat-engine can not find two constrainsts due to changing their code
   place between releases.

Change-Id: Ic6b1f70ec2d2c06002eb6877a747b7b84213c710
Closes-Bug: #1402985
2014-12-30 09:25:08 +00:00
Zhi Yan Liu
0f52d93d6d Setup notification properly for Zaqar
As we integrated OSprofiler with Zaqar by change
I32565de6c447cd5e95a0ef54a9fbd4e571c2d820 , then service
zaqar-server requires using notification API sends profiling
data to ceilometer, so zaqar needs relevant options to make
it work.

Change-Id: Ib09b241f60dd9961e9366f69cf7fbe8388179f96
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2014-12-30 14:37:02 +08:00
Jenkins
e9cac494d7 Merge "Add missing space before ] in lib/trove" 2014-12-29 17:13:45 +00:00
gong yong sheng
1eb4c6a375 remove brackets around boolean condition expression
Change-Id: Ia550d4603d9520ddea84a144e5e042903456d96d
Closes-Bug: 1405319
2014-12-29 12:21:51 +08:00
Haomeng, Wang
7b5c4e6797 ironic scripts should support $Q_USE_NAMESPACE
add logic for ironic to support $Q_USE_NAMESPACE, if it is false,
will not call 'ip netns' with network namespace

Change-Id: Idc4dfb49ee478486476973a41b420b9b7e11a4e0
2014-12-28 03:22:24 +00:00
Adam Gandelman
130efefe6c Call sudo /w -H in install_pip.sh as well
We updated other usage of sudo to pass -H when installing pip things,
to avoid creating a .cache directory in $STACK_USER's $HOME that is
owned by root. get-pip.py also ends up creating a ~/.cache, so we
need to update sudo usage there as well.

Closes-bug: #1405626
Related-bug: #1405732

Change-Id: If791b9b25d6a4280dab19117004184e57e78d038
2014-12-27 14:09:07 -08:00
Monty Taylor
18a81a2058 Stop installing setuptools from distros
We go through a bunch of trouble to install setuptools via pip. Having
it in the distro install too is confusing.

Change-Id: I6875fe2a1ee6b7d296f7f44b4b1601794b136440
2014-12-26 09:53:21 -06:00
Jenkins
fe2f986816 Merge "Fixes Heat tempest issue due to hardcoded qcow2 extension" 2014-12-24 18:20:57 +00:00
Jenkins
17061f9c3c Merge "Fix redis service restarting for Ceilometer" 2014-12-24 18:20:35 +00:00
Clark Boylan
013f52b015 Always install latest pbr
When not installing pbr from source always install the latest version of
pbr. It turns out that python-pbr is a system package that satisfies
many of our requirements files pbr requirements but breaks under
setuptools 8.0. Fix this by passing the -U flag to pip when installing
pbr so that we install the latest version of pbr always.

Note that we likely need to make this more generic to avoid other system
package leakage when installing packages not from source.

We should also probably bump our pbr requirements across the board to
reflect the new setuptools 8.0 world needs.

Change-Id: I23dd21cea37d26f879aa8d864ee7d371e70221ea
Fixes-bug: 1405318
2014-12-23 17:20:30 -08:00
Ilya Tyaptin
fe5164aeef Fix redis service restarting for Ceilometer
In Ubuntu redis service is named as redis-server. So in this
patchset different restarting for this service at different
OSes have been added.

Change-Id: I406e3556c7b9a2bef8277f34862375c5ffd3888e
Closes-bug: #1405147
2014-12-23 14:58:46 +04:00
Jeremy Stanley
6ec66bb3d1 Install prettytable>=0.7 to satisfy pip 6/PEP 440
Also use sudo -H with pip so that it doesn't create a ~stack/.cache
other things can't write to as the stack user later.

Change-Id: I2134c7d8f58f8b83f33150c9ed86d87f8ccba2f3
2014-12-23 01:05:42 +00:00
Gary W. Smith
5840253735 Add missing space before ] in lib/trove
Change-Id: Ic852f642f03124c4a878c92ea8b6b11519c51e59
Fixes-Bug: 1404939
2014-12-22 09:15:08 -08:00
Li Ma
ce1524d084 Fix proper oslo.messaging object for zeromq driver
Currently, as almost all the rpc driver of projects
have been switched to oslo.messaging, the object should
be imported via oslo.messaging rather than its own rpc lib.

Change-Id: I9633446e78cb5af21f61a26f6fb365a8ed57a85f
Partially-Implements: blueprint zeromq
Closes-Bug: #1395721
2014-12-21 11:43:36 -08:00