ec2-api jobs have been switched to use
ec2api-tempest-plugin for ec2-api tests, so
we can remove the in-tree tempest tests now.
Change-Id: I82ace9ebd1ca5216c2e3fc3d75f07146417ebf94
[service_available] isn't being generated. This patch fixes it.
It also introduces a switch to disable the ec2api tempest tests via
the [service_available]ec2api parameter.
Closes-Bug: #1613542
Change-Id: I79e2bc26f86b3be6a45a2ee8ea33c50977d44838
add logging in address association waiter.
add timeout for snapshot creation
fail test if resource can't be cleanuped
Change-Id: I7d805e5b49c359599e26c6f44d68289beee928f7
1) fix bug with filtering
filters were applied before unpaired items is added to result
2) fix races in default security group creation
3) add waiter for associate/disassociate address
4) fix security group classic test
it should choose default group group only from classic groups
5) fix describe_vpc_with_filters test
it can run in parallel with other test with same CIDR
6) fix networks list for instance run at subnet creation/deletion
7) fix selective decsribe by names
it should not delete valid items from db
Change-Id: Iadadefb8b4abebbb3b8efc0e536e5de30ed23dab
Amazon can return HTTP 500 for create_snapshot
So tests have to wait some time and try again the operation
Change-Id: I38bda4d316dba9d820024f4d49111b20ee30a486
fix working with strings for metadata server,
for some instance properties and for errors.
do some magic with types/encoding.
Change-Id: I2446fc48b51dd903a719aa4dbb1a5556af19e5df
it creates vpn between vpc and single ubuntu
installs openswan in ubuntu then it ups tunnel
and checks connectivity through tunnel from ubuntu to inner vpc addresses.
Change-Id: Ief8e65fb7fc4f9f01fa1440c99380bb974e816f4
AWS can associate an address to a subnet IP while the subnet is not
accessible from Internet due to its route table restriction.
We need to have this test case separated to have a clear mark of
supporting the feature by ec2api.
Change-Id: I86471b6656ceac2ef01002f5db0c27e6cdb69e42
nova had a bug - it didn't delete root volume of EBS instance.
Now nova can do it so we don't need to cleanup volumes.
Change-Id: I0ed961716b2bc1924d65a20846a7fe3f6fc6c367
from https://botocore.readthedocs.org/en/latest/client_upgrades.html#client-upgrades
Version 0.104.0 emitted an ImminentRemovalWarning when using the old interface. This warning is now printed to stderr by default. A user can still turn off these warnings via the warnings module.
The develop branch on github will be updated to completely remove the old interface. At this point the client interface will be the only interface available when using the develop branch on github.
A 1.0 alpha version will be released. By default, pip will not pick up any alpha/beta releases.
A 1.0 beta version will be released.
A GA (1.0) version of botocore will be released.
Change-Id: Id6661e3e1e73de018e9b4de7612972654bb27422
LOG.exception will print out the full stacktrace, that's enough.
We should only record meaningful message.
merged from I8b5c581717e6b78c11c46e226463927450c9f287
Change-Id: I49865d558ff5feda2d6a803741fbee18064b2aec
Important features:
- Nova client with microversion support is required.
- Nova API server may not support microversion 2.3 (not tested).
- Attaching volumes are not displayed in an instance bdm. Because Cinder
volume doesn't yet contain attachment info (which contains a device
name), and Nova instance volumes_attached doesn't contain a device name
(mountpoint). But a bdm must contain it.
Other features:
- v2.3 is requested always
- RunInstance result is formatted w/o extra v2.3 info, so it doesn't
contain rootDeviceName and other such info
- if rootDeviceName property is empty it's omitted instead of
to report fake /dev/sda1 as Nova EC2 does it. This leads to omit
rootDeviceType property in this case as well.
Also the same is done for corresponding image's properties.
- deleteOnTermination volume property is omitted for volume at all, and
for instance bdm if Nova doesn't report it. Previously this volume
property contained 'False' only.
- DescribeVolumes isn't used in DescribeInstances (as opposed to
DescribeNetworkInterfaces), because both methods require actual state
of corresponding OS objects, so we prevent duplication of OS requests.
- Not merged Nova client is used
https://review.openstack.org/#/c/152569/
Also:
- fix multi-run instances for EC2 Classic mode
- safe getting of OS instance security groups
- ec2context module alias is renamed to ec2_context, as it is in other
code
- fakes.CinderVolume is renamed to local standard OSVolume
- fakes.OSInstance it transformed to be initialized from a dictionary,
as it is for other fakes.OSXxx objects
- fix code style
Depends-On: Icf2b9739aaf87b4c9af13ad64a310081a68f776e
Change-Id: Id65ea0f56ffd889286d5ca082e1daf2643205c52
and add test cases for delete_on_termination preperty for NetworkInterface
Depends-On: I3d557dd95f442106c495249a5ef1d2ac36e6a2ea
Change-Id: Icf2b9739aaf87b4c9af13ad64a310081a68f776e