| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The change introduces a list of template data for node templates and
clusters for each plugin. The first known plugin and its first known
version are used.
At least one default template is added for each plugin, so that all
the real deployment can be covered.
The tests are skipped if the plugins key in tempest configuration is empty;
they fail if no known plugin or no known version for known plugins are found
(which probably means that the test configuration should be updated).
The list must be maintained; on the other way, after some discussions,
the alternative solution - expose all the node group and cluster
templates parameters in tempest configuration - would have made the
testing more random and too dependent on the cloud operator in charge
of running tempest.
The list of plugins is not probably going to change massively for each
release, so it seems feasible.
Change-Id: I397616f7923e696082fe67da3ff9841f89e9a505
|
|\ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These are covered by swiftclient functional testing, no need to have
them also in Tempest.
These are functionally covered by:
http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/unit/test_shell.py
and
http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/functional/test_swiftclient.py
Change-Id: Iffb75d10ad07d1516660549fc8eb60204aac4904
|
| |_|_|_|/ / / /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When using Fedora image the ssh command that executes
netcat doesn't return because stdout remanins open.
Closes-Bug: 1439065
Change-Id: I41a75a5a262ce184cbbb57c39863af3d8f21ad61
|
|\ \ \ \ \ \ \ \
| | |_|/ / / / /
| |/| | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to messaging client.
Partially implements blueprint consistent-service-method-names
Change-Id: Ibae5f78b3dee12dbab5095872b8d868fbfec7f5d
|
|\ \ \ \ \ \ \ \ |
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Adding the ability to skip test_update_instance_port_admin_state
when this operation is not supported by the test environment.
Closes-Bug: 1436839
Change-Id: Icda251c46e2fefcc80b0c712d6f42d76a7d247b7
|
|\ \ \ \ \ \ \ \ |
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Previously the unit tests for the accounts providers were assuming that
all tests would be run in order. This was causing an occasional failure
when 1 of 2 accounts with a network in the fake accounts list were used
for a test not mocking the network clients. This commit addresses this
issue by changing the fake test list in setUp to not use accounts with
networks. Then the test which does test accounts with networks will do
a cleanup on the mock from setup and use it's own accounts list.
Closes-Bug: #1446309
Change-Id: Id7eedc4f9063f33287c945ed72edd59f52d80952
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This reverts commit 2b34ec3ff444e6e6ec7b3e52832ecd6e8ca20552
This breaks gate-grenade-dsvm-ironic-sideways on
stable/juno because the requested port's mac address is not
in the list of available mac addresses from the ironic
driver.
It's also unclear how useful this is given we already have
the test_preserve_preexisting_port test which is
essentially testing the same scenario, except it's not
run on stable/icehouse or stable/juno since preserving
pre-existing ports in nova wasn't fixed until Kilo.
Change-Id: I24403c1ae734b2137ddee5c3bf5a1594cf5375d8
Closes-Bug: #1445917
|
|\ \ \ \ \ \ \ \
| |/ / / / / / / |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add test to creation of server attachec to user created port
- Create security group
- Create network, subnet, router
- Create port with security group
- Call a function to create a server with port id
- Check public network connectivity
Change-Id: I7aad651c5b1899d21f3c4b1c11d67b523ae6e727
|
|\ \ \ \ \ \ \ \
| | |_|_|_|/ / /
| |/| | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This commits adds support for specifying the network to use with a
user/tenant into the accounts.yaml file. You can only specify a single
network which will be the network used for all that requires a
pre-existing network. This also means regardless of which cred provider
is configured the fixed_network can assume a TestResource object will
be returned from a get_creds call. As part of this change a common
method to return the full network dict from a just a network name is
abstracted out into tempest.common.fixed_network module since this
same method is needed to have the accounts file provide a network by
name.
Partially-implements: bp test-accounts-continued
Change-Id: I6f5ac1239d18f2935847b385a08de608f40fdda5
|
|\ \ \ \ \ \ \ \
| |/ / / / / / / |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This commit makes some logging improvements to the common methods in
fixed_networks.py. Previously it was very difficult to trace through
any issues around network selection since it only would log the final
result and on failures. It also didn't attribute any messages to the
tests making the call. This fixes both issues by first leveraging
find_test_caller() from tempest-lib to get the test caller name and
secondly add more logging to help trace through the logic if something
fails. Additionally as part of this it was necessary to add additional
checks to the logic to ensure the logging was accurate and things were
in a known state.
Change-Id: Ifef67ed4578f48d7701635e7d81c144dc28b6120
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1)
APIs but those end up in scattered structure.
Schema files needs to be re arranged into a clean structure. Any
resource schema should be defined in single file for better readability.
This patch merge the flavor response schema into one file.
Partially implements blueprint rearrange-nova-response-schemas
Change-Id: I2f660ce072fe199b4ed4d51ac2267b871d82ef83
|
|\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1)
APIs but those end up in scattered structure.
Schema files needs to be re arranged into a clean structure. Any
resource schema should be defined in single file for better readability.
This patch rearrange the keypairs response schema into one file.
Partially implements blueprint rearrange-nova-response-schemas
Change-Id: I76ed40fbe4999c3ee84c4377a6f14fc3a2a11061
|
|\ \ \ \ \ \ \ \ \ \ |
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1)
APIs but those end up in scattered structure.
Schema files needs to be re arranged into a clean structure. Any
resource schema should be defined in single file for better readability.
This patch merge quotas response schema into one file.
Also rename schema names according to their API.
Partially implements blueprint rearrange-nova-response-schemas
Change-Id: I2378e019353f551a3ac49666edd5ecb561b5b6ed
|
|\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Merge hosts response schema of v2 into v2_1 directory.
Partially implements blueprint rearrange-nova-response-schemas
Change-Id: I5c71afb8f647b5ea6d033a353808e963e3136a18
|
|\ \ \ \ \ \ \ \ \ \ \
| | |_|_|/ / / / / / /
| |/| | | | | | | | | |
|
| | |_|_|_|/ / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
When tempest uses identity v3 - either because it's forced by a
test, or because it's configured as default, accounts can still
work with v2 accounts configured in accounts.yaml, under the
assumption that those accounts belong to
CONF.identity.admin_domain_name. The domain name is added on the
fly to newly created credentials by cred_provider, however this
is not accounted for in the get_hash function - fixing that.
Change-Id: Id0e72b9a8b85fdc682b9e14c39ecc1d8495ef35c
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
BP MTU selection and adervertisement requires sending pkts of known
sizes to verify MTU. This patch allows basic MTU testing via the
linux_client
Change-Id: Ia98ad49bad9ebbf783de599689b4684d31fadca6
|
|\ \ \ \ \ \ \ \ \ \ |
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This patch add new configuration options for the multiple strategies
for ssh access to VMs.
Partially implements: blueprint ssh-auth-strategy
Change-Id: I16cdbe0982aa35b752828054b6be2cae6c51c6ef
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / /
|/| | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Javelin uses the same field to describe disk format and container
format. This only works for ami images. This patch replaces the field
'format' in the resource file with 2 new fields: 'disk_format' and
'container_format'.
For backwards compatibility 'format' is still supported, but marked as
deprecated in the comments of Javelin.
Closes-bug: #1429909
Change-Id: Ic199956d11f8be974374b0f3c2cd7bdfedc90c8d
|
|\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: Ic3871eeadd77945ff70f925892e25d36435075fd
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This patch modifies the _check_network_external_connectivity()
method in test_network_basic_ops such that it asserts there exists
one IPv4 subnet (instead of one subnet of any address family) and such
that it tests external connectivity to only the IPv4 subnet (in the
case of a dualstack external network).
The external connectivity test currently relies on SSH'ing to an
instance through its floating IP and pinging the external gateway IP.
To test IPv6 external connectivity, this test would have to be
modified to SSH to an instance's IPv6 GUA address and use the ping6
utility to ping the external IPv6 gateway address. That enhancement is
outside the scope of this patch and can be implemented in the future.
Change-Id: I0f9ea98cb84aa72cb1505fb9ff8ac61561cc1376
Closes-Bug: #1440226
Partially-implements: blueprint multiple-ipv6-prefixes
|
|\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to orchestration client.
Partially implements blueprint consistent-service-method-names
Change-Id: I5a0d046d3811d48d3e4bddae8b0f022762c621c8
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / |
|
| | |_|_|_|_|_|_|_|_|/
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to volume client.
Partially implements blueprint consistent-service-method-names
Change-Id: I843dd43293f40bf673a033b1dbf24e035bc8f0c3
|
|\ \ \ \ \ \ \ \ \ \ \ |
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This test tries to allocate address and disassociate it without association.
Amazon allows to do it for EC2-classic and does not throw error.
But EC2 implementation in Nova throws error.
We have the same test in our own test suite against stackforge/ec2-api
(but it's not merged yet) and I checked it against Amazon -
https://review.openstack.org/#/c/171050/
I suggest to remove this test from tempest as incompatible with Amazon.
Also because of EC2 is deprecated in nova and can't be fixed.
Change-Id: I711314408ec7c4ea75f93348a7335843713e9a2b
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / /
|/| | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
In some cases a skip method was needed to check for non-admin. In other cases
there was already a try/except to handle on-admin but it needed to be changed
to use is_admin_available. NegativeAutoTest was changed to push creation of
an admin client to the point where the need has been established.
Also fixed some skip_checks methods to call super first.
Change-Id: Ie58135285a4c95c2eed9c0462c4e76af3ad5d97e
|
|\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1)
APIs but those end up in scattered structure.
Schema files needs to be re arranged into a clean structure. Any
resource schema should be defined in single file for better readability.
This patch rearrange hypervisors response schema into one file and merge some
of common schema definition.
Partially implements blueprint rearrange-nova-response-schemas
Change-Id: I21b90b8410ea62a94f8f41ecf714e2158015c6d2
|
|\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | |_|_|/ / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
javelin2 doesn't allow selection of a floating-ip pool which are a
necessity to use Javelin on multi-host environments.
This patch allows to add this from the resource definition yaml file.
Change-Id: Ifdb84dc1e8a220dec18fc043e4175d3855b0677f
|
|\ \ \ \ \ \ \ \ \ \ \ \ |
|