6557 Commits

Author SHA1 Message Date
Hirofumi Ichihara
2bb3a64892 Fix duplicated section name
Although l3_agent.ini, dhcp_agent.ini and metadata_agent.ini have
"AGENT" section as default, devstack added "agent" section.

Change-Id: Ie4034257d8aed00d67e3f28e7dd3b05cc5d89fc4
2015-08-18 12:59:08 -07:00
Marian Horban
ea21eb4f69 Remove non-ASCII characters
Change-Id: If1c68e5aab6990617519150d8aeb3f073df2ad17
2015-08-18 19:53:39 +00:00
Jenkins
dedde0984c Merge "Clone reqs repo prior to using pip constraints" 2015-08-18 19:43:12 +00:00
Clark Boylan
05aa3846a0 Just use constraints everywhere
Having behavior on your laptop diverge from behavior in the gate is
confusing. Just use constraints on every devstack run to be consistent.
Users of devstack can edit the requirements repo in order to change
these constraints locally if necessary.

Change-Id: I843208e2e982eb04931b76f5cb4bd219fbcd70de
2015-08-18 09:39:04 -07:00
Jenkins
5384a94027 Merge "Prevent spawning two VPN agents" 2015-08-18 02:59:42 +00:00
Jenkins
29948663da Merge "use $SERVICE_HOST in multi-node doc" 2015-08-17 19:40:38 +00:00
Jenkins
4d223251e8 Merge "Add header guard to functions/functions-common" 2015-08-17 19:38:05 +00:00
YAMAMOTO Takashi
fc657f4ff2 neutron-legacy: Update after DEFAULT.root_helper removal
Update after change I17cd62c8763430bf3a4b67ab5e9cf5b736065133 .

Closes-Bug: #1483501
Change-Id: Ieb5270484205cffe4ec97db0d59f012d1e7708d4
2015-08-17 11:54:56 +00:00
Jenkins
d103f47ffa Merge "_configure_neutron_dhcp_agent: Modify the right config file" 2015-08-17 03:51:09 +00:00
YAMAMOTO Takashi
1e7fb4c9a0 _configure_neutron_dhcp_agent: Modify the right config file
This has been incorrect since the initial commit
(I632df4149e9d7f78cb5a7091dfe4ea8f8ca3ddfa)

Closes-Bug: #1483499
Change-Id: Ife4defce989c4f3c7eb5381376c0f93de50a9668
2015-08-17 00:57:41 +00:00
Jamie Lennox
4b115ad526 Convert identity defaults to keystone v3 api
At this point all our function calls should be using the V3 APIs anyway
so switch the authentication credentials to v3 compatible ones and
remove all the hacks we added to force v3 API calls.

Implements: bp keystonev3
Change-Id: If92d3e11b9a363454f77527783b6d25f4da9c249
2015-08-15 05:03:41 +00:00
Masaki Matsushita
597c902dfc use $SERVICE_HOST in multi-node doc
The change fix multi-node doc to use SERVICE_HOST.
It resolves duplicate IP address.

Closes-Bug: #1485159
Change-Id: If86393e9a37bcb911a9aa125829cd8ce684edd9f
2015-08-15 11:42:00 +09:00
Lucas Alvares Gomes
51bddb8c64 Ironic: Create nodes with names
This patch is setting a name for each node created in Ironic, when
testing stuff it's easier to refer to a nome by its name then uuid.

The format of the name is: node-0, node-1, ...

Change-Id: I60fcddbcb36d1b1da8b3846b6edf14c59401f102
2015-08-14 17:21:47 +01:00
Paul Michali
e4289c88c8 Prevent spawning two VPN agents
Currently, if the VPN devstack plugin is enabled (which is
the method used for VPN in all test jobs), there will be
two VPN agent processes started. This doesn't seem to
affect the tests, but is incorrect.

To resolve this, the proposal is to do this in two steps.
With this commit, the script is modified to start the q-vpn
process, if q-vpn is enabled (legacy), and to only start
q-l3 process, if neither q-vpn nor neutron-vpnaas is enabled.

