6763 Commits

Author SHA1 Message Date
Ian Wienand
a5e4c0f279 Clear out some duplicate package dependencies
I think these duplicate dependencies came in because we were not
correctly always installing "general" packages (see
Ie1b8d09369281059d21da61b2725a457f708ae9e)

Most of these are just extras for the lxml dependencies; I added zlib
devel to general for glance (seems pretty generic), and then that can
go too, as all other packages are specified.

Change-Id: I44b14ca15c64fad9daf1ac8d851704b02ea2eae0
2015-11-09 12:21:10 +11:00
Ian Wienand
a7e0b39a64 Move devlib packages into "general"
The removal of the wheel caching code
(Ia140dc34638d893b92f66d1ba20efd9522c5923b) removed the install of the
"devlib" packages, which was being done with a call in
tools/build_wheels.sh

The idea of "devlibs" and "general" seems to be pretty much the same
thing -- global build requirements.  I have removed the unused devlibs
files, and moved any missing packages into the "general" package
install file.

Change-Id: I8f34a164d6785a122394b42387d4221a7b447ae1
2015-11-09 12:06:18 +11:00
Ian Wienand
b8509f09d6 Really get the "general" packages
We are specifying the argument to get_packages incorrectly, so we are
not actually adding the packages in "general" to the list of packages.

In most cases, this is hidden as other more specific plugins/services
request their packages.  However, as
I2dafd32f211fcbc9fff53030d736d97a5f1bb2df shows, not always.  I think
this was uncovered by 5f8133caac097235ed4fe73d878df0ee907eb51c

Change-Id: Ie1b8d09369281059d21da61b2725a457f708ae9e
2015-11-09 11:55:56 +11:00
Sean Dague
5f8133caac remove gratuitous python packages
With pip + upper-constraints we're nearly always over installing all
python packages because we no longer support a range, we support
*exactly* one version.

This removes a bunch of the gratuitous package installs which we're
going to install over, lxml, numpy, libvirt. All of these we had
coming from packages in the past for speed concerns, but upper
constraints removes that.

It also ensures that all the headers to build all those are in
general, so they are guarunteed available at all times.

Change-Id: Ia76de730d65c84d81c4fb2c980ae1b4d595f9f5b
2015-11-06 11:48:19 -05:00
Jenkins
988389a45a Merge "Zookeeper for DLM scenarios" 2015-11-05 22:21:18 +00:00
Jenkins
1a2f86b3be Merge "Correct Cinder protocol for connections on Ironic" 2015-11-05 22:21:05 +00:00
Jenkins
afc9992b0b Merge "keystone: fix prefixed URL" 2015-11-05 22:21:01 +00:00
Jenkins
efd86cd6e8 Merge "Remove wrong paramter COMPUTE_API_VERSION" 2015-11-05 22:04:12 +00:00
Jenkins
6b0a3c6745 Merge "Turn off tracing for service functions" 2015-11-05 21:46:38 +00:00
Sean Dague
9013bb0c24 remove wheel cache code
Thanks to lifeless, pip now implicitly has a wheel cache so that it
builds a wheel before every install, and uses that cache. All our
clever attempts at manually doing wheelhouse things is actually
bypassing the existing cache and making things take longer.

We should remove all of this code and just let pip do this thing,
which is does very well, and get out of the way.

Change-Id: Ia140dc34638d893b92f66d1ba20efd9522c5923b
2015-11-04 12:31:39 -05:00
Jenkins
73de4a42d9 Merge "Provide an error message on bogus config file spec" 2015-11-04 15:39:03 +00:00
Davanum Srinivas
33a96ffc26 Zookeeper for DLM scenarios
In Tokyo, there was a cross project session on distributed
key locking:
https://etherpad.openstack.org/p/mitaka-cross-project-dlm

In support of the discussion there, we'll need support for
a zookeeper service in Devstack and ability to use libraries
like Tooz for DLM functionality.

