6557 Commits

Author SHA1 Message Date
jianghua wang
78f6c1d70b tools/Xen: failed to install domU in new XenServer
Current install_os_domU.sh depends on some keywords which are changed in the
next version XenServer which is upgraded to CentOS 7. So with the existing
script to install domU in the new version XenServer, it will always fail.
This patch is to make it to be compatible with all XenServer versions:
1. the output format of "ifconfig" is changed; the fix is to use the ip
   command to retrieve IP address.
2. In XS 6.5 and the previous XS, the "xe-guest-utilities" package file name
   is as "xe-guest-utilities_<version>_<arch>.deb" but now it delivers a
   single file for all Arch's and the file name is
   "xe-guest-utilities_<version>_all.deb". In order to make it to be
   compatible, the fix will try to search the old file name pattern by
   default. If it does't exist, then try to search the new file name pattern.

Change-Id: I893e89e42a5ef7dd079b571ea308f318c9befc9e
Closes-Bug: #1494241
2015-09-24 09:07:26 +01:00
Jenkins
c00e39901b Merge "Fix typos in stackrc and unstack.sh" 2015-09-15 03:17:15 +00:00
Wei Jiangang
be65c6f88d Fix typos in stackrc and unstack.sh
Componets => Components
pluggins => plugins

Change-Id: I82634a55fd5895599099c94817af7d8d2f602859
2015-09-14 18:55:07 +08:00
Jenkins
7d4485ce54 Merge "Fix the FLOATING_RANGE in the Neutron guide" 2015-09-14 05:45:00 +00:00
Jenkins
2f746c5243 Merge "Use keystone wsgi_scripts" 2015-09-14 05:21:26 +00:00
Jenkins
1cf97bd096 Merge "Fix typo in lib/keystone" 2015-09-14 02:34:18 +00:00
Jenkins
a54c0d67fd Merge "check LIBS_FROM_GIT" 2015-09-11 19:14:22 +00:00
Jenkins
d95ec812e0 Merge "move back to editable install for oslo" 2015-09-11 19:14:18 +00:00
Jenkins
416e869611 Merge "database: fix PostgreSQL connection string" 2015-09-11 17:32:34 +00:00
Sean Dague
c71973eb04 check LIBS_FROM_GIT
after the glance_store vs. upper-constraints bug, it's probably worth
actually enforcing and sanity checking that devstack is doing what
it's being asked of with LIBS_FROM_GIT. This will hopefully reduce
user generated error.

This *might* not work with the current oslo naming, we'll have to test
and normalize that.

Change-Id: Iffef2007f99a0e932b68c4c897ebbfb748cac2b4
2015-09-11 07:01:02 -04:00
Sean Dague
2105b9f9ce move back to editable install for oslo
Now that we don't have namespace packages any more, editable installs
should be fine. This also means that we apply constraints to these
libraries during installation, which is important for future testing.

This is needed in order to be able to easily sanity check
LIBS_FROM_GIT, as then all libs installed from git will have pip urls
with git in them.

Change-Id: I46c3b8f943b97f912eccc7278e3e033ae67e7e31
2015-09-11 06:59:29 -04:00
Hidekazu Nakamura
17fe88a72c Fix typo in lib/keystone
nonadmin => nonadmins

Change-Id: I9d51e079c10f7c48b962a1d6f4577e8a6ec4a229
2015-09-11 19:52:18 +09:00
Jenkins
0904bb9370 Merge "remove unused param from tempest config" 2015-09-10 20:54:11 +00:00
Jenkins
8ed89a8a56 Merge "Add trailing IDENTITY_API_VERSION to OS_AUTH_URL in swift_configure_tempurls" 2015-09-10 20:53:52 +00:00
Jenkins
873e9fc990 Merge "Provide hook for neutron plugin config" 2015-09-10 17:35:25 +00:00
Christian Berendt
1c394829d1 Fix the FLOATING_RANGE in the Neutron guide
The range should be 172.18.161.0/24 and not 172.18.161.1/24.

Change-Id: I29bb24a1a278c285a00cd69188de340670891c53
2015-09-10 12:16:51 +02:00
Jenkins
f25c9ec366 Merge "Fix typos in devstack/stack.sh" 2015-09-09 23:46:37 +00:00
Jordan Pittier
e8c70e23b5 Tempest: add a Cinder extend_with_snapshot feature flag
A new tempest test is being added in https://review.openstack.org/#/c/200108/
but it doesn't run by default because the test fails on Juno. So a
feature flag in Tempest is added. This patch turns on this feature
flag at Devstack's side.

Change-Id: If1cf90dac3edc81a483fc51da74495042c96d543
2015-09-09 14:24:27 +00:00
Jenkins
633e740dcf Merge "Add aodh and gnocchi to the plugin registry" 2015-09-09 12:22:07 +00:00
Chris Dent
23f65cb9d7 Update lib/ceilometer to reflect script renames
Without this change some services for ceilometer will not start
breaking CI.

