summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix CItrain-em12.1.0stable/trainLingxian Kong2020-06-0211-30/+32
| | | | Change-Id: I01c11ccb247a018ae85d7f369f80c38f7e9b7b7c
* Merge "Fixes "a2ensite" command arg and adds mod_wsgi package installation" ↵Zuul2020-03-221-7/+10
|\ | | | | | | into stable/train
| * Fixes "a2ensite" command arg and adds mod_wsgi package installationHirotaka Wakabayashi2020-03-221-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes "a2ensite" command arg ----------------------------- "sudo a2ensite trove" in this file should be "sudo a2ensite trove-api" because the following error will occur while following this manual's instructions:: $ sudo a2ensite trove ERROR: Site trove does not exist! $ sudo a2ensite trove-api Enabling site trove-api. To activate the new configuration, you need to run: systemctl reload apache2 Here are steps to reproduce the error:: $ sudo apt-get install apache2 libapache2-mod-wsgi-py3 $ git clone https://opendev.org/openstack/trove.git; cd trove $ sudo cp etc/apache2/trove /etc/apache2/sites-available/trove-api.conf $ sudo a2ensite trove ERROR: Site trove does not exist! I have tested on Ubuntu 18.04.4 LTS:: $ uname -a Linux bionic 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic Adds mod_wsgi package installation ----------------------------------- I adds mod_wsgi package installation next to apache package installation because I don't find its installation through the docs in spite of mod_wsgi's importance for trove-api. I also updates description about following parts: * RHEL8 and CentOS8 lines are added. * Fedora21 and Fedora22, which are not supported by Fedora Project, lines are merged to "Fedora". Change-Id: I3dfc894cc001529d60048d53e206251a41d546c0 Task: 39116 Story: 2007446 Signed-off-by: Hirotaka Wakabayashi <hiwkby@yahoo.com>
* | Fix devstack installation guideLingxian Kong2020-03-221-1/+1
|/ | | | | | | Story: 2007447 Task: 39117 Change-Id: I4856fc493f46e04b6c74e042f80c896e0cac997b (cherry picked from commit 94af8337393de2f2a47c9c6f828ed2f21120f997)
* Delete error volumes when deleting instanceLingxian Kong2020-03-182-2/+4
| | | | | | | | | Backport candidate. Change-Id: I799f7b30e1af396a8ae540cff2ba8b548a23f82c Story: 2007436 Task: 39083 (cherry picked from commit 513e0dd3cd27790718b31c6d0d4b556bd6de0793)
* Check network conflictLingxian Kong2020-01-176-13/+61
| | | | | | | | | | | | | The user's network to create instance should not conflict with the management network. This patch also fixes the bug in trove-guestagent: AttributeError: 'TroveContext' object has no attribute 'notification' which has been merged in master branch in https://review.opendev.org/#/c/697225/ Change-Id: I922a1c5469309704cc6dd60a1ef57e43a98a3c00 (cherry picked from commit 263339b4db0fb8e1d10c9933b71a0d5b7140cc68)
* Merge "Enable trove-scenario-mariadb-single CI job" into stable/trainZuul2019-12-271-14/+6
|\
| * Enable trove-scenario-mariadb-single CI jobLingxian Kong2019-12-271-14/+6
| | | | | | | | Change-Id: I1032ec89c514840206fbac4f072daf634bb8e29d
* | Merge "Fix unmount path for instance upgrade" into stable/trainZuul2019-12-273-39/+49
|\ \ | |/ |/|
| * Fix unmount path for instance upgradeLingxian Kong2019-12-273-39/+49
| | | | | | | | | | Change-Id: Ifee8620a41e439b028e0a4d65164a75a100ce4d9 (cherry picked from commit 35f989a8701bd675f5ec3bafe161897fc23dfd90)
* | Merge "Fix delete instance" into stable/trainZuul2019-12-222-6/+16
|\ \
| * | Fix delete instanceLingxian Kong2019-12-212-6/+16
| |/ | | | | | | | | | | | | | | Deal with the situation when Trove fails to look for the Nova server when waiting for the db instance ACTIVE Change-Id: I484d45f24176c89d999864d3eb1c48860b3038bd (cherry picked from commit d93a4109436af6517b9f9276b27c517a30bcd86e)
* | Fix Trove periodic CI jobLingxian Kong2019-12-211-2/+2
|/ | | | Change-Id: Ib53308b33ce7e16ac0ff027f6af6635797ba5ae6
* Support incremental backup for MariaDBLingxian Kong2019-12-208-14/+153
| | | | | | | Enable the tests in CI as well. Change-Id: Ie9706d26355bd325baf50ec874f05e6904768a1a (cherry picked from commit 605ff34608e2db53673764fe406dd94306b69c5b)
* Fix mariadb CI - trove-scenario-mariadb-singleLingxian Kong2019-12-2019-124/+221
| | | | | | | | | | - Trove supports MariaDB 10.4 - From MariaDB 10.3, Mariabackup is used instead of Percona XtraBackup for backup functionality - Some log improvements Change-Id: Ibaa6fd7273b98451097b32fb6b881008a236be9f (cherry picked from commit 11b0b8d6f2888f74cbae509fe6c81b0b324d0032)
* Fix an error when generate root password during DB initializationNguyen Van Trung2019-12-203-5/+5
| | | | | | | | | | | | | | | This issue was occurring with percona database (v5.6). Error logs: `An error occurred preparing datastore: (pymysql.err.InternalError) (1372, 'Password hash should be a 41-digit hexadecimal number'` Tested with re-enable root function for both v5.6 and v5.7. Change-Id: Ied67c7c243d3f8c644708548cce71ea2aa3cf2e7 Story: #2006546 Task: #36629 (cherry picked from commit e84718c7824b4567d8eb53346fc04fee94187e37)
* Merge "Support to build dev datastore image in CI job" into stable/trainZuul2019-12-203-4/+24
|\
| * Support to build dev datastore image in CI jobLingxian Kong2019-12-193-4/+24
| | | | | | | | Change-Id: Ieeba998cb87e79c7085a2836b221087bf11d2768
* | Rename devstack variable TROVE_DISABLE_IMAGE_SETUPLingxian Kong2019-12-194-23/+20
|/ | | | | | | | Rename TROVE_DISABLE_IMAGE_SETUP to TROVE_ENABLE_IMAGE_BUILD to avoid double negative definition. Change-Id: Iede80c39bb2a7aaf3c0453bd67f85375fa5ee76c (cherry picked from commit fc0c4fff4cd56a2dc88d083454c75ac2079f3fc8)
* Use dedicated service credential configLingxian Kong2019-12-1951-1050/+413
| | | | | | | The current admin credential config options are confusing Change-Id: I92c15c065edf364b955f2243b3599e0b8cae8b4f (cherry picked from commit f3bb46542baaed3eac1c0dfd625c1ce17feff043)
* Use stable/train for trovestack pip constraintsLingxian Kong2019-12-193-10/+6
| | | | | | | - Use stable/train branch for python-troveclient - Fix the log publish related test cases Change-Id: I4c08fe8b90e4b2879eb937aebc9d53789698f58d
* Merge "Support to specify branch when building the image" into stable/trainZuul2019-10-117-10/+17
|\
| * Support to specify branch when building the imageLingxian Kong2019-10-117-10/+17
| | | | | | | | | | | | | | | | | | - Explicity specify branch name for building non-dev image - Use branch name for building dev image in devstack - Update the doc Change-Id: I4d2fe38fac34c75b42234fa7a20aba51e6dc1c4e (cherry picked from commit d244c9d6661a4595533fcbb972798771791f4ed5)
* | Remove all the resources when the Nova VM creation failed12.0.0.0rc212.0.0Lingxian Kong2019-10-099-228/+254
| | | | | | | | | | | | | | | | | | | | Backport candidate for stable/train Story: 2006664 Task: 36926 Change-Id: If0991e0cef40ca78752fcd509d8438e90c9557bc (cherry picked from commit 650794eaf9f328bd1b2fc096992e6190a9d79c87)
* | Use correct Swift credential for instance backupLingxian Kong2019-10-035-42/+36
|/ | | | | | | | | | | DevStack is deploying Trove in service tenant model, for swift backed instance backup, the swift container should be transparent to the end users. Story: 2006647 Task: 36883 Change-Id: I5859f4c9911fc2c129c8f23611c6607044fbc145
* Fix the stable branch image build jobLingxian Kong2019-09-301-3/+1
| | | | Change-Id: Ifdcbac26d4fdcf67423ed3a75315cc202087a57b
* Fix the periodic image build jobLingxian Kong2019-09-281-1/+1
| | | | | | | | | | The name of the image the current periodic job builds is incorrect according to the log: Image /home/zuul/images/trove-train-mysql-ubuntu-xenial.qcow2.qcow2 was built successfully Change-Id: I8e2d55c4cd07fc22a784a9137811d10ec7b46cda
* Merge "Doc: Add public trove guest images info" into stable/trainZuul2019-09-261-0/+6
|\
| * Doc: Add public trove guest images infoLingxian Kong2019-09-261-0/+6
| | | | | | | | | | | | | | Story: 2006553 Task: 36638 Change-Id: I31ebc1dacbcfe7a032a5e80bf2957ad1c7b90d9b (cherry picked from commit 73211dd519d40fd0a779f66c51ef70fb69289322)
* | Merge "Add release note for public images" into stable/trainZuul2019-09-261-0/+4
|\ \
| * | Add release note for public imagesLingxian Kong2019-09-261-0/+4
| |/ | | | | | | | | Change-Id: I15325cb750b521471dae326572b65cd33e2c6ef3 (cherry picked from commit 8f4bad30a03cbe9771a7290e454ae7d4e5539013)
* | Build images for TrainLingxian Kong2019-09-263-5/+6
|/ | | | Change-Id: I1e2e62c213a7dfc6c641104f25157074d8b87db0
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-09-251-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/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I58eb75a970fa2d8cd35fcdc8d8022fd7fc6169cc
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-251-0/+1
| | | | Change-Id: If66b5d738173181054f934d35e32f5c5b69a6c6c
* Change imag build job to the periodic pipeline12.0.0.0rc1Lingxian Kong2019-09-201-3/+5
| | | | Change-Id: I2628d924245e267ac950876be9ec34110db15e20
* Merge "Some clean up"Zuul2019-09-203-12/+7
|\
| * Some clean upLingxian Kong2019-09-203-12/+7
| | | | | | | | | | | | | | | | - Remove the unused variables in trovestack.rc which leads to module not found error. - Remove non-voting gate job Change-Id: I583945addb6cb0aa442db1c9d9c6ce3cb57793f7
* | Merge "Fix issue with pip2 command and update pip3 for mongodb"Zuul2019-09-193-3/+3
|\ \ | |/ |/|
| * Fix issue with pip2 command and update pip3 for mongodbNguyen Van Trung2019-09-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This patch will fix following issue logs: 2019-09-02 15:11:13.121 | dib-run-parts Running /tmp/in_target.d/install.d/25-trove-mongo-dep 2019-09-02 15:11:13.124 | + pip2 install pymongo 2019-09-02 15:11:13.125 | /tmp/in_target.d/install.d/25-trove-mongo-dep: line 9: pip2: command not found And move on pip3. Change-Id: I7cf16820091a0f977b41e3222abb866a9ae66166
* | Add image build experimental CI jobLingxian Kong2019-09-177-123/+129
| | | | | | | | | | | | Story: 2006553 Task: 36637 Change-Id: I3d909082fb887b24ed25c93e11792031d5053b1e
* | Fix Trove CI failureLingxian Kong2019-09-173-235/+75
|/ | | | | | | | | - Remove Designate v1 support. python-designateclient removed v1 support in https://github.com/openstack/python-designateclient/commit/093d8d7170cbf6ef8c7a7c0ff2a4dcd7ecd6361b - Fix get port IP address error in devstack script. Change-Id: I08916ddfba85c0218aeab5bfbad58ce3222521f3
* [doc] Create instance in user guideLingxian Kong2019-09-112-109/+58
| | | | | | | | Add parameters to create public trove instance. Change-Id: Ib69d7a3c0389f6419eff81879a17d150c8f056e9 Story: 2006500 Task: 36472
* Release note for public instanceLingxian Kong2019-09-111-0/+7
| | | | | | Story: 2006500 Task: 36467 Change-Id: I1eb95f94ca1d242e4539b4a0cf5906ee62f74284
* API doc: 'access' support for creating trove instanceLingxian Kong2019-09-1110-166/+187
| | | | | | Story: 2006500 Task: 36471 Change-Id: Ie0c4ead89316001107c02450627eb5491ff8b521
* Support to create public trove instanceLingxian Kong2019-09-1181-2443/+859
| | | | | | | | | | | | | | | | | | | | - The users need to specify the network to create Trove instance, but trove-taskmanager will create port in that network for Nova instance creation. Using port gives Trove more capabilities to define how the database service is exposed. - Deprecate ICMP protocol for the instance. - Restrict 'nics' parameter for creating instance. - Add 'access' parameter for creating instance. - Add 'public_network_id' option in order to create floating IP for the instance. - Do not create records for security groups, but Trove can still delete existing instances for backward compatibility. - Delete unreasonable Host, Account, Storage API. Story: 2006500 Task: 36468 Task: 36466 Change-Id: I80827e1ad5e6b130cbf94c2bb7a909c44d5cf1e5
* Improve guest image creation in devstackLingxian Kong2019-09-077-675/+491
| | | | Change-Id: I0ef8cbc4babc5c6b9f2936923ffe2837ecc3da74
* Add periodic logs during database mechanismNguyen Van Trung2019-09-041-0/+3
| | | | | | | | This patch will help operator and developer who can follow actions during checking server status and service status of creating/deleting mechanism. Change-Id: I479628d66a9016750a21d9846358406e097525e5
* Merge "Improve image build"Zuul2019-09-042-32/+35
|\
| * Improve image buildLingxian Kong2019-09-022-32/+35
| | | | | | | | | | | | | | | | | | - Remove network-scripts package from guest agent, otherwise image creation will fail with network-scripts not found. - Improve the way to install percona-xtrabackup package on Xenial to avoid the failure: "write error: No space left on device" Change-Id: I6d8de1ad0f675db9635f4762cefc26169e738bbc
* | Merge "Fix MariaDB image build"Zuul2019-09-042-47/+17
|\ \