summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Update master for stable/zedOpenStack Release Bot2022-09-162-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: I73c0db6a1c38f19184dc42fc4187087ceb322bfe
* | | | [CI] Move queue setting to project levelwu.chunyang2022-09-201-3/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | Per [1]. [1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html Change-Id: I217033ab7266e9760ee92eb46401a11b82990030
* | | Fix illegal shell characters18.0.0.0rc118.0.0wu.chunyang2022-09-145-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change checks if the user input is legal. if illegal, we raise an InvalidValue excepiton. Story: 2010004 Task: 45128 Change-Id: Ib81646b8f8a01fcbc31d033ec205491b76a7b755
* | | Fix compatibility with oslo.db 12.1.0wu.chunyang2022-09-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oslo.db 12.1.0 has changed the default value for the 'autocommit' parameter of 'LegacyEngineFacade' from 'True' to 'False'. This is a necessary step to ensure compatibility with SQLAlchemy 2.0. However, we are currently relying on the autocommit behavior and need changes to explicitly manage sessions. Until that happens, we need to override the default. Change-Id: I93ab8e0cce22a71efc08f73bde804d99a63b4a8d
* | | Rename api_wsgi.py to app_wsgi.pyHirotaka Wakabayashi2022-09-023-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR changes wsgi script filename to app_wsgi.py. Original problem is that mod_wsgi script not found after devstack installation. This bug is created by #854356[1]. -- [1]: https://review.opendev.org/c/openstack/trove/+/854356 Story: 2010264 Task: 46163 Change-Id: I22883c8a8bb7e2818679d667b6868587a040a602
* | | Rename app.wsgi to app_wsgi.pywu.chunyang2022-08-258-5/+13
|/ / | | | | | | | | | | | | | | | | | | 1. app.wsgi is a python script and should be end with py extension. 2. Generate trove-wsgi script which is needed by kolla to support https and ipv6. 3. Ignore build directory in git 4. update docs Change-Id: Ibbd6ecb8db25aa3a443d3f526f4cf6d418eb26f3
* | Merge "Fix the missing of guest-agent.conf in guest vm"Zuul2022-08-193-2/+12
|\ \
| * | Fix the missing of guest-agent.conf in guest vmwu.chunyang2022-08-163-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | This PS sets the injected_config_owner to ubuntu and the injected_config_group to root. Story: 2010231 Task: 46023 Change-Id: I77f9d0332a123594eae434c6e1cc795242e4022d
* | | Merge "Update python testing as per zed cycle testing runtime"Zuul2022-08-182-2/+6
|\ \ \
| * | | Update python testing as per zed cycle testing runtimeTakashi Kajinami2022-07-172-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Add release notes and update the python classifier for the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com> Change-Id: Icb2db7d8db7487432864923740e82b42f52e329c
* | | | Imported Translations from ZanataOpenStack Proposal Bot2022-08-151-5/+25
| |/ / |/| | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ia27177b862e141cd7abd5e5ca09fdf0ac756d0cf
* | | Merge "Uses ML2/OVN as network backend driver"Zuul2022-08-151-11/+28
|\ \ \
| * | | Uses ML2/OVN as network backend driverHirotaka Wakabayashi2022-06-201-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR updates the Trove install instruction page using devstack to use OVN as network backend driver. Devstack has changed the default value of Q_AGENT to "ovn"[1] a few month ago, but The current Trove installation docs uses old network backend driver. [1]: https://opendev.org/openstack/devstack/commit/e38a39ad404637ca1649cea072883aa0a4592c4f Story: 2009925 Task: 44793 Change-Id: I10c7bf08324a2422fba8fcfa4aa238ac8d006030
* | | | Merge "Fix docker start failed in guest-agent"Zuul2022-08-134-3/+15
|\ \ \ \
| * | | | Fix docker start failed in guest-agentwuchunyang2022-08-094-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docker_insecure_registries is a StrOpt, but the default value is '[]' which is true for a string. Change-Id: I4b8841cc77324f274bc8210d328bc42ddef5d056
* | | | | Drop bionic supportwu.chunyang2022-08-1211-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drop the support of bionic. ref: https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: I6dd126d49196af30bd5578c6aefa90fff9f1d5c1
* | | | | Merge "Increase guest image size to 5G"Zuul2022-08-121-1/+1
|\ \ \ \ \
| * | | | | Increase guest image size to 5Gwu.chunyang2022-08-121-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trovestack built image failed due to the less disk space. this ps increases the image size from 3 to 5G ref: https://zuul.opendev.org/t/openstack/build/fedba359fbc8427c886ff2b2f0767d37/console Change-Id: I7e48d74e2e03fe168a185949b162b3dfcc6fb7d5
* | | | | Set os release to focal in devstackwu.chunyang2022-08-111-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | trove built image failed in devstack due to the bionic os release. in 'Z' cycle, openstack doesn't support bionic any more. Change-Id: I1138c4dc346d4b4bbe4d72e72ff8ae59f2fce606
* | | | Imported Translations from ZanataOpenStack Proposal Bot2022-08-043-121/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I968952ecf55c67e752c764cf1a4a80934e411ebe
* | | | Merge "Changed py39 from py27 in tox"Zuul2022-07-292-7/+6
|\ \ \ \
| * | | | Changed py39 from py27 in toxljhuang2022-07-292-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed py39 from py27 in tox for contributing doc Change-Id: Ia079b7b7f5d96858c7dfe4b3d103c0efd86ae68b
* | | | | Merge "Ignore vscode files in git"Zuul2022-07-281-0/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Ignore vscode files in gitwu.chunyang2022-07-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trivial Fix Change-Id: I8f157005409fae76c19caadf15c9dd291bd971b4
* | | | | Merge "Fix import from collections"Zuul2022-07-250-0/+0
|\ \ \ \ \
| * | | | | Fix import from collectionsThomas Goirand2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | collections.Mapping has moved to collections.abc.Mapping a long time ago, and was removed in Python 3.10. Change-Id: I303ac8fe685913cf2259386cababa4ded03f4866
* | | | | | Merge "Add release note(aka. reno) guide"Zuul2022-07-209-1/+194
|\ \ \ \ \ \
| * | | | | | Add release note(aka. reno) guidewu.chunyang2022-07-119-1/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds reloease note guide for trove project and renames some notes due to uid collision Change-Id: I55f49425dc3df6599ff6714efd8f7c1dc656ddf2
* | | | | | | Merge "Adds a configuration to use a local docker registry"Zuul2022-07-202-0/+5
|\ \ \ \ \ \ \
| * | | | | | | Adds a configuration to use a local docker registryHirotaka Wakabayashi2022-07-022-0/+5
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds an configuration to use a local docker registry for development and test purpose. Using this option in development, * Developers can test images in local docker registry * Developers don't mind DockerHub's pull ratelimit * Developers can save bandwidth * Developers can test database quickly Story: 2010125 Task: 44793 Change-Id: I762702654bc4430b8432dd96bf869408b2947ff8
* | | | | | | Merge "Add a check before executing ip replace"Zuul2022-07-201-1/+3
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Add a check before executing ip replacewu.chunyang2022-07-191-1/+3
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sometimes, ROUTER_GW_IP or IPV4_ADDRS_SAFE_TO_USE may not defined in localrc, we add a check before executing ip replace command. Change-Id: I48ca40cc2259e21b8a8f0a9fa763746c30f0e8ab
* | | | | | Merge "Fix error when list database instances"Zuul2022-07-146-38/+54
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix error when list database instancesBo Tran2022-07-126-38/+54
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When list database instances, you can't because we doing return with wrong self.addresses in db_info Story: #2010077 Task: #45568 Change-Id: I3275f605e03e6c74b744b29178de380ed2521425
* | | | | Merge "Imported Translations from Zanata"Zuul2022-07-111-2/+98
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Imported Translations from ZanataOpenStack Proposal Bot2022-07-061-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I32c18b50914cace18272b1c69aac6400b16c8364
* | | | | Merge "Uses userdata instead of personality files"Zuul2022-07-082-1/+8
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Uses userdata instead of personality filesHirotaka Wakabayashi2022-06-202-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR uses userdata instead of personality files because of Nova's deprecates personality files[1] since the the NovaApi-2.57 microversion. Original problem is guest instance creation failure due to the lack of guestagent configuration files because of the recent code chage[2]. [1]: https://review.opendev.org/c/openstack/nova/+/522027 [2]: https://review.opendev.org/c/openstack/trove/+/823632 Task: 44821 Story: 2009934 Change-Id: Id6a6aae3de17c12001b1e9946a4c0ce28ff29f73
* | | | | Imported Translations from ZanataOpenStack Proposal Bot2022-07-031-2/+187
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I18da50c47fa3112927e4ccc27ac1bd8a64356c42
* | | | Merge "Don't check task_status when creating a cluster"Zuul2022-06-061-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Don't check task_status when creating a clusterHirotaka Wakabayashi2022-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR allows load_simple_instance_addresse to get the ipaddr of an instance from neutron when creating a instance belongs to a cluster by skipping checking the task_status. load_simple_instance_addresses, which is a helper function to load ip addr information to Instance instances, currently checks task_status before getting the information from neutron. However, this logic is unnecessary and causes a logic error when instances belong to a cluster because the task_status of creating a cluster is determined after initializing a cluster, which happens in the next phase of load_simple_instance_addresses. The original reason of this code change is that the task status of a mariadb cluster hasn't change from BUILDING to NONE even after successfully creating instances belong to the cluster. Task: 45110 Story: 2009982 Change-Id: Id3234081fd3114e6536358cbdbf94b8280c8bc41
* | | | Merge "Adds new configurations for injected file owner"Zuul2022-05-113-16/+63
|\ \ \ \
| * | | | Adds new configurations for injected file ownerHirotaka Wakabayashi2022-05-023-16/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds configuration options for file owner information of injected files in GuestVM to trove.conf. File owner information should not be hardcoded as "trove" because it depends on user environments. Original problem is guest instance creation failure due to the lack of guestagent configuration files because of the recent code chage[1]. That patch was introduced since Yoga. [1]:https://review.opendev.org/c/openstack/trove/+/823632 Task: 45239 Story: 2010021 Change-Id: Iaccfe84c912025ec6d96e66ffa6ad7a4b9537b6e
* | | | | Merge "Uses glance to get image_id when creating a cluster"Zuul2022-05-1111-19/+51
|\ \ \ \ \
| * | | | | Uses glance to get image_id when creating a clusterHirotaka Wakabayashi2022-04-2211-19/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR uses glance to get a valid image_id when creating a cluster. Clusters API currently checks the "image_id" column in "datastore_versions" table, which has no valid image_id(NULL) since Victoria due to the following code and docs change[1]. The original problem of this patch is that nova api throws BadRequest exception with "Block Device Mapping is Invalid" message when creating a cluster. [1]: https://opendev.org/openstack/trove/commit/1d24b65052bbfb8f7dff5744c7bb44a58a2336c6 Task: 45004 Story: 2009982 Change-Id: I2a2932e261f47d9c8ec275bf9bd41b26983230c7
* | | | | | Merge "instance model: fix extraction of ip addresses from instance record"Zuul2022-05-082-16/+15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | instance model: fix extraction of ip addresses from instance recordAndrew Bogott2021-05-122-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instance.addresses value will be a dictionary of network: [addr_info] key/value pairs. addr_info is not itself the address but a dict that contains the address under ['addr']. The nova api changed quite a while ago so we need to catch up. In addition: this function previously returned a list of dictionaries; users of the function are clearly expecting a list of simple IPs, so return that instead. Change-Id: I9f7fed17b93e909f572949037b4e229d527e8fe4
* | | | | | Merge "Add python3.9 support"Zuul2022-04-293-4/+5
|\ \ \ \ \ \
| * | | | | | Add python3.9 supportwu.chunyang2022-04-283-4/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add python3.9 support and set the default test env from py38 to py39 Change-Id: Ie1a4790762b80b8f60eda86b879b73b8a6005eba
* | | | | | Merge "setup.cfg: Replace dashes with underscores"Zuul2022-04-281-3/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | |