summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [docs]Fix wrong links in READMEussuri-em13.0.1stable/ussuriwu.chunyang2020-11-231-3/+3
| | | | | | Trivial fix(ussuri branch) Change-Id: Ie114d02ff717dbbe694cbeba4b2b89adc6912293
* Handle case where no networks are selected at createSam Morrison2020-10-011-0/+3
| | | | | | | | | | | Currently trove will error when no networks are selected and no management network is configured. This change will pass in None as the nics to nova server create which will let nova choose the network. Change-Id: Ica4f888bf1bc7b771cdfcb0af5c104b2aa6410fe Story: 2008213 Task: 40999
* Set limit to -1 when getting Nova instancesLingxian Kong2020-09-231-1/+2
| | | | | | | | Story: #2008179 Task: 40936 Change-Id: Id433117ed842177593ae4589cc7d491c760b9e77 (cherry picked from commit 28453260494076dc5463414b2767188ecb2c1556)
* Merge "[Image] Use sudo when removing image cache dir" into stable/ussuriZuul2020-09-221-1/+1
|\
| * [Image] Use sudo when removing image cache dirLingxian Kong2020-09-221-1/+1
| | | | | | | | Change-Id: I8f73056e807c4b1bbfe4ee0bf32f2db22a376ed3
* | Install pip3 for image buildLingxian Kong2020-09-221-2/+2
|/ | | | Change-Id: Ie5a473dcf69de9f7b87dd03987f10239a9bff795
* [Backup] Ignore 404 error when deleting swift objectsLingxian Kong2020-09-171-2/+7
| | | | Change-Id: I451551b7cb4e812d81b1341c5b82da3abf7b8d86
* Do not operate floating IP for relication clusterLingxian Kong2020-08-034-92/+12
| | | | Change-Id: I44e134efbd5939962a508468584defcf4cb4c0c5
* Fix building raw imageLingxian Kong2020-06-161-2/+0
| | | | Change-Id: Ie49b0622d8ae6b9b7189173a02f21a28c8dfca04
* Support image type for guest image buildingLingxian Kong2020-06-123-3/+9
| | | | | Change-Id: I8d640c47f00446d7f912ece9892b17585cde3add (cherry picked from commit 428e3644f8770a608f6e4dfc617f45f6e17cb685)
* Fix CI jobLingxian Kong2020-05-2616-41/+47
| | | | | | | | | | | | | * Fix pep8: ambiguous variable name * Install Python 3.7 for trove guest image. oslo.concurrency requires python 3.6 or newer. See https://bugs.launchpad.net/tripleo/+bug/1861803 * Mark tempest job non-voting temporarily because of some tempest bugs. * Use stable/ussuri for python-troveclient. * Use stable/ussuri for CI jobs. Change-Id: I6d316779cc7220a855ce187437056b667bbe1f75 (cherry picked from commit 523d66e8fd5d29be8dbae9aa79c5348d3dce8c64)
* Update TOX_CONSTRAINTS_FILE for stable/ussuriOpenStack Release Bot2020-04-241-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/ussuri branch, tests will continue to use the upper-constraints list on master. Change-Id: Ie3d72850da513021dce750ed6fbe40ae23fb8c2e
* Update .gitreview for stable/ussuriOpenStack Release Bot2020-04-241-0/+1
| | | | Change-Id: I3ae1061fe945404ee16a05bbc1bec2a66b898233
* Added checks for deleting datastore version13.0.0.0rc113.0.0Lingxian Kong2020-04-2317-92/+269
| | | | | | | | | | * Hard delete the datastore_configuration_parameters table record. * Make 'datastore_version_id' nullable for 'instances' table. * Check if the datastore version is still being used before removal. Story: 2007563 Task: 39451 Change-Id: I84e4a31f14f9327cc01ff2d699167d91112e1565
* Merge "Change @property usage to function"Zuul2020-04-056-21/+14
|\
| * Change @property usage to functionLingxian Kong2020-04-046-21/+14
| | | | | | | | | | | | | | | | osprofiler is walking through all the properties of a class when the service is starting. Removing @property to avoid unneccesary code logic running during service initialization. Change-Id: I53635e167808de18093a15c871b6de7d94afc8d0
* | Merge "Update hacking for Python3"Zuul2020-04-045-27/+24
|\ \ | |/ |/|
| * Update hacking for Python3Andreas Jaeger2020-04-035-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Update local hacking checks for new flake8. Remove hacking and friends from lower-constraints, they are not needed in installations. Change-Id: I6e6638c07b5d24c90e9deae277e98149f383eb3d
* | Add innodb configuration parameters log_file_size and flush_methodMark Kirkwood2020-04-012-0/+24
|/ | | | | | | | Add these to the validation rules for Mysql and Mariadb, as we are using versions for which it is possible to change these w/o special procedures. Change-Id: I9014f4ae3083173b49d0ee581c976d06e852a29f
* Merge "Devstack should install the trove-dashboad module by default"Zuul2020-03-261-1/+5
|\
| * Devstack should install the trove-dashboad module by defaultHirotaka Wakabayashi2020-03-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devstack should install both the trove module and the trove-dashboard module by default. Because the trove-dashboard is an important package for Trove development. For example, developers confirm Trove behaviors after they test code change. trove-dashboard should be explicitly installed by Devstack. Currently trove dashboard plugin installs trove-dashboard when horizon service is enabled in local.conf. That’s facing the wrong way. Horizon should be installed as a required package of trove-dashboard. Because trove-dashboard is a independent python package of horizon and trove-dashboard package requires horizon package. Story: 2007462 Task: 39142 Signed-off-by: Hirotaka Wakabayashi <hiwkby@yahoo.com> Change-Id: I5a8996d70517b95036b6c95080f2f1e8400cc8f4
* | Release note for XFS disk format supportLingxian Kong2020-03-261-0/+4
|/ | | | Change-Id: I8f89ce57c7c36520cee7ad1714f8405bbd03e649
* Support XFS disk formatMinmin Ren2020-03-243-35/+210
| | | | | | | | | Support XFS disk format Story: #2005741 Task: #33405 Change-Id: Idc454000ce7ad95d2c461c87867704eba069bdf4
* 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
* Merge "Fixes the following syntax error of etc/apache2/trove apache conf"Zuul2020-03-211-1/+1
|\
| * Fixes the following syntax error of etc/apache2/trove apache confHirotaka Wakabayashi2020-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ apache2ctl configtest AH00526: Syntax error on line 16 of /etc/apache2/sites-enabled/trove-api.conf: Invalid command 'through', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. I refere the manual to configure my trove env. https://docs.openstack.org/trove/latest/install/apache-mod-wsgi.html Here are three steps to reproduce the error. Step1. Install apache2 and mod_wsgi ----------------------------------- $ sudo apt-get install apache2 libapache2-mod-wsgi-py3 Step2. Git clone and Configure apache ------------------------------------- $ 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 files this in https://bugs.launchpad.net/trove/+bug/1867811 $ sudo a2ensite trove-api Enabling site trove-api. To activate the new configuration, you need to run: systemctl reload apache2 Step3. Syntax error happens ---------------------------- Before starting apache2, Add "stack" user and mkdir "/var/log/httpd" directory. $ sudo useradd -s /bin/bash -d /opt/stack -m stack $ sudo mkdir -p /var/log/httpd $ apache2ctl configtest AH00526: Syntax error on line 16 of /etc/apache2/sites-enabled/trove-api.conf: Invalid command 'through', perhaps misspelled or defined by a module not included in the server configuration pAction 'configtest' failed. The Apache error log may have more information. $ apache2ctl configtest AH00526: Syntax error on line 16 of /etc/apache2/sites-enabled/trove-api.conf: Invalid command 'through', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. $ sudo vi /etc/apache2/sites-enabled/trove-api.conf $ diff /etc/apache2/sites-enabled/trove-api.conf /etc/apache2/sites-enabled/trove-api.conf.orig 16c16 < # through mod_wsgi --- > through mod_wsgi $ apache2ctl configtest AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message Syntax OK I have tested on Ubuntu 18.04.4 LTS. $ uname -a Linux ubuntu-bionic 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 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 Signed-off-by: Hirotaka Wakabayashi <hiwkby@yahoo.com> Change-Id: Ia010941fd9fde2036672f6e6ae8ac488d63c1d4a
* | Improve the docLingxian Kong2020-03-208-203/+122
|/ | | | Change-Id: I41bf34cd482dcf880cd66c8bd123898f77c10056
* Delete error volumes when deleting instanceLingxian Kong2020-03-171-1/+3
| | | | | | | | Backport candidate. Change-Id: I799f7b30e1af396a8ae540cff2ba8b548a23f82c Story: 2007436 Task: 39083
* Support to test non-dev guest image in CILingxian Kong2020-03-163-10/+34
| | | | | | | Make the job non-voting because it may fail when the guest agent code changes. Change-Id: Ibd595b5b5c02cf72f1e5f05c79469cd4cb15a3ca
* Add python-troveclient in requirements.txtLingxian Kong2020-03-1521-86/+78
| | | | Change-Id: I2bd0d81171df85c05423e19ab2e4afa82fcf880e
* Small cleanupsAndreas Jaeger2020-03-102-10/+0
| | | | | | | | | | | Setup.cfg: - This repo is python 3 only ,remove universal wheel building. - Remove pbr.hooks.setup_hook, those are obsolete since a long time tox.ini: - remove tox:jenkins, this is not used since ages Change-Id: Ia6c1bc28b4935859c29924141965f47c4bcbd2c3
* Merge "Cleanup docs building"Zuul2020-03-096-376/+9
|\
| * Cleanup docs buildingAndreas Jaeger2020-02-226-376/+9
| | | | | | | | | | | | | | | | | | | | | | | | Remove build_sphinx from setup.cfg, it's not used anymore since this repo uses sphinx-build directly. Require newer openstackdocstheme version and remove settings in conf.py that are now default. Remove doc/source/install/conf.py, it is not used anymore. Change-Id: Id89c664384c3ad443d701f5d4135a9f3f9f744d7
* | [Community goal] Add contributor and PTL guideLingxian Kong2020-02-262-0/+85
|/ | | | | | Change-Id: Ib52e091417eeb37607c600ac7389cfe41be4e23c Story: #2007236 Task: #38568
* Merge "Improve the function tests"Zuul2020-02-02157-4857/+769
|\
| * Improve the function testsLingxian Kong2020-01-28157-4857/+769
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Execute test groups in serial to make sure no more than 2 database instance are created at the same time. - Remove some unneccesary tests - Remove unneeded datastore, e.g. 'Test_Datastore_1' - Remove unsupported trovestack subcommands - Move unsupported DIB elements to the 'deprecated-elements' folder - Decrease default value of 'agent_call_high_timeout' to 5min - Add initial_deplay for pooling task - Use socket file to connect with database instead of using localhost IP Change-Id: Ie5030a671fbeb453eafa6cbe04e08da7b52e33c9
* | Add 'Quota Management' in production guideLingxian Kong2020-01-231-0/+15
|/ | | | Change-Id: I76b16d8e5eec38e4f0dd255158c0b50c278dab53
* Merge "Config admin clients as default"Zuul2020-01-198-15/+16
|\
| * Config admin clients as defaultLingxian Kong2020-01-198-15/+16
| | | | | | | | Change-Id: Ib4dc349ab7ed4193189ed6bc2bae699d51064998
* | Merge "Fix missing parameter in log message"Zuul2020-01-191-1/+1
|\ \ | |/ |/|
| * Fix missing parameter in log messagezhufl2020-01-141-1/+1
| | | | | | | | | | | | This is to fix a missing parameter issue in the log message. Change-Id: Icf6a0ece18c5614b68a0015814faedf0cc7be61f
* | Add running trove in production guideLingxian Kong2020-01-153-5/+329
|/ | | | Change-Id: I18654091cc39a0a5de17ff9822f14d6c41facf42
* Merge "Check network conflict"Zuul2020-01-143-7/+55
|\
| * Check network conflictLingxian Kong2020-01-143-7/+55
| | | | | | | | | | | | | | The user's network to create instance should not conflict with the management network. Change-Id: I922a1c5469309704cc6dd60a1ef57e43a98a3c00
* | Merge "Delete datastore"Zuul2020-01-145-13/+64
|\ \
| * | Delete datastoreLingxian Kong2020-01-115-13/+64
| |/ | | | | | | | | | | | | Admin user can delete datastore if there are no instances or backups associated. Change-Id: If15b79661859d5c40f4d9e5fe65e478954b6ddd4
* | Merge "Fix an invalid assertIsNotNone statement"Zuul2020-01-141-1/+1
|\ \ | |/ |/|
| * Fix an invalid assertIsNotNone statementzhufl2019-12-261-1/+1
| | | | | | | | | | | | | | This is to fix an invalid assertIsNotNone statement of "self.assertIsNotNone(12345)", which will never raise an exception. Change-Id: I450392d3a3b2ced651b4aed80753fa7c07ed89f2
* | Fix duplicated words issume like "object of of the instance"zhufl2020-01-061-1/+1
| | | | | | | | | | | | | | This is to fix the duplicated words issume like "The ``links`` object of of the instance". Change-Id: Id00df4734b20871c85a76a01d1b1693042ddbdd8