In this review, we pick up some configuration files from
monasca-api and copy the lib/template to implement the
zookeeper lifecycle. Those services that need zookeeper
need to add "zookeeper" in ENABLED_SERVICES.

Change-Id: Icef26e5cdaa930a581e27d330e47706776a7f98f
2015-11-03 12:13:50 -05:00
Jenkins
c9f6f11265 Merge "Remove Ubuntu 14.10 as supported distribution" 2015-11-03 15:16:04 +00:00
Jenkins
22c9023494 Merge "Use stevedore aliases for interface_driver configuration" 2015-11-03 15:13:25 +00:00
Jenkins
a9b9fca5ef Merge "lib/nova: Remove 'DEFAULT/verbose'" 2015-11-02 20:44:59 +00:00
Jenkins
82fbf336a2 Merge "Remove CINDER_VOLUME_CLEAR value validation" 2015-11-02 20:41:50 +00:00
Martin Hickey
dca49de22f Use stevedore aliases for interface_driver configuration
interface_driver configuration was updated to use stevedore aliases.
This patch is to change devstack scripts to now use the aliases
instead of the previous class imports.

Closes-Bug: #1504536

Change-Id: Ic56bfcc1f9da05a999e6fd328e4dd6617e9470ff
2015-11-02 20:33:20 +00:00
Thomas Morin
85f42f698c Provide an error message on bogus config file spec
If local.conf specifies a config file addition in the following way...

[[post-config|$MY_CONF_FILE]]
[xyz]
foo=bar

...and $MY_CONF_FILE points to a file whose directory is not writable by
the user running the script, then stack.sh aborts with the following
obscure message:

  2015-09-01 08:20:08.113 | touch: setting times of '/': Permission denied

This patch modifies inc/meta-config to provide a useful error message,
such as:

  2015-09-01 08:20:08.114 | could not create config file / ($MY_CONF_FILE)

This patch also modifies inc/meta-config so that it provides an error
message if $MY_CONF_FILE is empty (instead of silently ignoring this local.conf
statement):

  2015-09-01 09:38:53.406 | bogus config file specification: $MY_CONF_FILE
  is undefined

Change-Id: I9b78407420318548561012a8672762bc7fdd6db6
Closes-Bug: 1490881
2015-11-02 15:35:01 +01:00
Hirofumi Ichihara
508931ff36 Remove Ubuntu 14.10 as supported distribution
Ubuntu 14.10(utopic) reached end of life[1].

[1]: https://lists.ubuntu.com/archives/ubuntu-announce/2015-July/000197.html

Change-Id: Iab13ca797bda56462d9d117aa500d3ba0d9bebcb
2015-11-02 17:50:31 +09:00
keiji niwa
463a0e6d98 Replace hard-coded --ipv6-address-mode
Looks like this was just a typo in the original
d1498d74db816b3edbb8376ca5acb7cc5792ea5c ; replace with
environment variable

Change-Id: I877c1a570a68e926c91fc8a393217e6b18245f82
2015-11-02 05:04:25 +00:00
Andrey Kurilin
55a1bca282 Remove wrong paramter COMPUTE_API_VERSION
Since:
 - novaclient doesn't require specify the *compute api* version
  (default is 2.latest now)
 - novaclient doesn't use COMPUTE_API_VERSION, since it's wrong name(
   OS_COMPUTE_API_VERSION is a correct name)

we can remove COMPUTE_API_VERSION and NOVA_VERSION vars

Change-Id: I47856863e9403870b8d60c778b97d3de1a212ae1
2015-10-30 16:36:32 +02:00
Jenkins
a9e92c225c Merge "Add the ability to install/enable Heat plugins" 2015-10-30 01:19:46 +00:00
Stephen Finucane
5ea1e16d83 lib/nova: Remove 'DEFAULT/verbose'
The 'verbose' option has been deprecated by oslo_log. Using it
results in a warning for the 'nova-manage' command and likely
many other OpenStack commands.