Once committed, the opertion will be the same - if no VPN
service is enabled, we get q-l3 (correct); if legacy q-vpn is
enabled (only), we get q-vpn (correct); if the plugin is used
(the default), we get two q-vpn processes started (wrong).

With a separate plugin commit (to be pushed next), the plugin
will be renamed to neutron-vpnaas, and then we'll get only
one agent process (q-vpn or neutron-vpnaas) runing. We can't
commit the plugin first, because both the VPN agent and the
q-l3 agent will be started at once (just as bad, if not worse).

Change-Id: I2bb7ac01e619c8a9b22bd517a4ff60d67035dfed
Partial-Bug: 1484141
2015-08-14 11:49:27 -04:00
Jenkins
b1ea5eacbc Merge "Rename bad option value" 2015-08-14 07:27:19 +00:00
Jenkins
049c15926e Merge "Configure glance swift communication with v3" 2015-08-14 07:24:47 +00:00
Jamie Lennox
dbdee69870 Use standard get_or_create_role to find role
The openstack role list command doesn't include any identity API version
information and so will fail when running purely with v3. We could add
this information to the command however we already have a function that
does what swift requires so we should use it.

Change-Id: I5d5417eaed432760bfb97cf35bd76a0919c6004d
2015-08-14 12:22:18 +10:00
Adam Kacmarsky
6b172c8dd5 Always add OVS port in _move_neutron_addresses_route
Added functionallity to allow _move_neutron_addresses_route to support
interfaces without a configured IP address. If PUBLIC_INTERFACE is set
to an interface without a configured IP, only the port will be
added to the OVS_PHYSICAL_BRIDGE.

Change-Id: I511ea5229ab871298086af5c96761390529bd85e
2015-08-13 15:29:56 -06:00
Jenkins
6c4dcb2e9d Merge "Fix creation of endpoints in multi-region" 2015-08-13 18:08:18 +00:00
Jenkins
5dda53884e Merge "Location of the "local.conf" file is confusing. It is updated." 2015-08-13 15:34:27 +00:00
venkatamahesh
b237b93f2b Location of the "local.conf" file is confusing. It is updated.
It was shown that the local.conf is at root devstack directory, but
it is at devstack/samples directory. So the path is updated.

1.) Copy the file into root Devstack directory.

Change-Id: I6ff8a404a3664c892bb458023c57ccc5d0926fdf
Closes-Bug: #1464491
2015-08-13 15:56:48 +05:30
David Lyle
7b105c572e Move horizon apache root to /dashboard
With keystone's move to /identity, a conflict in for resources was
created as both keystone and horizon used /identity. The keystone
config took precedence and rendered API output in the horizon UI.

This patch sets the root for horizon to /dashboard and serves all
horizon content from there. Additionally, a RedirectMatch has been added
to the apache config for horizon to redirect '/' to '/dashboard' this
will allow the implementation to change without being immediately
painful to users.

Also made the path '/dashboard/' configurable in stackrc.

Closes-Bug: #1478306
Depends-On: I9a04f936ed6d8c14775a332dc28e903992806c42

for devstack-gate changes to remove hard coded horizon url structure
assumptions.

Change-Id: I6fbca5cea9e44df160afbccc71bd045437657320
2015-08-13 01:41:57 +00:00
Jamie Lennox
75c1dfe3b0 Rename bad option value
To disable tempest running the v2 tests when the identity v2 api is
disabled you need to set api_v2=False not v2_api=False.

Change-Id: Ied8a0593619dccb5985f9a1e51feb370754336c7
2015-08-13 10:44:51 +10:00
Daniel Gonzalez
1991e75993 Fix creation of endpoints in multi-region
Keystone API v3 does currently not support filtering for region names.
As a consequence an additional check is needed in get_or_create_endpoint
to check if an endpoint must be created for a given region or if it
already exists.
See related bug for more information regarding the missing region
filtering in keystone.

Closes-Bug: #1483784
Related-Bug: #1482772
Change-Id: Ia6a497b9fb58f7474636ab52dc01b99857bed3a2
2015-08-13 02:25:56 +02:00
Jamie Lennox
19c5e62a04 Configure glance swift communication with v3
With the aim of moving everything fully over to v3 authentication we
need to configure glance_store to use v3 when calling swift.

