summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix illegal shell characters" into stable/xenaxena-em16.0.1stable/xenaZuul2022-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/xenawu.chunyang2022-09-027-7/+8
|/ | | | | ref: https://github.com/openstack/trove/commit/d98cd1532faf07d863320fe0f101c6c18cd95471 Change-Id: I615574dade0526aaeb6707f0bbcde6a55ed2a345
* Update TOX_CONSTRAINTS_FILE for stable/xenawu.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
* 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
* Update TOX_CONSTRAINTS_FILE for stable/xenaOpenStack Release Bot2021-09-151-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/xena branch, tests will continue to use the upper-constraints list on master. Change-Id: I7b1e1213d5ceb67c44b3899bc3e0fea16f17ee9d
* Update .gitreview for stable/xenaOpenStack Release Bot2021-09-151-0/+1
| | | | Change-Id: I4363dc33401d0fb230b1f3a39f01535fcdf851e0
* 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
* | Merge "Don't create nova instances with fqdn as their name"Zuul2021-06-032-4/+8
|\ \
| * | Don't create nova instances with fqdn as their nameAndrew Bogott2021-05-312-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If dns integration is enabled, a db instance's 'hostname' refers to the dns-determined fqdn of a database instance. It will probably be something like whatever.trove.example.org Passing that fqdn into nova gets us a VM whose hostname is whatever.trove.example.org. Presumably that host is itself in a domain, so we wind up with an fqdn on the VM of something like whatever.trove.example.org.example.org. Seems wrong. Furthermore, if this is running in a cloud that already has automatic DNS integration (a standard neutron/designate thing) then we wind up trying to create a record in the 'example.org' domain with the record name of whatever.trove.example.org which is likely to confuse designate along with human users. Story: 2008915 Task: 42506 Change-Id: I6d223f9d1a15a1ed0a0269730a544c321cf6595f
* | | Merge "Wait for volume status before resize_fs"Zuul2021-06-031-1/+6
|\ \ \ | |_|/ |/| |
| * | Wait for volume status before resize_fsLingxian Kong2021-06-021-1/+6
| | | | | | | | | | | | | | | | | | Story: 2008916 Task: 42507 Change-Id: I7d29cf71d03174a439124fb3cf52c24e375d1f49
* | | Merge "Doc: move from freenode to OFTC"Zuul2021-05-311-6/+3
|\ \ \ | |_|/ |/| |
| * | Doc: move from freenode to OFTCLingxian Kong2021-06-011-6/+3
| |/ | | | | | | Change-Id: Ie398a633af429bf726f3b1ee85c93a1834c601b7
* | Fix CI for trove XenaLingxian Kong2021-05-311-5/+49
|/ | | | | | | * use ubuntu-focal for devstack * use the legacy openvswitch neutron agent Change-Id: I8da867d56deca12d32bfd13e8d54e500da544902
* Merge "setup.cfg: add oslo.policy.enforcer"Zuul2021-05-041-0/+3
|\
| * setup.cfg: add oslo.policy.enforcerAndrew Bogott2021-05-021-0/+3
| | | | | | | | | | | | This allows generation of sample policies, policy diffs, etc. Change-Id: I41d989d876a73f49684d8212d27e48876190f210
* | Fix periodic public image jobLingxian Kong2021-05-041-6/+2
| | | | | | | | Change-Id: I2f6acb879004feb4d935ba81e3dabf6e54ec2ab4
* | Merge "Dropping lower constraints testing"Zuul2021-05-032-171/+0
|\ \
| * | Dropping lower constraints testingzhangboye2021-05-032-171/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: I7261114a545c8c016f96ecf20e3fcdc00c3bab99
* | Fix typo in zuul configLingxian Kong2021-05-031-1/+1
|/ | | | Change-Id: I1f6ba130f12fa346e6eb3a8b3301ae99491753b9
* Fix check_subnet_router filtersDmitriy Rabotyagov2021-04-131-0/+6
| | | | | | | | | | | | Device owner of router ports is not limited to network:router_interface and can also be network:router_interface_distributed or network:ha_router_replicated_interface depending on the router to which port is attached. Currently, when HA router is used, trove fails with: `Subnet is not associated with router` since port does not pass filter Change-Id: Ie8b3884dd13147f29d5632275fa5c75e801e04c8