6557 Commits

Author SHA1 Message Date
Jenkins
20a854c6d2 Merge "Remove restraint on agent file from ml2 plugin" 2015-09-01 18:21:07 +00:00
Jenkins
3f249b1e21 Merge "Support installing ironic-lib" 2015-09-01 18:21:00 +00:00
Jenkins
181441d96d Merge "Add "source $TOP_DIR/lib/lvm" to clean.sh" 2015-09-01 18:20:54 +00:00
Jenkins
e306fd3c2a Merge "Fix create_userrc.sh script" 2015-09-01 18:19:45 +00:00
Jenkins
2dd78dd885 Merge "Filter out temporary addresses" 2015-09-01 18:19:36 +00:00
Jenkins
46e6da4d0a Merge "Add region definition to swift3" 2015-09-01 18:19:31 +00:00
Jenkins
04092c512e Merge "Neutron auto-discovers installed alembic_migrations" 2015-09-01 18:19:26 +00:00
Jenkins
bab2636388 Merge "Enable nbd if you're running an lxc virt_type without an lvm backend" 2015-09-01 18:19:21 +00:00
Jenkins
236356645c Merge "Remove NOVA_VIF_DRIVER variable" 2015-09-01 18:16:27 +00:00
Sean Dague
2e1a91c50b turn multi host true for nova network by default
With multi host set to true devstack's dnsmasq server no longer
listens on the network to other systems. In the gate we can see we're
getting a ton of spurious dhcp requests from other systems on the
network, and it's better that we never even see it.

Change-Id: Ie600de91e4a7da734eae722e78101c2401a7b1f5
2015-08-31 09:43:16 -04:00
Ian Wienand
9c0b9f3024 Use sudo iniset to modify /etc files
The existing mysql code is wrong and not detected as failing [1], and
boto config requires work-arounds [2,3] that are all fairly ugly.  Use
-sudo argument to iniset to handle this.

[1] I24388b5de777995f92d73076524122cf599d6371
[2] I5f4c43bbbe477c570936e2e40ac05cc38febbb3f
[3] Ib7556dac9aaaf2f3c96237e0ca28ed6ae1b1b7ac

Change-Id: Iaceb8d42ce37be728adae6fd0a30a1f9d33d4029
2015-08-31 10:56:32 +10:00
Jenkins
9f52d648fb Merge "Add file creation test" 2015-08-29 00:38:16 +00:00
gordon chung
e89126f6a4 remove too_slow_to_test flag
this flag was added to deal with inefficiencies of Icehouse. this
patch removes flag as it's not used in post-Icehouse

Change-Id: Ib715e68dc61f3c3ea0a40fae0ea57028e36285bd
Depends-On: I842dfe04725b2482399c0e95b54403fb82001645
2015-08-28 15:30:00 -04:00
Jenkins
6059752fc0 Merge "exercises/aggregates.sh: Only source openrc once" 2015-08-28 01:45:10 +00:00
Jenkins
15e8525003 Merge "Talk about local.conf first" 2015-08-28 01:36:50 +00:00
Jenkins
550ddbf379 Merge "Move configuration notes into configuration guide" 2015-08-28 01:09:05 +00:00
Jenkins
7b227387cf Merge "Move xtrace early" 2015-08-28 01:09:00 +00:00
Jenkins
a30a98099b Merge "Add -sudo option to ini setting options" 2015-08-27 22:15:30 +00:00
Chris Dent
605d6417e6 Add aodh and gnocchi to the plugin registry
The comment is their keystone service entry.

Change-Id: I896d5c594fa0c61924dbf4527215cc543b6e43e7
2015-08-27 16:19:53 +00:00
Jenkins
897d116a7c Merge "Fix syntax error on if else statement" 2015-08-27 10:30:27 +00:00
John Hua
a4693b5dea Add/Overwrite default images in IMAGE_URLS and detect duplicates
IMAGE_URLS could be set both in localrc with customization or stackrc by
default. By setting DOWNLOAD_DEFAULT_IMAGES, user could choose to add
default images to IMAGE_URLS or overwrite them.

As uploading duplicate images will cause a "409 Conflict" error, a
duplicate detection will expose it earlier.

Care needs to be taken that you don't end up with a duplicate image, so
clean up Xen's README.

Depends-On: I6fbae12f950a03afab39f341132746d3db9f788c
Change-Id: I3ca4e576aa3fb8992c08ca44900a8c53dd4b4163
Closes-Bug: #1473432
2015-08-27 10:33:26 +01:00
Ian Wienand
a35391e3bb Talk about local.conf first
We bury the lead with all the historical notes about localrc; just
talk about what is important to somebody setting up a current
devstack, which is local.conf.

There are already inline examples of config-variables, etc.  Remove
them, but add a small overview example for logging in its place.

