6097 Commits

Author SHA1 Message Date
Lucas Alvares Gomes
73d24b2c1c Ironic: Remove deprecated parameters
Ironic have updated some parameters to have a consistent name
across drivers. This patch is updating devstack to stop using the
pxe_deploy_{kernel, ramdisk} parameters which have been deprecated since
early Kilo eliminating the deprecation warnings in the logs.

WARNING ironic.drivers.modules.pxe [-] The "pxe_deploy_kernel" parameter
is deprecated. Please update the node 267e42c8-df07-49f5-bc7f-48b566acb109
to use "deploy_kernel" instead.

WARNING ironic.drivers.modules.pxe [-] The "pxe_deploy_ramdisk" parameter
is deprecated. Please update the node 267e42c8-df07-49f5-bc7f-48b566acb109
to use "deploy_ramdisk" instead.

Change-Id: I3dcf8df130efc0c2ea35695018bedba31bf0570c
2015-05-27 12:22:05 +01:00
Jenkins
5d5e997755 Merge "Use correct conf file variable name in sahara" 2015-05-26 21:29:46 +00:00
Jenkins
edfcb5f0bd Merge "Set IP_VERSION default value to 4+6" 2015-05-26 20:17:16 +00:00
Rob Crittenden
aece9ff9ef Use correct conf file variable name in sahara
When the tls-proxy service is enabled then a separate
set of ports is used internally vs externally. The
services listen on the internal port and a proxy (stud)
listen on the "standard" port and forward requests to
the internal port.

An incorrect environment variable was being used to set
the internal port in the sahara configuration so it wasn't
listening on the correct port, causing stack.sh to fail
because it thought the service wasn't up (at least not
on the right port).

Change-Id: I3384039392be786d3c189f3e4f84e069ddaf4339
Closes-Bug: #1458984
2015-05-26 15:34:11 -04:00
Jenkins
7b71d376f9 Merge "Fix remove_disabled_extensions to remove an extension at the last position" 2015-05-26 12:35:49 +00:00
fumihiko kakuma
8606c98c53 Fix remove_disabled_extensions to remove an extension at the last position
remove_disabled_extensions do matching by '$ext_to_remove","'. So it doesn't
match an extension at the last position in extensions_list.
This patch fixes that.

Closes-Bug: #1443254
Change-Id: I194b483de797697ba06b320cf33f1bac67fc0cc7
2015-05-26 12:38:35 +09:00
Guillaume Giamarchi
93ee8c876c Set IP_VERSION default value to 4+6
This is actually the default value since 645114b

Change-Id: Ib6603b4f6ea0b4079f9a4ea46e723ecbb2ea371d
2015-05-26 02:15:27 +02:00
Jenkins
9ff021f206 Merge "Update the glance image-list with openstack image list" 2015-05-25 03:43:38 +00:00
Jenkins
cf56d4e35c Merge "Remove KEYSTONE_AUTH_CACHE_DIR" 2015-05-22 02:09:57 +00:00
Jenkins
3d1ef5f3de Merge "Remove setting nonexistant [ec2] driver option in keystone" 2015-05-22 02:09:03 +00:00
Jenkins
22658fc9f4 Merge "Disable firewalld always" 2015-05-21 23:29:50 +00:00
Jenkins
4164795413 Merge "Do not set OS_CACERT if there is no CA cert" 2015-05-21 23:28:28 +00:00
Jenkins
eb38bd7602 Merge "Write out a clouds.yaml file" 2015-05-21 16:01:08 +00:00
Jenkins
0b1b647096 Merge "Add new options to baremetal config section" 2015-05-20 13:32:01 +00:00
Jenkins
5dd889f4e1 Merge "Support for running Nova with oslo.rootwrap daemon" 2015-05-19 20:26:14 +00:00
Jenkins
0479bc101c Merge "Infer rootwrap arguments from project" 2015-05-19 20:24:33 +00:00
Jenkins
c9e842871b Merge "Don't set tempest fixed_network_name with neutron" 2015-05-18 02:34:04 +00:00
Jenkins
db7809880b Merge "Use stevedore for keystone backends" 2015-05-15 22:59:18 +00:00
Matthew Treinish
4b684aed31
Don't set tempest fixed_network_name with neutron
If neutron is enabled then there isn't a shared private network
between all tenants which is what is required for the
fixed_network_name config option. This commit adds a conditional
to not set that option when neutron is enabled. While not necessarily
fatal to tempest it does emit a warning on almost every server create
call if it is set with a non-existent network name.

