summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fixing services getting stuck on shutdownErik Olof Gunnar Andersson2020-01-1612-56/+63
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The new heartbeat code was causing the service to not exit properly. This patch removes the use of a thread group for handling heartbeats and replaces it with a FixedIntervalLoopingCall instead. Closes-Bug: #1857476 Change-Id: Ida918a2d670a69cc8995983d23e5424bd48de8a9
* | | Merge "Drop use of USE_SYSTEMD var in devstack plugin"Zuul2020-01-291-8/+1
|\ \ \
| * | | Drop use of USE_SYSTEMD var in devstack pluginDr. Jens Harbott2020-01-271-8/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The USE_SYSTEMD variable is to be dropped from devstack[0], as running with systemd is the only option now. Drop it's usage in our plugin. [0] https://review.opendev.org/703734 Change-Id: I0161bc82878ca936c3b0d9e9f9624be81fad21db
* | | Drop setcap on python binaryDr. Jens Harbott2020-01-291-9/+2
|/ / | | | | | | | | | | | | | | | | This is a bit of a security issue, also we don't seem to need it anymore since we have long switched to running under python3 and the setcap doesn't have any effect anyway. It will also break deployments once we drop installing python2 completely, so just remove it now. Change-Id: I7265c525f1091012011ba12d65e9669a826ab979
* | Merge "Improve sink recordset creation"Zuul2020-01-163-31/+30
|\ \
| * | Improve sink recordset creationErik Olof Gunnar Andersson2019-12-293-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduced the number of calls we need to make when creating records using the sink by better using the create/update recordset api. This also fixes a bug where the sink could trigger a race condition in the worker causing it to throw a BadAction exception. Partial-Bug: #1768618 Change-Id: Iaf21ec59755375d3c3bc043b16a1b14aa991475e
* | | Fixed neutron endpoint overrideErik Olof Gunnar Andersson2020-01-163-30/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The network_api endpoint code would never actually use the manually configured endpoints. This patch changes that by first checking if custom endpoints were configured, and if that isn't the case it will use the service_catalog instead. In addition we introduce full testing on this code path to make sure it behaves as we expect. Change-Id: I2e9f1485fce401336ab8a4a8b1aa1f971292168f
* | | Merge "Simplified network api implementation"Zuul2020-01-161-48/+46
|\ \ \ | |/ / |/| |
| * | Simplified network api implementationErik Olof Gunnar Andersson2019-12-181-48/+46
| |/ | | | | | | | | | | | | | | | | | | Reduced the complexity of the neutron code for looking up ptr records. * Limit max concurrency to 5. * Better error handling. Change-Id: I0c50aaadaabb6e0f054121d8270fcb8e05b6e762
* | Imported Translations from ZanataOpenStack Proposal Bot2019-12-252-14/+227
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I3d8d4021b17b0522ab3a37a337f2a7a1936ca23b
* | Merge "Delete removed dashboard panel when upgrading"Zuul2019-12-251-0/+5
|\ \ | |/ |/|
| * Delete removed dashboard panel when upgradingJens Harbott2019-11-281-0/+5
| | | | | | | | | | | | | | | | The old v1 dashboard panel has been removed, when upgrading from an older version we need to remove the symbolic link for it in order to avoid horizon from failing. Change-Id: I383884aa100fd983e1087d7458396f8053414d55
* | Don't use hasattr to lazy-load propertiesErik Olof Gunnar Andersson2019-12-163-14/+32
| | | | | | | | | | | | | | | | This is a better pattern overall and most classes has already had this changed as part of the service refactor. Change-Id: Ia6fb1f78a449bee48b9e4c86ca1334d0b28b28ef
* | Merge "Clean up pecan Request patching"Zuul2019-12-161-22/+12
|\ \
| * | Clean up pecan Request patchingErik Olof Gunnar Andersson2019-11-271-22/+12
| |/ | | | | | | | | | | | | * Removed hack for old pecan version. * Cleaned up code. Change-Id: I428ee4f1bf5de7cd369e3f82b059c0517f37e804
* | Merge "Move pecan_debug into cfg section"Zuul2019-12-163-12/+2
|\ \
| * | Move pecan_debug into cfg sectionErik Olof Gunnar Andersson2019-11-273-12/+2
| |/ | | | | | | Change-Id: If3122f4719b1d52c5972e2d7869b521822de9422
* | Merge "Remove broken target sync extension"Zuul2019-12-162-55/+0
|\ \
| * | Remove broken target sync extensionErik Olof Gunnar Andersson2019-11-272-55/+0
| |/ | | | | | | | | | | | | When we removed the pool-manager this was missed and the extension is no longer functional. Change-Id: Id3e5f87d18c7b6d79b44a6fa6df2f8efd2bf73ef
* | Merge "Removed unused SSLMiddleware"Zuul2019-12-162-65/+0
|\ \
| * | Removed unused SSLMiddlewareErik Olof Gunnar Andersson2019-11-272-65/+0
| |/ | | | | | | | | | | | | The SSL middlware has been replaced by http_proxy_to_wsgi since Mitaka. Change-Id: Ie36d184c3ed981193fb3ec77f586ed9870960b62
* | [ussuri][goal] Drop python 2.7 support and testingGhanshyam Mann2019-12-139-62/+13
|/ | | | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. Designate is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Depends-On: https://review.opendev.org/#/c/693631/ Change-Id: I5a5bdc859f87f82097b95b2ebb31edb6e9b72b3a
* Run grenade old side with python3Jens Harbott2019-11-261-0/+1
| | | | | | | Jobs fail when the old side is running py2 and the new side has python3 now. Change-Id: I9b0850a3544d5758b0357d941acc0cf6486a1c89
* Merge "Make designate reproducible"Zuul2019-11-201-0/+1
|\
| * Make designate reproducibleThomas Goirand2019-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm forwarding the patch against the Debian package at: https://bugs.debian.org/942848 Whilst working on the Reproducible Builds effort [0] we noticed that designate could not be built reproducibly. This is because it embeds the absolute build path in the sample configuration. Patch attached that uses oslo-config's sample_default instead. [0] https://reproducible-builds.org/ Change-Id: I605bbdfe7d0b734b31cdf85691f8c6d3850fc8c7
* | Don't install Horizon as part of the upgrade testErik Olof Gunnar Andersson2019-11-151-2/+2
| | | | | | | | Change-Id: I961aecf23ee1a76e15c716c0733bd418b21efb58
* | Merge "Renamed enable_host_header by default reno"Zuul2019-11-081-0/+0
|\ \ | |/ |/|
| * Renamed enable_host_header by default renoErik Olof Gunnar Andersson2019-10-221-0/+0
| | | | | | | | Change-Id: I1fc06616ed410b473c587253f774ea0a13961707
* | Merge "Fix api version not providing the full url"Zuul2019-10-223-25/+22
|\ \ | |/
| * Fix api version not providing the full urlErik Olof Gunnar Andersson2019-10-223-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | We are currently using host_url to build the version href which causes the /dns portion to get dropped. This patch changes host_url to url_root. We also enable enable_host_header by default. Finally we add a help url that points at the designate api reference. Change-Id: Ie8d815391b316d664b0c51099a08d8d32932c555
* | Switch to Ussuri jobspengyuesheng2019-10-221-1/+1
|/ | | | Change-Id: Iaeae4497e3eb1ebe5888e9646acbf409c5332d9b
* Remove wsgi eventlet monkey patchErik Olof Gunnar Andersson2019-10-211-5/+3
| | | | | | | We don't actually need to monkey patch the api component. Change-Id: Ib7e8bf2ad79ffe906698256664be680750f2e1e9
* Switch to apache for designate-apiErik Olof Gunnar Andersson2019-10-195-18/+97
| | | | | | | | | This patch switches to Apache and mod_wsgi by default for devstack. Also, use memcached as the coordinatior for single node deployments. Change-Id: I8798c04f2bc386aca32bda8961efd29298899890
* Merge "Enable graceful shutdown of mdns"Zuul2019-10-195-17/+17
|\
| * Enable graceful shutdown of mdnsErik Olof Gunnar Andersson2019-10-185-17/+17
| | | | | | | | | | | | | | | | | | | | | | We are currently blocking tcp and udp connections, which means that the connection will hang until killed. This patch changes this by making the connection non-blocking, to allow us to interrupt the flow and gracefully shutdown. Change-Id: Ic372572055736e091ef2c3fe0446e7f278b365b4
* | Merge "fix Secondary zone can not xfr"Zuul2019-10-182-0/+57
|\ \ | |/ |/|
| * fix Secondary zone can not xfrzhouhenglc2019-10-032-0/+57
| | | | | | | | | | | | | | | | | | ``DesignateObject update`` method not judged whether the value has changed, but directly override. ``zone name`` will be marked as changed. But central api not allow update name. zone will be PENDING for a long time and will eventually become ERROR. Change-Id: Id67fbb9adee7593a03475f3bbabbb15d9a9cd4bd
* | Don't install v1 dashboard panelJens Harbott2019-10-151-1/+0
| | | | | | | | | | | | | | | | | | The panel _1720_project_dns_panel.py has been removed in [0], stop trying to install it in our devstack plugin. [0] Iabf7d396ea6feb0cd7de1c5408a81a7a3ce1efbf Change-Id: I7ebc7991bd4f59579195d337f1787fd8abefbe90
* | Merge "fix ListObjectMixin._obj_from_primitive bug"Zuul2019-10-112-1/+71
|\ \
| * | fix ListObjectMixin._obj_from_primitive bugzhouhenglc2019-10-032-1/+71
| |/ | | | | | | | | | | | | | | The current method, if primitive don't contain changes, resolves to include changes. I don't think instance._obj_changes are useful. so change to instance._changed_fields Change-Id: I087d050a06759679ea5aa6e8c3b94e54e22a9ad9
* | Merge "Updated Readme"Zuul2019-10-111-17/+40
|\ \
| * | Updated ReadmeErik Olof Gunnar Andersson2019-10-031-17/+40
| | | | | | | | | | | | Change-Id: I6ede1eafff109e585dd6424837ab4c028a08fa88
* | | Merge "designate-manage pool update --dry-run not should pass argument"Zuul2019-10-116-12/+26
|\ \ \ | |_|/ |/| |
| * | designate-manage pool update --dry-run not should pass argumentzhouhenglc2019-10-116-12/+26
| |/ | | | | | | | | | | | | | | | | | | --dry-run and --delete should be switchs. now --dry_run acts as key value pair. users do not know what is behind --dry-run. and now whatever the value is acceptable. this is unreasonable. Closes-bug: #1847393 Change-Id: Ia6ab93395deb95173e443f9d3ea77dd52edfcf2c
* | Merge "Reduce log spam from coordinator"Zuul2019-10-022-9/+9
|\ \
| * | Reduce log spam from coordinatorErik Olof Gunnar Andersson2019-09-292-9/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The current implementation has slightly too aggresive defaults and logs an exception for every missed heartbeat. This can cause many lines of error logs from a millisecond outage. * Reduced default heartbeat from 1s to 5s. * Changed heartbeat error into warning. Change-Id: I2a8b8d137b31866dac40d2f80e47f09fe1a2b68d
* | Drop use of DESIGNATE_AUTH_CACHE_DIRJens Harbott2019-10-012-8/+2
| | | | | | | | | | | | | | | | | | That directory was only needed when using PKI tokens, which have been removed from keystone for some cycles now. Also replace the deprecated devstack function configure_auth_token_middleware with the current version. Change-Id: I7d10a21ed90dc9ea762dc3ea28fb22f55acf413d
* | Update devstack to use workersErik Olof Gunnar Andersson2019-09-271-8/+18
|/ | | | | | | | | | | Use API_WORKERS for all services, to make sure we are testing with at least 2 workers for every service. * Use API_WORKERS for all services. * Removed deprecated and removed settings for the worker. * Use enable_host_header is tests. Change-Id: Iba9ba655c47ee085a47ee98872437f07fdc3346c
* Update master for stable/trainOpenStack Release Bot2019-09-272-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: I950554d55c06185905af84e479b2895d18a60085 Sem-Ver: feature
* Merge "Experimental wsgi support"Zuul2019-09-273-0/+67
|\