Change-Id: I466252ffba66ef4ea180c9355f715a19eb4f8017
2015-08-27 15:19:31 +10:00
Ian Wienand
7d5be29920 Move configuration notes into configuration guide
We have configuration information split between the README.md and
configuration documentation.  A lot of it is duplicated and it shows
little organisation.

This clears the README.md of detailed configuration options and
consolidates it into the existing configuration guide.  When someone
first hits the README they don't need details on changing the RPC
back-end; but more importantly this indicates clearly where we should
be adding or clarifying details.

Firstly, the detailed overview of local.conf is removed; it was
duplicated in the configuration guide.  This is left as a first-level
section of that guide.

The configuration notes are divided into generic devstack things
(logging, database-backend, etc) and then the rest of the notes on
various projects' configuration options have been moved into a
dedicated sub-section "Projects".

Each project gets its own sub-sub-section.  Duplicated swift guides is
consolidated into the single "Swift section". The neutron and
multi-node nodes, which were all duplicated in their more specific
dedicated guides are removed and replaced with links to those.  Other
sections are moved directly.

Change-Id: Ib0bac56d82be870fe99c47c53fda674d8668b968
2015-08-27 15:17:57 +10:00
Jenkins
4ebfea9d0d Merge "Ability to specify keystone v3 in nova.conf for neutron" 2015-08-27 00:11:02 +00:00
Dmitry Tantsur
869b72b851 Support installing ironic-lib
ironic-lib will soon become a dependency of ironic, make sure we can
write dsvm gates against it.

Change-Id: I6e66ae770cf5065980848e7e987bfd75765a5ac6
2015-08-26 17:34:46 +02:00
Sean Dague
346edcc532 check all possible services when configuring tempest
The previous approach assumed that devstack in tree service support
would always be a super set of tempest. That's not necessarily
true. Instead when configuring tempest we should look at all the
possible services that tempest could know about, which will let us
disable services we don't have support for.

Change-Id: I9c24705e494689f09a885eb0a640efd50db33fcf
2015-08-26 09:38:37 -04:00
Sean M. Collins
d20435bdd4 Filter out temporary addresses
Some IPv6 addresses are temporary and are generated by IPv6 privacy
extensions. They eventually expire and are regenerated, so we should
filter them out.

Change-Id: I916d6a335bab096f765ae8c7e0e540a4349dd15f
Closes-Bug: #1488691
2015-08-25 19:24:51 -04:00
Matt Riedemann
925c256cd4 Remove NOVA_VIF_DRIVER variable
Commit 7561c8ded211d53e8745d1420a73b82bd0fc35cf removed the
libvirt.vif_driver option from Nova in Juno so we should remove the
variable from devstack since it's useless / confusing.

Change-Id: I70a8cb4a3606eb5eabd3c0ef331945e72c80543a
2015-08-25 13:40:25 -07:00
Henry Gessau
091d1ff39d Neutron auto-discovers installed alembic_migrations
Neutron and its sub-projects have been made more intelligent about the
alembic migrations of installed sub-projects. Neutron will now
discover the installed migrations and run them automatically.

Partial-Bug: #1470625

Change-Id: Iec8993b02400ae306abf520e6e70d86bba042c8d
2015-08-25 12:36:18 -04:00
Brant Knudson
2ad1a42ca6 Use keystone wsgi_scripts
Devstack was setting up a separate directory and copying
http/keystone.py into it for the admin and public endpoints.

Keystone now defines wsgi_scripts entrypoints so that
keystone-wsgi-admin and keystone-wsgi-public are created on
install so devstack can reference these files instead.

See http://httpd.apache.org/docs/2.4/upgrading.html#access for
the apache docs with examples for the Allow|Deny/Require
directives.

Depends-On: Ic9c03e6c00408f3698c10012ca98cfc6ea9b6ace
Change-Id: Ided688be62b64066d90776313c963ec5016363f2
2015-08-25 11:01:05 -04:00
Matthew Treinish
b274dbd7d0
Fix syntax error on if else statement
This commit fixes an simple syntax error on an else statement causing
it to crash instead of eval. Clearly someone has been writing too much
python and not enough bash.

Change-Id: I81d2324abd17790dc4790147f210ad7d9f0db74b
2015-08-25 10:01:39 -04:00
Jenkins
ca802bcfcc Merge "Fix trueorfalse call in tempest use accounts check" 2015-08-25 09:50:32 +00:00
Jenkins
5bb5be4b45 Merge "do not redefine path in elasticsearch" 2015-08-25 08:30:52 +00:00
Matthew Treinish
403fbb1d33
Fix trueorfalse call in tempest use accounts check
The lib/tempest variable definition for TEMPEST_USE_TEST_ACCOUNTS was
incorrectly calling the trueorfalse function by passing the variable's
value to the function instead of the variable's name. This was causing
trueorfalse the default value of false to always be returned even when
specifying the option as true in the localrc. (well assuming True or
it's variants wasn't an actual defined variable with a value that
would return true) This commit fixes this issue by properly using the
trueorfalse function.

