summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix illegal shell characters" into stable/yogastable/yogaZuul2022-09-165-0/+40
|\
| * Fix illegal shell characterswu.chunyang2022-09-155-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 (cherry picked from commit 0ec4d0487bfd990697752133335b799f409e4418)
* | Change settings for stable/yogawu.chunyang2022-09-027-8/+8
|/ | | | | | | Fix CI failed in stable branch. ref: https://github.com/openstack/trove/commit/d98cd1532faf07d863320fe0f101c6c18cd95471 Change-Id: I55e0e51ba2ed7151f70e737db95df038f61e19d5
* Update TOX_CONSTRAINTS_FILE for stable/yogawu.chunyang2022-07-191-1/+1
| | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Story: #2010137 Task: #45767 Change-Id: I7333a75e8855501f8a89547b93e65157f9f8afb6
* Merge "Update TOX_CONSTRAINTS_FILE for stable/yoga" into stable/yogaZuul2022-03-291-1/+1
|\
| * Update TOX_CONSTRAINTS_FILE for stable/yogaOpenStack Release Bot2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/yoga branch, tests will continue to use the upper-constraints list on master. Change-Id: I01cba9b1832b1b9055ec83f7a08cd1b850271e91
* | Merge "Update .gitreview for stable/yoga" into stable/yogaZuul2022-03-291-0/+1
|\ \ | |/
| * Update .gitreview for stable/yogaOpenStack Release Bot2022-03-101-0/+1
| | | | | | | | Change-Id: I0b6b5dc46063e6fcf32f182ca992c767a5fcb697
* | Removes the deprecated argument tenant from TroveContext17.0.0.0rc217.0.0Hirotaka Wakabayashi2022-03-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tenant argument of RequestContext in oslo.context had been deprecated long time ago and it was finally removed in oslo.context-4.0.0. We should remove the tenant argument of TroveContext that derives from RequestContext and we should also update the requirements.txt in the master branch. The original problem of this patch is the Configurations API errors in following cases: * when getting a configuration. * when adding a new configuration parameter. Story: 2009933 Task: 44816 Change-Id: Idbd0507e6c87d6926f93806d0d1eef13f557d805 (cherry picked from commit be54e5f16d7c6861cc9c3d4f0f27c4cd892b1046)
* | Removes the deprecated argument tenant from TroveContextHirotaka Wakabayashi2022-03-286-8/+8
|/ | | | | | | | | | | | | The tenant argument of RequestContext in oslo.context had been deprecated long time ago and it was finally removed in oslo.context-4.0.0. We should remove the tenant argument of TroveContext that derives from RequestContext and we should also update the requirements.txt in the master branch. Task: 44723 Story: 2009906 Change-Id: I69c7098cc0d61fbbba1dbf2eca87df0dd6fd70ba (cherry picked from commit 559d6255e5feb73b90468a25a8ba99650ad50bf2)
* Merge "Improve the detect backup was created when parse log"17.0.0.0rc1Zuul2022-02-131-3/+4
|\
| * Improve the detect backup was created when parse logBo Tran2022-01-211-3/+4
| | | | | | | | | | | | Task: #43209 Story: #2009176 Change-Id: I6aff0d185991db77b17a4f23084de6734b2b3a6c
* | Merge "Adapt to file injection deprecation in nova"Zuul2022-02-134-37/+91
|\ \
| * | Adapt to file injection deprecation in novaBo Tran2022-01-244-37/+91
| | | | | | | | | | | | | | | | | | Story: #2009770 Task: #44247 Change-Id: I34d47e709a9a7478cb6a85d6e6e37da3f92e40b0
* | | Use os-cloud trove credsDylan McCulloch2022-02-031-12/+6
|/ / | | | | | | | | | | Task: 44414 Story: 2009826 Change-Id: I382b86c341de2d5c4687fbb4cc9cc48b17a03081
* | [Doc] Describe the usage of root_on_create optionLingxian Kong2021-10-061-6/+11
| | | | | | | | Change-Id: I8a64f3dfaae824d03927d291d3510ffd04fc1995
* | Merge "Make more transparence with variable name from replica snapshot"Zuul2021-09-305-17/+22
|\ \
| * | Make more transparence with variable name from replica snapshotBo Tran2021-09-055-17/+22
| |/ | | | | | | | | | | Task: #43152 Story: #2009162 Change-Id: I469ad8b44640118883c903accfef0349e9ecb880
* | Fix trove guest agent logrotateLingxian Kong2021-09-302-7/+3
| | | | | | | | | | | | | | * The logrotate file owner should be root * Log file path is /var/log/trove/trove-guestagent.log Change-Id: I669fedc76aa79d7bfc1e4e64684adc4a89a3a15d
* | Add Python3 yoga unit testsOpenStack Release Bot2021-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I83cdddcccd1340de950e4dd3a5ab374553cecad1
* | Update master for stable/xenaOpenStack Release Bot2021-09-152-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: If4ba51747ce22d9942d0243c68b64d4eb1fa9579
* Allow regular user to get quotas16.0.0.0rc116.0.0Lingxian Kong2021-08-256-3/+98
| | | | | | | | | The project user can query the project's own resource quota. Story: 2009140 Task: 43082 Change-Id: Iebac740e982a89fcf882a2cfc3e447ac53ee6656
* Doc: Upgrade trove guest agentLingxian Kong2021-08-171-77/+99
| | | | Change-Id: I0140da9d9bea575d947fd48004088a258d95b5a9
* Merge "Run reset master when setting up mysql replicas"Zuul2021-08-023-23/+43
|\
| * Run reset master when setting up mysql replicasLingxian Kong2021-08-023-23/+43
| | | | | | | | | | | | | | | | | | | | * Only run 'FLUSH PRIVILEGES;' when needed * Fix SqlClient contextmanager initialization Story: 2009091 Task: 42921 Change-Id: I05a07402388d214dc95071be709191f63af49411
* | Merge "Replace deprecated import of ABCs from collections"Zuul2021-08-022-5/+5
|\ \
| * | Replace deprecated import of ABCs from collectionsTakashi Kajinami2021-08-022-5/+5
| |/ | | | | | | | | | | | | ABCs in collections should be imported from collections.abc and direct import from collections is deprecated since Python 3.3. Change-Id: Ic4c1cb4d9ce7595d1e684c26229a5148b5f4befa
* | Show user network ID for getting instanceLingxian Kong2021-08-0215-74/+171
|/ | | | Change-Id: Ia1e9112ae69e04f8c3e9e9d1b4a0189c743d7448
* Use Block Storage API v3 instead of API v2Lingxian Kong2021-08-023-7/+9
| | | | | | | | Block Storage API v2 was deprecated during Pike cycle and is being removed during Xena cycle, and current v3 API should be used instead. Change-Id: Iac35c8a580b0e15c397cb5e78bb228fea9730f06 Ref: https://review.opendev.org/c/openstack/requirements/+/801759
* Add periodic task to remove postgres archived wal filesLingxian Kong2021-07-2317-37/+333
| | | | | | | | | | | | * Added a periodic task for postgresql datastore to clean up the archived WAL files. * Added a check when creating incremental backups for postgresql. * A new container image ``openstacktrove/db-backup-postgresql:1.1.2`` is uploaded to docker hub. Story: 2009066 Task: 42871 Change-Id: I235e2abf8c0405e143ded6fb48017d596b8b41a1
* Fix getting config option value for databaseLingxian Kong2021-07-143-5/+12
| | | | | | Change-Id: If2d3022a59ba535e1361a3ba9bc9dd983ca25256 Story: 2009051 Task: 42821
* Merge "Allow admin user to get instances attached with any configuration"Zuul2021-07-132-8/+68
|\
| * Allow admin user to get instances attached with any configurationLingxian Kong2021-07-132-8/+68
| | | | | | | | Change-Id: I5e5f0b99f79ba78c82cbb12482b9167ec69e50f7
* | Add doc for running unit testsLingxian Kong2021-07-131-70/+42
| | | | | | | | Change-Id: Ib6a55b65767e89eb5411783934aa3cc362505dcb
* | Merge "Fix rebuild instances in replication cluster"Zuul2021-07-121-2/+31
|\ \
| * | Fix rebuild instances in replication clusterLingxian Kong2021-07-121-2/+31
| | | | | | | | | | | | | | | | | | Story: 2009043 Task: 42806 Change-Id: I3499956a7ba0a5d0ab4a49f5938ce038446d91b7
* | | Merge "Keep user defined configuration after resizing instance"Zuul2021-07-1210-49/+58
|\ \ \ | |_|/ |/| |
| * | Keep user defined configuration after resizing instanceLingxian Kong2021-07-1010-49/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Never remove user defined config, changing the function name from save_configuration to reset_configuration in trove-guestagent. * Improved some logs * Do not remove Innodb Log Files after resize which will cause error: Can't open and lock privilege tables: Table './mysql/user' is marked as crashed and should be repaired Story: 2009033 Task: 42773 Change-Id: I9e3165ed9b38b15714542e35456415e65d438497
* | | Show all the instances in descending order of creation timeLingxian Kong2021-07-101-2/+3
| |/ |/| | | | | | | | | | | This is for list instance response of admin user, keep consistent with the behavior of normal user. Change-Id: I0000b9b0139471064c9589fe5c350b6facdd80dd
* | Merge "Release note for adding iptables-persistent package"Zuul2021-07-091-0/+5
|\ \
| * | Release note for adding iptables-persistent packageLingxian Kong2021-07-091-0/+5
| |/ | | | | | | Change-Id: Iab4f5b2614080a86ae35a1071b0cc6c8ffd10bba
* | Add package iptables-persistent inside guest instanceLingxian Kong2021-07-091-0/+1
|/ | | | | | | iptables-persistent is needed to persists the iptable settings inside guest instance. Change-Id: I96bb9f948dda22f50ec2a4fb5710ad9778e16b9d
* Use bridge network for db containerLingxian Kong2021-06-2211-11/+71
| | | | | | | | | - Changed the network mode of database container to "bridge" and exposed the service ports. - Use socket file to connect with the database. - Upgrade the backup container image for postgressql. Change-Id: Id5b119f8a474befc3a2cd6e061bbffc4ae5f7bb6
* Fix backup using customized container image registryLingxian Kong2021-06-213-1/+10
| | | | | | Change-Id: Ib35743e1c315bb7fd4d0fbd99eaa409a4bf5c792 Story: 2008996 Task: 42658
* Add float types to load_items to support configuration parameters of float typechimeng2021-06-201-0/+2
| | | | | | | | | Complement missing float types when loading configuration group parameters so that parameters of type float can be attached into the trove instance successfully Story: 2008917 Task: 42508 Change-Id: Iae4d8fc52a50da4fd347270271f6761ce766d5c3
* Support customized database container images in DevStackLingxian Kong2021-06-192-0/+11
| | | | | | Story: 2008990 Task: 42643 Change-Id: Ie62e9aa1863d705a60b244981c9dee160d50d2dc
* Enable tls-proxy support in test jobsricolin2021-06-171-3/+0
| | | | Change-Id: If9fd7d01f210b317efa2a20113918362186a2402
* Fix sqlalchemy engine listenerLingxian Kong2021-06-162-25/+23
| | | | | | The sqlalchemy 1.4 had introduced some incompatible changes. Change-Id: I98c9c1d193934c37e77297a04231a24585674306
* Merge "Changed minversion in tox to 3.18.0"Zuul2021-06-031-2/+2
|\
| * Changed minversion in tox to 3.18.0likui2021-06-031-2/+2
| | | | | | | | | | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: If39d3834724ff3116a2a5ee1ae0974148c339b79