This change I7447ba4f408c95b0acf1b809504ce16fff1c6e21 was validated
against the ceilometer devstack plugin but apparently not against
devstack itself. Until I413ab159474b7d7231ad66d3a482201f74efe8a8
merges devstack still has ceilometer support and is used in the
gate.

Change-Id: Ib1ea8b6ef7019570f82b0ba87e03fc627c8f6801
2015-09-09 08:56:15 +00:00
Hirofumi Ichihara
97cc85b9b1 Provide hook for neutron plugin config
This removes a restriction for neutron vendor plugin.
Some neutron vendor plugins were already decomposed and
there is no config file in Neutron tree. They should prepare
the file in each plugin.

Change-Id: I4997b8eae1f433b1c23f20c06ba254568ac4982b
2015-09-09 14:34:47 +09:00
Jenkins
9627f1a3e3 Merge "remove too_slow_to_test flag" 2015-09-08 20:01:19 +00:00
Julien Danjou
0eec4f86c1 database: fix PostgreSQL connection string
If all databases drivers are loaded, MySQL SQLAlchemy driver
overrides all the other one that might not have set one.
This patches fixes that.

Change-Id: If6d8d08e5b7b7c48ca012677b536d71058def6fd
Closes-Bug: #1493304
2015-09-08 16:15:33 +00:00
Wei Jiangang
2af6915e08 Fix typos in devstack/stack.sh
log to the the file => log to the file
pluggins => plugins

Change-Id: Iff5c54c39afb4398962bfe6a0500b1f011c75c8a
2015-09-08 18:08:41 +08:00
Christian Schwede
3e3212b52d Add trailing IDENTITY_API_VERSION to OS_AUTH_URL in swift_configure_tempurls
The python-keystoneclient requires a trailing /v<IDENTITY_API_VERSION> to
successfully authenticate, otherwise it fails with a 404 error due to a not
found resource.

This error showed up only when generating Swift tempurls, because the error was
raised when using python-swiftclient.

This change fixes this for python-swiftclient within devstack.

Change-Id: Ibe222d65162898db69acba076b5fe1cb3621fbc3
Closes-Bug: 1492216
2015-09-08 08:33:57 +02:00
Jenkins
f86d2e1a05 Merge "docs: add a blurb in the single-vm doc about cloud-init log output" 2015-09-08 05:20:16 +00:00
Takashi NATSUME
b848ad783f Fix a typo in make_cert.sh
Change-Id: I6d4f02edf843f0519c3d0413bb033604a7ec73e9
2015-09-08 10:56:28 +09:00
Brian Haley
9451021200 Fix typo in _move_neutron_addresses_route()
A previous change in this code had a typo, reversing the
definitions of IP_ADD and IP_DEL, noticed while debugging
another issue.

Change-Id: Ifb87de1138eeb72081a2e52a5c81bfe9fe91ecd6
2015-09-06 15:35:44 +00:00
Jenkins
42bff13ecf Merge "Disable the shelve tests for nova-cells using tempest config" 2015-09-06 11:58:16 +00:00
Jenkins
0ad191463c Merge "Remove restraint on plugin file from neutron plugins" 2015-09-06 11:54:52 +00:00
Andrey Pavlov
e0550190a5 remove unused param from tempest config
Remove setting of ssh_user param to boto section.
Because boto uses user name to ssh from compute.ssh_user

Change-Id: Ifd5b99ef35eaf126a3c6e0055837c4741353345e
2015-09-06 12:05:49 +03:00
Jenkins
85298c95f3 Merge "Revert "Convert identity defaults to keystone v3 api"" 2015-09-04 21:50:11 +00:00
Jenkins
61716205b2 Merge "Use the pip installed version of requests with Fedora" 2015-09-04 19:21:24 +00:00
Jenkins
65090241c4 Merge "Revert "turn multi host true for nova network by default"" 2015-09-04 15:59:35 +00:00
Lucas Alvares Gomes
f768787bdd Revert "Convert identity defaults to keystone v3 api"
This change have broke the Ironic tests. Reverting to unblock the Ironic
gate.

This reverts commit 4b115ad526df7e12bbdc71e0280b3c691e53ed04.

Closes-Bug: #1492216
Change-Id: I03acfdf47caf435cede1df08fd79b288a6662435
2015-09-04 15:35:01 +01:00
Matt Riedemann
9752431892 Revert "turn multi host true for nova network by default"
This reverts commit 2e1a91c50b73ca7f46871d3a906ade93bbcac6a7

It looks like this introduced race bug 1491949 in the
gate-tempest-dsvm-large-ops job causing rpc timeouts when
deallocating network information for an instance,
specifically around the dnsmasq callback to release the
fixed IP that the instance was using which triggers the
disassociation between the fixed IP and the instance in the
nova database.

