Commit Graph

65 Commits

Author SHA1 Message Date
tikitavi 5971b2a3f7 increase default timeout
Signed-off-by: tikitavi <rtikitavi@gmail.com>
Change-Id: I286c209a38e4271c12f47e2f3ec44da4724efbb3
2022-11-09 12:37:41 +03:00
Andrey Pavlov 1599007dce fix devstack params
Depends-On: I64026c36fc47b860d1ee0b6deb1bfbc91522148c
Change-Id: I0f70c9cea633f0b40dd2b2aee21f0a51b05b9948
2022-04-23 14:31:28 +00:00
Andrey Pavlov 108e41f335 try to use neutron-vpnaas from plugin definition
Change-Id: I3511788ff6d59ace14086fc3265a16808c1c2d77
2022-04-16 22:09:26 +03:00
Andrey Pavlov f9e75281b4 fix UT for cinderclient
- bump version from 2 to 3 for cinderclient
- update aws ec2 interface for create_colume and
  create_network_interface. add cilent_token param
- fix describe network interface - something was
  changed in neutron ports output
- set metadata port for OVN conf file also

Change-Id: Ie3e5a5930d5a8159050ecc0900239935558dddd7
2021-09-28 19:24:15 +00:00
Zuul 1fa62312fe Merge "Revert "temporary disable functional tests"" 2019-10-01 08:37:13 +00:00
Andrey Pavlov 1886d64d3e Revert "temporary disable functional tests"
This reverts commit 3d6106d99c.

Change-Id: I390634d5321d3f4210a5d378178c8d8b1e445e19
2019-10-01 06:06:46 +00:00
caoyuan b1f4ce5593 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I1289490d8adb6910eb03d152fa4c88bd4682e4af
2019-09-13 02:03:40 +00:00
Ian Wienand ed73dc3dac Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I595e1eb1908a5fb8d389edd4342ec346e70671d3
2019-04-08 13:33:05 +00:00
Andrey Pavlov c3e30fbaf6 change error message for glance client
switch to openstack CLI in create_config and pass network for image creation

Change-Id: I1608f82eeaa6ff4c5ac55f57989bb1cfe17dbdc7
2019-04-07 13:11:14 +03:00
Andrey Pavlov 943ced6e89 up version to 9.0.0 due to release 8.0.0
Change-Id: I1ef383d29fcd57560e5cf8c91a5ff36142e18a8d
2019-03-04 06:19:38 +00:00
Andrey Pavlov c4c7633e27 change calls from neutron cli to openstack cli
neutron cli is deprecated and should be changed to openstack cli

Change-Id: I0a106820b539585572bb11786335997c755ac697
2018-11-08 15:31:34 +03:00
Andrey Pavlov 38b882d97d synchronize default vpc creation across threads
when two clients come for functions where check_default_vpc
is present then one goes to create default vpc and other fails.
it fails because vpc with is_default flag is already in DB
but children objects (like subnets) are not yet created.
For we will lock check_default_vpc function.

Another way is to rework _create_vpc. It can create VPC
without is_default flag. And at the end it can set the flag.
First thread will pass this. And second thread will fail at flag set
operation and will revert all created object. Then second thread
can check presence of default VPC again.
This way is better cause it can work across several controllers.

Change-Id: I5586fa234257b72721e328a9fa2375a56d1553c2
2018-03-24 00:49:01 +03:00
Andrey Pavlov 417b02df65 fix DB migration for MySQL
current version of migration API doesn't allow to
pass several commands to one execute

Depends-On: I9f1f39b30d43dc16a474febcf6549cf1901732ec
Change-Id: I0a74c87c4c782a7a26aa0e67fada994cb3e31434
2018-01-10 05:25:43 +00:00
tikitavi 6badd68bf0 fix for awscli in create_config
Change-Id: I6dd6e891967b72f1f9180bcca4aadd5b82e2bab4
2017-10-11 12:57:04 +03:00
Jenkins c4f3a1e8ed Merge "Use botocore in API instead of boto" 2017-08-11 11:31:02 +00:00
Andrey Pavlov 7af41603a5 Use botocore in API instead of boto
Change-Id: Ifeda67bf4b165c5aea20a4fe413f6a0a9ca58332
2017-08-10 14:48:49 +03:00
tikitavi 8104481c84 Remove code that used nova-cert
Change-Id: I744ca2901e2a77557ab54c2c9a37196e458a85c9
2017-07-07 11:35:22 +03:00
tikitavi 11b76a8812 fix register_image function
replacement of functions performed earlier with nova-cert service
function decrypt_text copied from novaclient to image api
certificates in devstack for uploading image to s3 are created by openssl

