summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix MariaDB image buildLingxian Kong2019-09-042-47/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error in MariaDB installation during the guest image building: ``` apt-get -y install socat percona-xtrabackup percona-xtrabackup : Depends: libcurl4 (>= 7.16.3) but it is not installable Depends: libgcrypt20 (>= 1.8.0) but 1.6.5-2ubuntu0.5 is to be installed Depends: libssl1.1 (>= 1.1.0) but it is not installable E: Unable to correct problems, you have held broken packages. ``` This patch fixes the issue based on the process described in https://mariadb.com/kb/en/library/installing-mariadb-deb-files Change-Id: I368bddabffcc0f11f7181b3a33be1f213f0bdaba
* | Merge "fix bug report url"Zuul2019-09-033-17/+17
|\ \
| * | fix bug report urlyangyong2019-09-033-17/+17
| | | | | | | | | | | | | | | | | | | | | since we don't use launchpad to report bugs anymore,replace it with storyboard.openstack.org Change-Id: Ifa456c62c4fed197954cb7f7b2aaf0328a00d6a3
* | | Modify CreateInstanceTest setUp to initially be OKAndy Botting2019-09-031-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | Currently the CreateInstanceTest setUp() puts the tests into an initial fail state by making the backup size greater than the volume size. This commit moves some lines around so that the initial state is OK and the failure tests have their environment specifically set. This is intended to help especially when adding new tests. Change-Id: I73b15724b06cc35b5c577e7b15e8e58d660e345b
* | Merge "Support management security group"Zuul2019-09-0210-83/+227
|\ \
| * | Support management security groupLingxian Kong2019-09-0210-83/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the cloud admin to control the security groups on the management port of Trove instance, a new config option `management_security_groups` is introduced for that purpose. Change-Id: I4b22b87d37792be700d4ec7f78a7ea479ddb5814 Story: 2006466 Task: 36395
* | | Merge "Mark the instance ERROR when Nova VM creation fails"Zuul2019-08-301-26/+21
|\ \ \ | |/ / |/| |
| * | Mark the instance ERROR when Nova VM creation failsLingxian Kong2019-08-281-26/+21
| | | | | | | | | | | | | | | | | | Change-Id: I1daa014fef583fe8c96d2c2e633ad31952313934 Story: #2006464 Task: #36393
* | | Minor change to image build guideLingxian Kong2019-08-302-13/+6
| | | | | | | | | | | | Change-Id: I1658617ebe5b75b3f051d491243f3cf36f829dd5
* | | Support keypair in devstackLingxian Kong2019-08-2912-446/+108
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Since Trove already supports to specify a Nova keypair when creating instance for management convenience, devstack needs to be changed to create the management keypair and add to Trove config file. One extra change in this patch is to use a single config file for Trove API, task-manager and conductor. Change-Id: I1e6c4f4305104815bdf89b31776a4955de61bc89 Story: 2005429 Task: 30463
* | Merge "Support python3 in guest agent"Zuul2019-08-285-15/+17
|\ \
| * | Support python3 in guest agentLingxian Kong2019-08-275-15/+17
| |/ | | | | | | | | | | Story: #2006455 Task: #36376 Change-Id: I62323ac1c1edfbf0378d0c89e156fdb3a879aa88
* | Make volume type optionalLingxian Kong2019-08-261-1/+7
|/ | | | | | | | | | | Without this patch, creating db instance will fail if no volume type is provided: Validation error: instance['volume']['type'] None is not of type 'string' (HTTP 400) even if `cinder_volume_type` is configured in trove config file. Change-Id: I3487e45840f72875ffd6cfb6ca75b4bbf60ab51e
* Merge "Release note for backup filtering"Zuul2019-08-261-0/+5
|\
| * Release note for backup filteringLingxian Kong2019-08-261-0/+5
| | | | | | | | | | | | Change-Id: Ie7a8b4ccc90dc83fa7ced1b3c6361b9ff81f8d83 Story: #2006433 Task: #36345
* | Filtering description for backup APILingxian Kong2019-08-261-2/+9
|/ | | | | | Story: #2006433 Task: #36344 Change-Id: I044b804e2ebdc6ecf545cb802114c5b774bb0645
* Merge "Improve devmode=flase when building the image"Zuul2019-08-2536-816/+204
|\
| * Improve devmode=flase when building the imageLingxian Kong2019-08-2536-816/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During debugging, the following changes are also included: - Support to specify an image ID to run the integration test. - Fix the reboot function bug. - Remove the unsuccessful restart test. How to run integration test with dev_mode=false: ADMIN_PASSWORD=password \ SERVICE_PASSWORD=password \ DEV_MODE=false \ /opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
* | Merge "Fix backup tests"Zuul2019-08-251-1/+2
|\ \
| * | Fix backup testsKasper Hasior2019-08-241-1/+2
| |/ | | | | | | | | | | | | | | | | | | This patch add an additional possibility when checking instance status after backup - backup may be done fast so we may get response 'ACTIVE'. Change-Id: I93efba6aa11842ee2499550ab9293b65d75448e0 Story: #2005422 Task: #30444 Signed-off-by: Kasper Hasior <k.hasior@samsung.com>
* | Merge "Fix all_projects filtering for backups"Zuul2019-08-251-1/+2
|\ \
| * | Fix all_projects filtering for backupsLingxian Kong2019-08-251-1/+2
| |/ | | | | | | Change-Id: Ie0f7bb9fad73cb29084702d1044ae3ed7eb3b8ce
* | Merge "[train][goal] Run 'trove-tempest-ipv6-only' job"Zuul2019-08-251-0/+2
|\ \
| * | [train][goal] Run 'trove-tempest-ipv6-only' jobGhanshyam Mann2019-08-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1], Tempest has defined the base job 'devstack-tempest-ipv6' which will deploy services on IPv6. Depends on commit has added the new job 'trove-tempest-ipv6-only' which is derived from 'devstack-tempest-ipv6'. Verification structure will be: - 'devstack-IPv6' deploy the service on IPv6 - 'devstack-tempest-ipv6' run will verify the IPv6-only setting and listen address - 'trove-tempest-ipv6-only' will run the tests. Run the ipv6 job on trove gate also. Depends-On: https://review.opendev.org/#/c/677014/ Story: #2005477 Task: #35937 [1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html Change-Id: I2ecfcef4a03ccc574d4fd3b026183342cb1fa242
* | | Merge "Support new mysql8.0 utf8mb4 character and collation sets"Zuul2019-08-251-0/+2
|\ \ \ | |_|/ |/| |
| * | Support new mysql8.0 utf8mb4 character and collation setsSam Morrison2019-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html https://dev.mysql.com/doc/refman/8.0/en/charset-collation-names.html Change-Id: I5080de7b4b190053f1bcc1c4c815992c9a5889b7
* | | Merge "Support backup filtering"Zuul2019-08-243-12/+34
|\ \ \
| * | | Support backup filteringLingxian Kong2019-08-233-12/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Support to filter backups by instance_id and all_projects(admin only by default). Story: #2006433 Task: #36343 Change-Id: Ia483bbafb8d106a9d46ab908cf5659f06fb3b7ed
* | | Fix python3 failure inside guest when doing restoreLingxian Kong2019-08-231-1/+1
|/ / | | | | | | | | | | | | | | When the guest agent is running in Python 3, when doing restore, an exception is raised: http://paste.openstack.org/show/762068/ Change-Id: I44830465a3e436aa790eb43f0cef0c3d92dbd974
* | Merge "Fix 31-fix-init-script for Postgresql"Zuul2019-08-161-1/+1
|\ \
| * | Fix 31-fix-init-script for PostgresqlMark Kirkwood2019-08-141-1/+1
| |/ | | | | | | | | | | | | Ironically the fix is never applied as the systemd file uses /run not /var/run. Change-Id: Ie6022a13c181f5c27e19b54bd49d9a77c90dc1ac
* | Merge "Update api-ref location"Zuul2019-08-152-2/+2
|\ \
| * | Update api-ref locationAndreas Jaeger2019-08-142-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | The api documentation is now published on docs.openstack.org instead of developer.openstack.org. Update all links that are changed to the new location. Note that redirects will be set up as well but let's point now to the new location. For details, see: http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html Change-Id: I8adf15cf87ed517c8b71d86c23732b804f44aaff
* | Merge "Add a designate V2 API dns driver"Zuul2019-08-154-13/+119
|\ \
| * | Add a designate V2 API dns driverSam Morrison2019-08-144-13/+119
| |/ | | | | | | Change-Id: Iafb36333a37146787c57eded139b4c2e071d69b0
* | Merge "Refactor variables in plugin.sh to simplify setting a datastore"Zuul2019-08-151-13/+13
|\ \
| * | Refactor variables in plugin.sh to simplify setting a datastoreMark Kirkwood2019-08-141-13/+13
| |/ | | | | | | | | | | | | | | | | | | | | Remove several variables local to plugin.sh so it is possible to set a non default datastore by changing only the 3 most obvious ones: TROVE_DATASTORE_TYPE TROVE_DATASTORE_VERSION TROVE_DATASTORE_PACKAGE Change-Id: I782757647985bdfb859043fe68e2b4cd27569ab3
* | Merge "Add Python 3 Train unit tests"Zuul2019-08-151-1/+1
|\ \
| * | Add Python 3 Train unit testsCorey Bryant2019-08-151-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I1fe23c6115bd6b9aac0bf2bd4fec9c6eaee88c40 Story: #2005924 Task: #34254
* | Remove invalid assert statezhufl2019-08-141-1/+0
|/ | | | | | This is to remove invalid assert state of self.assertTrue('cluster'). Change-Id: I84aa5a39c9a9d9c410cc780ddc162768d37cab32
* Fix Trove CI jobsAndreas Jaeger2019-08-149-85/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to get jobs working 1) After [1] devstack no longer changes the ownership of the whole /opt/stack tree to the stack user unconditionally. Switch to the stack user when running integration test. 2) Add bindep.txt file[2]. The default fallback file is not installed anymore and therefore a bindep.txt file is needed to add install additional packages. 3) Use trovestack script rather than devstack to build image so many global variables could be used for consistency. By default, devstack won't build image. 4) Remove the tools/test-setup.sh as it is not used any more. 5) Instance upgrade test keeps failing in CI for some reason, although it's always passed on my local environment. In order not to block other patches, skip the instance upgrade tests temporarily. [1] https://review.opendev.org/203698 [2] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006888.html Change-Id: I35e17afb9e827b1fead9d28dbf32f11ce4034a9b
* Re-define the 'nics' parameter for creating databaseLingxian Kong2019-07-291-4/+5
| | | | Change-Id: I7a522b1f6d421ecbed0cedcdb2edd1f90b9b672b
* Merge "Update the outdated content"Zuul2019-06-241-4/+2
|\
| * Update the outdated contentchenxing2019-06-141-4/+2
| | | | | | | | | | Change-Id: I7743b848e69a81e4aefb2191779a4cd9d4c7b666 Closes-Bug: #1729211
* | Merge "Fix incorrect use of raise in template test"Zuul2019-06-241-1/+1
|\ \
| * | Fix incorrect use of raise in template testSam Morrison2019-06-181-1/+1
| | | | | | | | | | | | Change-Id: Ie397fd4f7b27a38910b329d70ada6d884118e13a
* | | Merge "Ignore new 'sys' mysql database by default"Zuul2019-06-241-1/+2
|\ \ \
| * | | Ignore new 'sys' mysql database by defaultSam Morrison2019-06-181-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Mysql 8.0 has a new database 'sys' [1] that should be ignored by trove by default. [1] https://dev.mysql.com/doc/refman/8.0/en/sys-schema.html Change-Id: Ie2b60e36bd9e20bb55b36d3c6b21e9ff1dc56fde
* | | Merge "Use newer style mysql syntax for users/passwords"Zuul2019-06-245-22/+32
|\ \ \
| * | | Use newer style mysql syntax for users/passwordsSam Morrison2019-06-195-22/+32
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sytax used for creating users and setting passwords was deprecated in mysql 5.7 and is not valid in mysql 8.0. [1] Change to use CREATE USER to create users as opposed to creating users with GRANT syntax. Setting passwords also does not use the PASSWORD keyword anymore. [2] [1] https://dev.mysql.com/doc/refman/5.7/en/grant.html [2] https://dev.mysql.com/doc/refman/5.7/en/set-password.html Change-Id: I0387238ec434073f95dd76f13f1f40c7cec8d1eb