Change-Id: Icc11b25f56ebc62443c6afa90b9572d5c63b3882
Partial-bug: #1511505
2015-10-29 20:15:29 +00:00
Matt Riedemann
cdcdeb6460 Remove CINDER_VOLUME_CLEAR value validation
132fbcd38ebae52bdd20da54905131b75581520f in cinder changed the
volume_clear StrOpt to use the choices kwarg which enforces the value
specified and raises a ValueError if an invalid value is set for the
option in cinder.conf.

This lets us remove the validation that devstack was doing.

Change-Id: Ia7eead6297ed0f3a972de2021170fe9c7225e856
2015-10-29 09:48:17 -07:00
Thiago Paiva
abb40f6193 Correct Cinder protocol for connections on Ironic
The protocol for connections with Cinder is wrong for the Ironic script. This
patch changes the script to use $GLANCE_SERVICE_PROTOCOL, which is https when
USE_SSL=true or tls-proxy is on ENABLED_SERVICES.

Change-Id: I4d4c6f9dc6f6ee53166db109848dca64334b8748
2015-10-29 11:38:24 -03:00
Jenkins
b37ca0f7b4 Merge "Format of nova-api log files was corrected" 2015-10-29 11:35:29 +00:00
Nicolas Simonds
347dbac04e Add the ability to install/enable Heat plugins
Adds the $ENABLE_HEAT_PLUGINS variable, which should be a list of
the names of the plugins the user wishes to install.

Change-Id: I2ba90002a8fad1cdce6543c89dc37c5912fe133e
2015-10-29 16:12:36 +09:00
Jenkins
fd97214a0e Merge "Ensure we disable tenant isolation without admin" 2015-10-29 06:18:03 +00:00
Jenkins
ff113c01dd Merge "Disable shelve/snapshot/cinder when running Tempest with libvirt+lxc" 2015-10-29 05:09:35 +00:00
Jenkins
2cee71865f Merge "Remove sudo from mkdir in $STACK_USER folder" 2015-10-29 05:04:55 +00:00
Jenkins
f1d34ec8c0 Merge "Prepare neutron "use_namespaces" option removal" 2015-10-29 04:57:27 +00:00
Jenkins
310cedf677 Merge "Use swift port variable in keystone and cinder" 2015-10-29 04:57:22 +00:00
Jenkins
c77fc2e196 Merge "Add new oslo.privsep library to oslo repos" 2015-10-29 03:00:30 +00:00
Jenkins
fd3af1d8e2 Merge "Update to bashate 0.3.2" 2015-10-29 02:55:48 +00:00
Jenkins
5c38750db0 Merge "Added processing /ec2 URL" 2015-10-29 02:16:50 +00:00
Jenkins
83a2a42ac0 Merge "Add export_proxy_variables() tests to test_functions.sh" 2015-10-29 00:44:54 +00:00
Ian Wienand
5cdee8dd33 Update to bashate 0.3.2
Bashate 0.3.2 has a few new checks -- firstly make sure some of the
plugins have #!/bin/bash, and fix up a couple of "local" changes that
were missed by I9c8912a8fd596535589b207d7fc553b9d951d3fe

Change-Id: I9e4b1c0dc9e0f709d8e76f9c9bf1c9478b2605ed
2015-10-29 11:30:20 +11:00
Matt Riedemann
cf94edcbbd Disable shelve/snapshot/cinder when running Tempest with libvirt+lxc
The libvirt+lxc backend in nova does not support shelve, image snapshot
or any volume-related actions (so pretty much anything to do with
cinder), so we need to configure tempest to not run tests that hit those
operations/service when using libvirt/lxc.

This is part of an overall effort to get a CI job running for nova with
the libvirt+lxc configuration per:

Ic07c39e219121ba6b8b20de2b83a193bb735133d

Change-Id: I4decfcc5a5dfbabdecb3eb9fc93f1d1d6c2af805
2015-10-28 13:22:19 -07:00
Oleksii Chuprykov
a692810ef0 Add toggle to run Heat API services via Apache2
Add templates for running Heat API services via
apache mod_wsgi. Also add appropriate functions to
lib/heat for configuring Heat.