Change-Id: Ibf7b90ea29085656005317c4aa0fd96f3313da0c
2017-07-05 15:56:38 +03:00
tikitavi 907de91b55 turn on disable_ec2_classic in devstack installation
fix problem with incorrect creation of default vpc from metadata

Change-Id: If84c4cc1b7ec5664ff194cecb64b8f85ba4ca844
2017-06-15 14:58:52 +03:00
tikitavi 7939ce17e4 add using cache to metadata
if  configured adds the resulting metadata tree to the cache and
upon next request retrieves the data from the cache
reduces the time of the second and subsequent sequential requests
to the metadata approximately from 2.5 seconds to 0.1

Change-Id: Ia1408f6ef407eb97db1789b5b60d6b36b162ba4d
2017-06-07 15:26:53 +03:00
tikitavi 20f65fac2d fix ec2-api after deprecation of nova-network functions in novaclient
removed NovaEngine in addresses, availability_zones, instances, security_groups
removed unit tests for NovaEngine
disabled some unit tests using NovaEngine for further reworking

Closes-bug: #1691484
Change-Id: I662d5b57b9e46be80c1d2093038ada83897565eb
2017-05-24 20:00:19 +03:00
tikitavi 6fe6723b7a fix rally scenarios
create image in openstack if it isn't created
fix problem with image size setting in glance v2

Change-Id: I42696413bcc3ed181b0b4357aa31920461e00c55
2017-04-26 15:57:37 +03:00
Andrey Pavlov 6d30c69895 use glanceclient version '2'. fix keystone error message.
current devstack deploys glance version '2' only.
use it.

messages in keystone's exceptions was changed.
fix unit tests that checks it.

Change-Id: I7ed1f0ff518efa374a5e3b693c5785958c77340d
2017-04-19 13:10:40 +03:00
Andrey Pavlov b734297c8f switch on vpnaas for ec2-api
Change-Id: I2ef654cabbaaeb72425d1125bc6a21f9f1116068
2017-03-06 12:12:31 +03:00
tikitavi 420d4b6f4c turn on disable_ec2_classic
Change-Id: Ic3a84c1454f1c21830c2d0ac7dcc7f903519278b
2017-02-28 14:37:52 +03:00
Anh Tran 3454a21219 Typo-fix: occured => occurred
Change-Id: I07a2fb2f8b70710d9e744c9ba6cd088a2243f144
2017-02-06 11:19:16 +07:00
Andrey Pavlov 35b5f89646 use 'strongswan' package for vpnaas
Change-Id: I387947e16d5ac2b29cdfee7e7576c831857fdccb
2016-12-07 13:28:58 +03:00
Andrey Pavlov 69fcc7dab0 try to fix stages problem of devstack
Change-Id: I43b7cd09a7804d07f5b5ca28e371f1950d5d51c8
2016-12-01 18:47:40 +03:00
Jenkins dc681251f5 Merge "rework creating admin context - use keystoneauth1 lib" 2016-09-19 13:41:08 +00:00
Andrey Pavlov d67adb7223 rework creating admin context - use keystoneauth1 lib
rather than own creator of session and auth_plugin from
keystoneclient library.

Change-Id: Id7f71e08de13e77586832f6d12cba1caff3772fe
2016-09-16 17:20:55 +03:00
tikitavi fb46066cc5 add link to download devstack in README.rst
Change-Id: Ib810d40eddf2fbecf1e81c2828e8058c5a3bda6a
2016-09-12 12:17:05 +03:00
Andrey Pavlov 3c76061c24 use another params for upload-bundle
due to bugs in swift3 ec2-upload-bundle works only with
specific params.
bugs:
https://bugs.launchpad.net/swift3/+bug/1611749
https://bugs.launchpad.net/swift3/+bug/1611754

Change-Id: Ic94977d3e103d205b6435f202ccfe7d9e1ee8829
2016-08-10 20:24:51 +03:00
Andrey Pavlov 853d19d169 restore configuring bundled image in s3
Change-Id: I8018fc5a467e5be83b6d2cbd58b6c9d8744a9421
2016-08-10 13:40:06 +03:00
Andrey Pavlov 5c82883a26 fix experimental pipeline with post_test_hook.sh
Change-Id: If90a65e3697a321ea65d17801f914edc9d377da3
2016-04-12 14:46:35 +03:00
Andrey Pavlov 7fc6b47613 remove using euca2ools in install script
Change-Id: Ieff34b88d857727e02a3918908b2719535ff4b55
2016-03-17 13:52:50 +03:00
Andrey Pavlov 08a9ff7543 update devstack plugin script
remove KEYSTONE_CATALOG_BACKEND because it was removed
from devstack.