Requires glance_store 0.8.0

Change-Id: I61e8c5a4136404077f5505ebc2edfe49841c244f
Implements: bp keystonev3
2015-08-13 00:11:13 +00:00
Jenkins
9718b79f5f Merge "Add support to lib/tempest for using tempest test accounts" 2015-08-11 17:53:31 +00:00
Matthew Treinish
df8f43b44a
Add support to lib/tempest for using tempest test accounts
This commit adds support to lib/tempest for configuring tempest to use
the test accounts mechanism. It adds a new variable
TEMPEST_USE_TEST_ACCOUNTS which will be used to trigger using test
accounts. The generate tempest-account-generator utility packaged with
tempest is used to generate the users and projects and write an
accounts.yaml. Another option TEMPEST_CONCURRENCY is added to specify
the the number of accounts to create, the value defaults to the number
of processors on the system.

The auth configuration section is moved to the bottom of the
configure_tempest function to ensure the proper auth endpoint and
catalog entries are all set in the tempest.conf file because the
tempest-account-generator tool depends on tempest knowing how to talk
to keystone to create the accounts.

Change-Id: I8682f72ffe26fd133874f5c575df6389f787ffcc
2015-08-10 20:40:53 -04:00
Jenkins
2f605b0f4d Merge "Install cryptsetup on the n-cpu nodes" 2015-08-10 12:24:31 +00:00
Ian Wienand
144dbc62f8 Remove config_apache_wsgi mention
This has only ever appeared in
I3a5d1e511c5dca1e6d01a1adca8fda0a43d4f632 and has never been exported,
referenced, etc.

Remove it to avoid confusion
(e.g. Icfad40ee6998296727a95613199e5c2d87bd0a45)

Change-Id: Ic71e841f6f751ff43083e12ad734b9c84be7b645
2015-08-10 04:19:19 +00:00
Jerry Zhao
296c1e3809 Move policy.json creation to _configure_neutron_common
To allow separating neutron l3, metadata, or dhcp agent from neutron
server or controller, there is supposed to be policy.json on the nodes
with l3, dhcp, metadata agent enabled, so it would be more appropriate
to create policy.json in _configure_neutron_common.

Change-Id: I890d647ffca05482f36ebaaf9c2c6e9e6cb23e2b
2015-08-07 21:19:01 -04:00
Jenkins
4627ac1183 Merge "Remove the old meter.yaml path from devstack" 2015-08-07 14:11:15 +00:00
Ian Wienand
c0057ed515 exercises/aggregates.sh: Only source openrc once
Only source openrc once, and remove the unnecessary re-sourcing of
"functions" which is done by openrc.

Change-Id: I61c87a0742de274d47753a0b216c56d96344d161
2015-08-07 12:37:53 +10:00
Sean Dague
2da606da2e add ebtables to world dump
I'm still at a loss about why guests stop being pingable in grenade,
so lets get ourselves some ebtables output as well.

Change-Id: I4e40eff6d0b1ef194e43b151a83206fbd50deb66
2015-08-06 10:02:43 -04:00
Attila Fazekas
6691907683 Install cryptsetup on the n-cpu nodes
test_encrypted_cinder_volumes.* tempest test failes,
when cryptsetup package is not installed.

The following error can be seen in the n-cpu log:
Stderr: u'/usr/bin/nova-rootwrap: Executable not found: cryptsetup
(filter match = cryptsetup)\n'

Change-Id: I86603f1301fa946c8bb22de3e69a2ec1ab7f1ef3
2015-08-06 11:49:46 +02:00
Ian Wienand
815db16c20 Clean up configuration documentation
The current format is just copy-paste after auto-conversion and very
inconsistent.  Move discussion of each option into a section and
reword some slightly so they read more clearly.  Group some together
into a section+sub-sections, such as the logging and ip-version option
discussions.

Add a top table-of-contents for the major sections, and then a
separate toc for each of the configuration options that are discussed
in detail.