Change-Id: I1a42fa6b0b5a93b411c08ec35df043d6ea69d453
2015-05-15 14:24:47 -04:00
Ian Wienand
3380a16974 Disable firewalld always
We've bike-sheded over this before
(I5252a12223a35f7fb7a4ac3c58aa4a3cd1bc4799) but I have just traced
down further issues to firewalld with neutron+ipv6 (see the bug).

In fact, as mentioned in the comments, RDO disables firewalld and the
neutron guide says to disable it [1].  The force flag is left if
anyone really wants this; but nobody is testing (or, as far as I can
tell, working on) this so bring devstack back into line and disable it
always.  Note we do not remove the package; as has been found in the
puppet scripts this can lead to dependency issues.

[1] http://docs.openstack.org/developer/devstack/guides/neutron.html

Change-Id: Ief7cb33d926a9538f4eb39c74d906ee0c879de35
Partial-Bug: 1455303
2015-05-15 19:14:19 +10:00
Davanum Srinivas
8afbaa1c80 Support for running Nova with oslo.rootwrap daemon
Nova is being enhanced to use rootwrap as a daemon. For this effort,
we need an additional entry for nova-rootwrap-daemon in the
sudoers.d/ directory.

Needed by:
I57dc2efa39b86fa1fa20730ad70d056e87617c96

Change-Id: I80c7b9dd8e9e0f940aa4e54a95b241dfc40d3574
2015-05-15 04:26:04 +00:00
Ian Wienand
c678241308 Infer rootwrap arguments from project
We can infer the binary and configuration paths just from the project
name and expanding this to the known *_DIR & *_BIN_DIR variables.  A
similar thing is done for policyd settings

Change-Id: I7c6a9fa106948ae5cbcf52555ade6154623798f1
2015-05-15 14:01:20 +10:00
Monty Taylor
61045ca58a Write out a clouds.yaml file
os-client-config consumes clouds.yaml files, which is now supported in
python-openstackclient and shade. It also makes for a non-envvar way of
getting config info into functional tests.

Change-Id: I1150b943f52f10d19f8434b27e8dde73a14d7843
2015-05-14 13:58:19 -04:00
James E. Blair
9e220b9b2b Move trove into in-tree plugin
Once the trove code is copied into the trove repo and it is used
as a devstack-plugin, we can remove trove-specific code from
devstack.

Change-Id: I8f9f1a015edb7ec1033e2eaf0b29ab15d89384ce
Depends-On: I3506dec0e6097f9c2e9267110fdfb768faa23c85
2015-05-14 07:57:23 -07:00
Jenkins
bf5de0aee4 Merge "Prevent setting tempest fixed_network_name for cells" 2015-05-14 03:23:17 +00:00
Jenkins
589bef2d09 Merge "Cinder: Set os_privileged_user credentials (for os-assisted-snapshots)" 2015-05-14 02:24:49 +00:00
Jenkins
632b83d2f3 Merge "dump compute consoles on fail as well" 2015-05-14 00:55:55 +00:00
Jenkins
a79de45497 Merge "glance: remove deprecated store options" 2015-05-13 16:30:52 +00:00
Jenkins
92619ddb61 Merge "Add python_version function to functions-common" 2015-05-13 11:41:06 +00:00
Sean Dague
737e94202f dump compute consoles on fail as well
This provides a dump of the compute consoles as well on failure.

Change-Id: Ib253537a54a1b9d83a930bbefa4512e039575fd1
2015-05-13 05:58:41 -04:00
Swapnil Kulkarni
a747cd25f7 Update the glance image-list with openstack image list
Change-Id: I0f0f15cb204daf12fbc12384f04a2cd9618c4bef
2015-05-13 09:27:48 +00:00
Jordan Pittier
38bee18a2c Cinder: Set os_privileged_user credentials (for os-assisted-snapshots)
When calling os-assisted-snapshots APIs, Cinder often (by default) needs
 to pass an admin token to Nova. Currently it uses the credentials of
 the current user.

This will cause calls to Nova APIs for assisted volume snapshots to fail.

Configuration options should be added to specify different credentials
for talking to Nova.

Change-Id: I9e3ed53f4e1349d57a0c33518445f54ac63e36ec
Related-Bug: #1308736
2015-05-13 07:15:40 +00:00
Joe Gordon
1fa82aab66 Install g-r version of OSC in configure_tempest
configure_tempest uses python-openstackclient (OSC) and we call
configure_tempest in grenade on the new side. So we need to make sure
the version of OSC is installed matches global-requirements on new.