Change-Id: Iea4784f95ba2fb3a8f8fc345c429b1639331e4d1
2016-02-11 21:03:15 +03:00
Andrey Pavlov e25d1908e6 rework accessing keystone resources
do not use keystone_url in keystone_ec2_tokens_url definition.
configure these two urls independently.

Change-Id: I78c54c26820dfd7b52bf7cec81fa4ca0174a9eb6
2016-02-01 20:57:04 +03:00
Andrey Pavlov 4289a6f730 Fix 'unstack' script
Change-Id: Ib1c8d355dca2007a546de1b8b7de191a76253399
2015-12-21 18:38:48 +03:00
Andrey Pavlov 5001ee17bc Update run method of devstack services
Change-Id: Ic1d6cf454f2368cfe4fea1d3f0971db39345c427
2015-12-17 17:24:37 +03:00
Andrey Pavlov e22e6a1bc0 fix working with cinder API v2
add cinder_service_type to config
and fix code to be compatible with cinderclient v2

Change-Id: Ia7eec95e19c5472d741fc9759ef4f8929ac516f7
2015-12-15 09:23:54 +03:00
Andrey Pavlov 1bcfbe453c move config creation to devstack plugin script
It will be need for run functional tests as tempest plugin

Change-Id: Ic8a42801ac5bee5639c99b298cd13ac987e7e02f
2015-11-17 22:10:06 +03:00
Andrey Pavlov bd2625eeb9 fix installing ec2api in devstack with USE_SSL=True
Change-Id: Id64c63fdbb20338cf92495fb394c45a989217397
2015-11-09 15:40:57 +03:00
hayderimran7 d9d47550c2 Allow setting custom ec2api port to listen to
The README mentions that install.sh allows setting
custom port(other than 8788 default) to start ec2api
on but upon looking, there wasnt any option. This patch
adds the option to allow user to set a different port
prior to installation using install.sh script.
also the options defined in devstack plugin but
it isnt being set in ec2api.conf.

Change-Id: I440b69fafb5555a7a9f4d1e27b1f811d2a3ecc29
2015-10-21 00:08:23 -07:00
Andrey Pavlov 79382731bb change 'stackforge' to 'openstack' in readme-s
Change-Id: Icfda4ce8986d64fdc886205686d1823a959c74fe
2015-10-18 12:58:50 +03:00
Jenkins 0e4f5e68dc Merge "Use released novaclient in gating" 2015-09-08 05:41:46 +00:00
Feodor Tersin db0e78e0d0 Use released novaclient in gating
Since python-novaclient with microversion support (2.27.0) is released,
ec2api does not have to install it from git.

Change-Id: I1d17e5340128243597bd511cd4eb5006aedcfb5b
2015-09-08 07:09:24 +03:00
Feodor Tersin cb93689b9b Fix devstack plugin script
Specify auth version for delete endpoint and service operations.

Also remove v2.0 from keystone url to allow discovery of auth method in Nova CLI.

Change-Id: Ibfab462b89bc45f9acf9337be54d92d9be48e846
2015-09-05 13:01:39 +00:00
Jenkins 458233d61b Merge "Honour API_WORKERS setting in devstack plugin" 2015-09-04 20:14:06 +00:00
Andrey Pavlov 5f7c25ec6d fix devstack plugin script
plugin used 'openstack' to recreate ec2 endpoint
now devstack uses keystone v3 and 'endpoint list' shows
three lines. but script accepted only one.

Change-Id: I6819069a7bb0559dd34c923824695866a7edf956
2015-09-04 13:30:37 +03:00
Feodor Tersin f7595283c1 Honour API_WORKERS setting in devstack plugin
DevStack has API_WORKERS variable which mean a count of worker threads
for services. This variable allows to be set in local.conf. Otherwise it
is evaluated in stackrc script. DevStack's nova script uses it to set
workers count for ec2 and metadata services. Thus ec2-api have to do the
same.

Change-Id: I67a991be239588beb8086b7c462e559cd08da055
2015-09-03 09:38:41 +03:00