Change-Id: Iddd27cb54f1d9f062b9c47ff9ad6a2bef3650d6b
2015-08-06 10:28:50 +10:00
Jenkins
5751017ae3 Merge "Add tempest run_validation option" 2015-08-05 12:11:28 +00:00
Jenkins
6972d1169e Merge "update cinder's key permission to allow nova snapshots" 2015-08-05 12:09:06 +00:00
Jenkins
57036ba2b7 Merge "fix multinode guide" 2015-08-04 13:50:46 +00:00
Sean Dague
a6db5e30cc fix multinode guide
The multinode guide erroneously said to enable n-api on the worker
nodes, which is a typo. n-api-meta is the thing that's needed.

Change-Id: I733896681f7f6fe3bea0fdeeb8ffc9033d7fc761
2015-08-04 06:23:28 -04:00
lanoux
994db61738 Add tempest run_validation option
This change adds the tempest run_validation option to run
tests with ssh connection in the gate.

Change-Id: I140f79b06d2e85c1d5d07fa5f117d4f8b250fa3d
2015-08-04 08:05:49 +00:00
Clark Boylan
57aafb5a9a Clone reqs repo prior to using pip constraints
We pull the pip constraints from the requirements repo so need to clone
that repo prior to using the constraints. In fixup_stuff.sh devstack
attempts to install packages like prettytable using the constraints. It
is also possible to need constraints before fixup_stuff.sh if tracking
depends. To deal with this clone requirements repo before any possible
use of constraints in pip_install.

Change-Id: I42e981c8c5ce1b8a57b9f6cce213065c72d6af11
2015-08-03 10:42:48 -07:00
Nicolas Simonds
e97cb825d2 update cinder's key permission to allow nova snapshots
Preparing the field for this patch:

https://review.openstack.org/205282

The client.cinder key needs to have write permission to the glance pool
in order to complete the snapshot process.

Change-Id: I98f16167db864ffd14e8c3dd5dec81fc16245448
2015-07-31 16:44:29 -07:00
Pradeep Kilambi
d73df506f2 Remove the old meter.yaml path from devstack
This will let us defauilt to the path within the code,
we can add the right path in once we have the file in
the codebase.

Change-Id: I9de94c5ac6349c3b46adbacb77fc877b5201285c
2015-07-31 11:08:15 -04:00
Matthew Treinish
93c10571e8
Stop relying on the tempest sample config file
This commit stops using the sample config file as the base for tempest
configuration. The sample config isn't actually needed as a based for
configuration because all the options are commented out so from the
perspective of the config parser it's a blank file.

There are 2 reasons for making this change, first using the sample
like this creates a hard dependency on tempest having a sample config
file in tree. This is something that the project wants to change since
keeping the file in sync causes headaches because of new oslo
releases. The second aspect is that it makes the generated output
difficult to read. It includes *every* option and it's description in
the generated output which makes finding where devstack is actually
setting something more difficult to find.

Change-Id: I4064a041a965ed2419b68efc8dc31fce37b24cfd
2015-07-31 10:38:50 -04:00
Jenkins
af68087be3 Merge "line wrapping for longer ceph commands" 2015-07-31 13:14:37 +00:00
Jenkins
2246a8a6fe Merge "add -n --name flag to worlddump" 2015-07-29 22:02:54 +00:00
Jenkins
643e2f3167 Merge "Adds two new configuration files" 2015-07-29 19:08:56 +00:00
Sean Dague
dd07c484e4 line wrapping for longer ceph commands
Some of the ceph commands had gotten quite long, so reviewing them in
gerrit is a bit problematic. Do some line wrapping just to bring these
back to a bit more managable state.

Change-Id: Ice5122702f2466d059dd275b038d5ff983bcda44
2015-07-29 14:10:00 -04:00
Jenkins
e0eb1a159f Merge "Remove unused variable" 2015-07-28 09:04:46 +00:00
Jenkins
47b4951d0f Merge "Fix errors in tools/ping_neutron.sh" 2015-07-28 08:51:24 +00:00