Change-Id: I163cdeea75e92485f241647c69aea0d7456c3258
Closes-Bug: #1491949
2015-09-04 14:15:27 +00:00
Jenkins
d21a29cb9e Merge "Use sudo iniset to modify /etc files" 2015-09-04 08:38:40 +00:00
Jenkins
239eb22468 Merge "Fix upload_image error in stackrc" 2015-09-04 08:02:58 +00:00
Jenkins
c0581ef9fd Merge "Invoke Heat via console script generated binaries" 2015-09-04 07:59:44 +00:00
Attila Fazekas
c7e772c164 Use the pip installed version of requests with Fedora
The upstream version of requests contains a copy
of urllib3 and cardet library, common practice in many distros
to create symbolic links for these libraries instead of creating
a huge package which contains the same library as the distro provides
as separate package as well.

Now devstack upgrades the urllib3 to incompatible version,
but it leaves the requests unchanged because Fedora already has the
latest version.
The issue does not happens with Ubuntu because it has older requests
and devstack updates it as well.
The pip installed version contains a bundled urllib3 and the actually
installed urllib3 version does not matters.

This is not the `usual` distro package overrides pip installed package
case.

Change-Id: Icfa71368384b0c2e3ff39265b2fa9190b5566b9b
Related-Bug: #1476770
2015-09-04 09:18:53 +10:00
Jenkins
7594b10012 Merge "Convert identity defaults to keystone v3 api" 2015-09-03 22:24:40 +00:00
Mikhail Feoktistov
0c3a3b051e Fix upload_image error in stackrc
This commit fixes error caused by adding default image path to IMAGE_URLS without ','
If user sets IMAGE_URLS in localrc like
IMAGE_URLS="path1, path2" (with a space after the comma)
the we get an error "binary operator expected" in
if [ -n $IMAGE_URLS ] condition and a comma will not be added to the end of IMAGE_URLS
In the code below we add default image path(path3) to IMAGE_URLS and we get
IMAGE_URLS="path1, path2path3"

Change-Id: I6543f7178c49a42c71ad9df4cdb4c6e78cbf7758
2015-09-03 18:38:35 +03:00
Jenkins
1d0b0d363e Merge "Add/Overwrite default images in IMAGE_URLS and detect duplicates" 2015-09-03 08:52:59 +00:00
Jenkins
78583df6bd Merge "turn multi host true for nova network by default" 2015-09-03 05:24:49 +00:00
Jenkins
29baec4bdd Merge "add options to support nova test matrix" 2015-09-03 05:22:15 +00:00
Chuck Carmack
09b431d72d Disable the shelve tests for nova-cells using tempest config
Change from using a blacklist to disable the shelve tests for
nova-cells to using the tempest config option to disable the shelve
feature tests.  This is the intended method of disabling feature tests.
This first commit is to add code to lib/tempest to disable the shelve
feature test if the nova-cells service is enabled.  The next
st will remove the shelve blacklist from
http://git.openstack.org/cgit/openstack/nova/tree/devstack/tempest-dsvm-cells-rc

Change-Id: Ibf1f9aaa63e5f17b7d8774b511940ba8421e0887
Partial-bug: 1491152
2015-09-02 14:36:08 +00:00
Hirofumi Ichihara
36daecd1a3 Remove restraint on plugin file from neutron plugins
Neutron plugin always needs plugin file even if the plugin
is out of tree. This patch remove the restraint.

Change-Id: Iedd52db6430def47505a127986170d7279966141
Closes-Bug: #1477452
2015-09-02 07:15:57 +00:00
Jenkins
f560df36cc Merge "check all possible services when configuring tempest" 2015-09-02 06:27:40 +00:00
Matt Riedemann
f798ec1242 docs: add a blurb in the single-vm doc about cloud-init log output
I had to poke around for awhile to find /var/log/cloud-init-output.log
so I figured I'd add a sentence in the docs about using that.

Change-Id: I8bb6cb730032e41661ee443da816cbea2b28f76d
2015-09-01 13:20:48 -07:00
Sean Dague
8349aff5ab add options to support nova test matrix
This adds 2 devstack options:

NOVA_V2_LEGACY={True/False} which is whether we'd like to force the
/v2 endpoint to use the legacy v2.0 code base.

it also provides TEMPEST_COMPUTE_TYPE as an way to pass in which
service catalog entry we'd like to use for compute testing.

We also make v2.1 the default compute endpoint, as that's what we'd
like everyone to be testing and using. The other options will let us
build jobs that nova can run to ensure those APIs don't regress.

Change-Id: Ie6b7e4290d9a1d9789d04099b3b31c9a557bc22b
2015-09-01 15:25:54 -04:00