Change-Id: I8cefb58f49dcd2cb2def8a5071d0892af520e7f7
2015-08-24 21:17:37 -04:00
Andrey Pavlov
485c962667 Fix create_userrc.sh script
Patchset fixes calculating EC2_URL/S3_URL for user rc files in 'accrc' directory.
Currently calculation of these url's uses 'openstack endpoint show' command
without specifying os-identity-v3 flag. But output is empty without such flag.
So this patchset uses same construction as exists in functions-common.

Change-Id: Ia4f2510750fa0f46e2f1d58cf0a7a16782f022b3
2015-08-24 22:55:19 +03:00
Jenkins
d66638f731 Merge "Move policy.json creation to _configure_neutron_common" 2015-08-24 18:42:29 +00:00
Jenkins
c6646a650e Merge "Use standard get_or_create_role to find role" 2015-08-24 17:21:40 +00:00
Jenkins
b64638e50a Merge "Always add OVS port in _move_neutron_addresses_route" 2015-08-24 17:08:35 +00:00
Matt Riedemann
dca06dc7de Enable nbd if you're running an lxc virt_type without an lvm backend
If nbd isn't enabled you can't boot instances with libvirt using lxc
(unless you're using an lvm backend).

Closes-Bug: #1487195

Co-Authored-By: Andrew Melton <andrew.melton@rackspace.com>

Change-Id: I08c4d498ed35166f566291d9530ca1ecfae05625
2015-08-20 14:09:22 -07:00
Andrey Pavlov
9b21f98ce0 Add region definition to swift3
Swift3 should be in the same region as all other cloud.
By default it has regaion name 'US'. It's ok for requests
that signed by version 1 of signature because they haven't
region information in request.
But S3 signature of version 4 protocol sends region name to server
and swift3 plugin checks that input region equals to internal.
And because all cloud lives with 'RegionOne' then swift3 fails
request because it has 'US' region name by default.

Change-Id: Icd817183b1a040110372a8ae5d73fd2f0ec5559c
Related-Bug: #1411078
2015-08-20 23:37:04 +03:00
gordon chung
b203d0c71a do not redefine path in elasticsearch
in I0272d56bc2e50e8174db78bd449f65f60f7f4000, we reset DEST value
when installing elasticsearch. it gets set to /opt/stack/ which is
not always correct in gate causing the path to be wrong and
elasticseach cannot be installed. we should reuse DEST from stackrc

Change-Id: Ia3a2383ada30c4e92c37386aedd6164c69cac60a
Closes-Bug: #1484182
2015-08-20 14:35:40 -04:00
Davanum Srinivas
d6456e6758 Ability to specify keystone v3 in nova.conf for neutron
As part of moving components to use keystone v3, this review
allows nova.conf's [neutron] section to switch to using the
auth_plugin in keystoneclient for talking to keystone /v3 API

Change-Id: I42502bff147534199096fb581630b8559f311963
2015-08-19 16:43:29 -04:00
Jenkins
32e0febbc0 Merge "Cloning requirements repository before pip install" 2015-08-19 08:06:30 +00:00
Mahito
67168e807a Add "source $TOP_DIR/lib/lvm" to clean.sh
When clean.sh is executed, it shows "command not found" messages.
Commands are defined in lib/lvm, however lib/lvm doesn't include clean.sh.
This pache add lib/lvm to clean.sh.

Change-Id: I56672e949d25f7cdcda879badd992f849d06c749
Closes-Bug: 1486392
2015-08-18 23:59:29 -07:00
Jenkins
6ef371e677 Merge "Fix duplicated section name" 2015-08-19 05:35:16 +00:00
Jenkins
4413007df6 Merge "neutron-legacy: Update after DEFAULT.root_helper removal" 2015-08-19 05:33:12 +00:00
Shashank Hegde
2d91fe8a6b Cloning requirements repository before pip install
The commit 05aa3846a0402edc9cc49f4ba36f09592004b273 into devstack exposed a bug
where pip_install is called before the requirements repository is cloned. This
change ensures that the requirements repository exists before pip_install is
called.

Change-Id: I60b157fc98691764a69cf022852e7a95fc50cdd7
Closes-Bug: #1486304
2015-08-18 19:08:58 -07:00
Jenkins
c2eb60a751 Merge "Remove non-ASCII characters" 2015-08-19 01:20:52 +00:00
Jenkins
987dc6453e Merge "Just use constraints everywhere" 2015-08-18 23:07:53 +00:00
Jenkins
92d996bf3a Merge "Move horizon apache root to /dashboard" 2015-08-18 20:41:49 +00:00