Change-Id: I6fae9b8b081355b45e7c8d622d8db2482d41b464
Closes-Bug: #1454467
2015-05-12 20:07:10 -07:00
Jenkins
c5caff6776 Merge "Fix function and test for 'trueorfalse'." 2015-05-12 21:34:29 +00:00
Jenkins
a51db5503e Merge "add network info to the worlddump" 2015-05-12 18:48:31 +00:00
Chris Dent
3a2c86aabf Add python_version function to functions-common
This makes it possible to list virtual site-package directories
without statically stating the python version, which is a bit ugly.

Change-Id: I3e7ac39eb43cdc4f656e0c90f3bfb23545722aef
2015-05-12 18:30:31 +00:00
Louis Taylor
cbe12eb72e glance: remove deprecated store options
glance_store has now been fully migrated, so we can remove these from the
config files.

Change-Id: I987ab6338b235f0beeed7c7fe74b0f5b6526f70d
2015-05-12 16:49:49 +00:00
Jenkins
d5bcc42a71 Merge "lib/swift: the s3_token middleware should be provided by keystonemiddleware" 2015-05-12 11:07:13 +00:00
Jenkins
041fd16521 Merge "Use an actual existing nova scheduler in README.md" 2015-05-11 21:36:38 +00:00
Sean Dague
60a140571e add network info to the worlddump
This adds potentially helpful networking info to the world dump.

It also refactors some of the output mechanisms into reusable
functions for cleanliness in the code.

Change-Id: I39f95bd487c152925f8fadd1799149db35cffd52
2015-05-11 14:56:49 -04:00
Brant Knudson
eb7a0d9b2d Remove KEYSTONE_AUTH_CACHE_DIR
Keystone doesn't use a cache directory.

Change-Id: I569b406db46cf6bdabcbfd8c5eb6f3cbdbc3cff7
2015-05-11 12:54:33 -05:00
Jenkins
75bae7076a Merge "nova: remove allow_migrate_to_same_host config usage" 2015-05-11 15:43:23 +00:00
Brant Knudson
71a8eccdc3 Remove setting nonexistant [ec2] driver option in keystone
There's no [ec2] driver option in keystone.

Change-Id: Ifee92127f32db85d4d55f665471c8da1c9a970e7
2015-05-11 10:37:18 -05:00
Brant Knudson
331a64f9d0 Use stevedore for keystone backends
With bp stevedore, keystone will load backend drivers using
stevedore entrypoints. Using the qualified class name is
deprecated.

Since stevedore is going to validate that the entrypoint is
found, there's no need to list the valid backends, so backend
validation was removed. This change will cause the server to fail
to start if the backends are misconfigured rather than using the
default one.

The names of the stevedore endpoints are "sql", "ldap", etc.,
rather than the qualified class name, so the way that these
are specified in KEYSTONE_IDENTITY_BACKEND, etc., is the same as
the stevedore entrypoint and there's no need to translate.

Change-Id: I81e4e3a6c97b0057610e6b256aff5df4da884e33
2015-05-11 10:34:08 -05:00
Mahito OGURA
98f59aafaf Fix function and test for 'trueorfalse'.
The function's comment is written as follow, however the function accepts
other values (ex. "e", "t", "T", "f", "F", etc...).

---
Accepts as False: 0 no No NO false False FALSE
Accepts as True: 1 yes Yes YES true True TRUE
---

Moreover if testval mach True or False, the function exits without resetting
xtrace.

This patch fixes the issue and add test patterns.

Change-Id: Ie48a859476faff22a4dfef466516e2d7d62ef0c0
Closes-bug: #1453687
2015-05-11 18:23:07 +09:00
Jenkins
e3fcc54b9b Merge "Add toggle to run Nova API and EC2-API under Apache2" 2015-05-10 22:29:38 +00:00
Jenkins
0884c25b1b Merge "Fix wrong sudo ceph -c command in lib/ceph" 2015-05-10 22:28:36 +00:00
Jenkins
f9b80e2dd2 Merge "Stop installing nose and pylint from distros" 2015-05-08 21:06:14 +00:00
Jenkins
db8898c495 Merge "Update default cirros version" 2015-05-08 18:43:38 +00:00
Jeremy Stanley
091b42b7da Stop installing nose and pylint from distros
The distro packages of nose and pylint depend on python-setuptools
on some platforms, and on some of those platforms (at least CentOS
6.x) you can't resolve dependencies on python-setuptools properly if
you've forcibly removed it already (as we do on our CI workers). It
appears that any current upstream use of these tools in relation to
DevStack-based testing is now relying on tox and pip to obtain them
instead.

Change-Id: Ibd16ac550c90364115caf57fae4f5f4cb5d5f238
2015-05-08 17:43:08 +00:00