Change-Id: I1bdd678c44ddfa616a9db7db85ff6f490ff08947
2015-10-28 15:25:17 +00:00
Lenny Verkhovsky
313ddaee61 Remove sudo from mkdir in $STACK_USER folder
This fails in the environment where sudo does not have permissions to
write in /home/$USER folder, e.g. [1]

Also clean-up the comment/variable usage a bit; the location isn't
actually variable at all (and that's fine, but we don't need a global
here)

[1] http://144.76.193.39/ci-artifacts/228979/10/Nova-ML2-Sriov/console.html.gz

Change-Id: I6807eae9d1c27219aa7c19de29f24fa851aa787c
2015-10-28 12:18:24 +11:00
Marian Horban
4abb31d9d8 Format of nova-api log files was corrected
When nova-api and nova-ec2-api services are started by Apache
(it can be done with devstack config option NOVA_USE_MOD_WSGI=True)
log files contained duplication of timestamp value.

Change-Id: I5439ea8f89ca3073600456f67220e9d3f5257d97
Closes-Bug: #1510517
2015-10-27 14:41:51 +00:00
Cedric Brandily
b814b536c5 Prepare neutron "use_namespaces" option removal
The neutron use_namespaces option is deprecated since Kilo, it's time
remove it from neutron and devstack.

Related-bug: #1508188
Change-Id: I4feb2a15c7e1e4bfdbed2531b18b8e7d798ab3cc
2015-10-27 09:25:42 +09:00
Tony Breeds
7792bc39d4 Add new oslo.privsep library to oslo repos
A new project olos.privsep has been created but failes sdvm testing as
even though the library is added ro PROJECTS and LIBS_FROM_GIT it isn't
installed by devstack.

Add oslo.privsep to the install_oslo function

Change-Id: Ia4d56747d56dcfe50889ebbdf9d553df13e1b950
2015-10-25 17:39:37 +11:00
Falk Reimann
22f747b8df Use swift port variable in keystone and cinder
This patch alows specifiying a deviation of the swift default port 8080 with
variable SWIFT_DEFAULT_BIND_PORT. The created endpoints in keystone for
object-store and the backup_swift_url in cinder.conf will use variable
SWIFT_DEFAULT_BIND_PORT instead of the fixed port 8080.

Change-Id: I47bbcf77368c430718fb8f29b7de1ff305e64422
Closes-Bug: #1489767
2015-10-23 09:19:32 +02:00
Jenkins
0afcac2e01 Merge "XenServer: the cron job shouldn't print debug text into stderr" 2015-10-22 16:44:28 +00:00
Matthew Treinish
c148b13c60
Ensure we disable tenant isolation without admin
This commit fixes an issue with the tempest configuration when
TEMPEST_HAS_ADMIN is disabled. Without admin credentials tempest
is unable to create credentials at all so enabling tenant isolation
is not going to work. Previously devstack wasn't setting it one way
or the other when TEMPEST_HAS_ADMIN was set, which results in the
default of being enabled. So jobs that try to run tempest without
admin were failing.

Change-Id: Iff496cb5cbf29f17c130cfad746b48d8547ca965
2015-10-22 10:05:00 -04:00
Jenkins
1d7a427029 Merge "modify stackforge/swift3 to openstack/swift3" 2015-10-20 04:29:28 +00:00
Jenkins
4c73964eb5 Merge "Modify the build-wheels.sh to build_wheels.sh" 2015-10-20 04:28:49 +00:00
Jenkins
b10c6205d2 Merge "Write clouds.yaml to /etc as well" 2015-10-20 04:02:04 +00:00
Monty Taylor
8f385dde22 Write clouds.yaml to /etc as well
There are more than one user that need to access clouds.yaml values
in tests. Rather than copying the file everywhere, simply output
it to /etc/openstack.

However, we have things copying it at the moment, so output to
both places. A follow up patch will remove the homedir version.

Change-Id: I21d3c2ad7a020a5ab02dc1ab532feae70b718892
2015-10-20 11:54:00 +11:00