Update git submodules
* Update shade from branch 'master' - Split parser creation and parser for inventory Access to the object separate from parsing allows us to use argparse-manpage to generate a man page in the Debian package automatically. We also need to set 'prog' explicitly rather than let it be picked up via argv[0] so that when we load the parser via argparse-manpage it produces the right value. Change-Id: I654b4408444f804f900951333a6ebc3372d5037e - Fix ansible stable pin in tox test We want to use the latest version from the stable-2.5 branch, not pin to 2.5.0 which has some issues that break our tests. Change-Id: If7bab97191c5a29bac79e3f3ecaf10bfe0eac6b5 - Merge "change default python 3 env in tox to 3.5" - Use openSUSE 15.0 for testing Change from openSUSE 42.3 to 15.0 for testing (Yes, 15.0 is current version and 42.3 is older). Needed-By: https://review.openstack.org/617277 Depends-On: https://review.openstack.org/599521 Change-Id: I8bdddb6393f880e2779dc456c492542636b8bf59 - change default python 3 env in tox to 3.5 Change-Id: Iccb776f10da5f4aa4d5361f8f5976f68680a27d2 - Add python 3.6 unit test job This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I2060b317077a321fce27b6e92112233346e21687 - Update the min version of tox to 2.0 The verification comands used by tox need at least 2.0 version. This patch aims to update tox version from 1.6 to 2.0 which should help with local running of constraints targets. Change-Id: I97ec363926b6e6af26ffb650ced568c7df1f9897 - Support v4-fixed-ip and v6-fixed-ip in create_server novaclient supports v4-fixed-ip and v6-fixed-ip as aliases for fixed_ip. As shade used to use novaclient and passed this content through the switch to REST resulted in a behavior regression for shade users. That's bad, mmkay? Add in support for the same aliases to create_server, so that users upgrading to newer shade are hosed. Closes-Bug: #1798489 Change-Id: I55bc88e9b2cfa5ad1b6a27640db11bc848584c21 - Add release note about decoupling Change-Id: I87bd8c9c1519f9500097c8d3ebc9626cb3f08467 - Decouple OpenStackCloud from Connection Revert the openstacksdk subclassing from shade. The idea was to reduce the workload, but trying to make sure that the Cloud abstraction in openstacksdk doesn't break shade's contract while we update things is a ton of work to meet the contract that's not really valuable to people. Instead, we'll put shade on lifesupport and only accept bugfix patches. Revert "Make OpenStackCloud a subclass of Connection" This reverts commit ab3f400064f93391bfe444fe64f184be06c7dbe6. Revert "Use openstack.config directly for config" This reverts commit 2b48637b6790139c363f0c62977bfa585a2bc1d9. Revert "Remove the task manager" This reverts commit 28e95889a0fd8105d12c20575fa66637564a6f89. Change-Id: I3f5b5fb26af2f6c0bbaade24a04c3d1f274c8cce - Merge "Remove the task manager" - Trim away the cover and py35 jobs We're doing py36, so skip py35, it's just duplicative. Also, we don't really care about the cover jobs. Change-Id: Ia99ea6f5937140d7ce0a9a637a21fc3ebad46dc6 - Remove the task manager The underlying openstacksdk library is shifting how task manager works, so stop trying to send it a task manager. This is a feature basically in place just for nodepool which is being expanded to be more usable by everyone. The likelihood that anyone other than nodepool is using it is ... very low. Change-Id: I04be3937589a805a5f9686c91a78933eebcfa022 - Update the url in doc Change-Id: Ifb2183870cff73c03c668926bad47bc131979918 - Merge "Cleanup .zuul.yaml" - Merge "add python 3.6 unit test job" - Merge "switch documentation job to new PTI" - Merge "import zuul job settings from project-config" - Cleanup .zuul.yaml Some cleanups: * Use tox-lower-constraints template instead of individual jobs. * Use cover template to run cover job only in check as voting. * Sort list of templates alphabetically. * Remove publish-to-pypi, it should stay in project-config (and the project-config change keeps it there). Change-Id: I228b74e264db7a0f604b6d8b72b60d2c4ee854c5 - Replace assertRaisesRegexp with assertRaisesRegex This replaces the deprecated (in python 3.2) unittest.TestCase method assertRaisesRegexp() with assertRaisesRegex(). Change-Id: I1f20db33e3acfc87c0e7a5c8cf45dc1b3121619e Signed-off-by: Chuck Short <chucks@redhat.com> - add python 3.6 unit test job This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I8a268b59600f572b4c3e6f5e39d45842b9a43aed Story: #2002586 Task: #24321 - switch documentation job to new PTI This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Iee24afd0da25751b7b2f8ec073066bcc7ebd5f5c Story: #2002586 Task: #24321 - import zuul job settings from project-config This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I63f7f96d411b97d29859c33b8a61628130d5a15d Story: #2002586 Task: #24321 - Fix format in release notes Indentation was wrongly interpreted as quotation. Change-Id: I6ab20cbaa72254779acb8710275b2638d3ba6b30 - Merge "python-shade expose MTU setting." - Merge "Add support for static routes" - Update reno for stable/rocky Change-Id: I8e3c448f8daddc30130a1813275e3d363ddc1eb9 - Add support for static routes The networking API v2 specification, which is implemented by OpenStack Neutron, features an optional routes parameter - when updating a router PUT requests). Static routes are crucial for routers to handle traffic from subnets not directly connected to a router. This patch adds the routes parameter to the OpenStackCloud.update_router method as a list of dictionaries with destination and nexthop parameters. Example: [ { "destination": "179.24.1.0/24", "nexthop": "172.24.3.99" } ] Change-Id: I14205b6bb071d0b46967f29b6287f74d8796add8 - python-shade expose MTU setting. The networking API v2 specification, which is implemented by openstack neutron, features an optional MTU parameter - when creating a network, this allows operators to specify the value for the maximum transmission unit value. Change-Id: I288f02551555fff3e8b350fc6d7c6ae8f60c405c - Remove redundant target in README An 'example' anchor was being explicitly added that was redundant with the 'Example' title it preceeded. This causes failures with `python setup.py check -s -r` which was added to release validation to prevent pypi package upload failures. Since the README is imported into the built docs, and the docs link to the examples using this hidden anchor, this renames it to avoid a conflict. Change-Id: I6947e0ae420402cc9866e3c374626392b1d5194c - Use valid filters to list floating IPs in neutron Shade used 'attached' as a filter for listing floating IPs, but this is not a supported parameter in neutron. In before, the test passed because neutron server ignored this parameter and returned all the floating IPs. However, neutron is planing to employ a strict validation on the list endpoint [1]. As a result, neutron will reject the request with 400 response if the request contains unknown filter. This patch fixes the usage of neutron API. It passes filters to neutron API only if they are known supported filters. The list of supported filters for listing floating IPs can be found in the neutron API reference [2]. [1] https://review.openstack.org/#/c/574907/ [2] https://developer.openstack.org/api-ref/network/v2/#id130 Change-Id: I124adfc5e9cdd5bc20aacf23f9dcc10c55b0870b - Fix doc mistake The wait arg in create_stack have a mistake in doc description Change-Id: I402a4586e5edee50fb3bfbc9b14429d9c1fd14bc Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com> - Merge "Make OpenStackCloud a subclass of Connection" - Merge "Improve Magnum cluster templates functions" - Make OpenStackCloud a subclass of Connection The shade code lives in openstacksdk now and is a part of Connection. Start making shade a subclass of that for backwards compat. Mostly only deal with the constructor for now, but go ahead and do list_flavors and get_flavor_by_id while we're looking at the extra config override. Also remove list_projects because of its use of the _normalize module. keystoneauth lower-constraint needs to be bumped because of status_code_retries. Change-Id: Ibbe6e167d6285b30a9adbd0c5a89bc679c5645f3 - Merge "Remove shade-ansible-devel job" - Fix for passing dict for get_* methods We are not accepting dicts for the name_or_id parameter, only objects. Change-Id: I31f0f127f71f10a2f11f89e10ac8911816786963 - Merge "Finish migrating image tests to requests-mock" - Merge "Convert image_client mocks in test_shade_operator" - Merge "Convert test_caching to requests-mock" - Merge "Convert domain params tests to requests_mock" - Merge "Use RequestsMockTestCase everywhere" - Switch bifrost jobs to nonvoting bifrost doesn't have a symmetrical gate with ironic, which means sometimes it can get broken by ironic changes. It's important that we don't break bifrost, but sometimes it can break us, so let's change it to non-voting and pay attention to it. Change-Id: I69a6c4b05cfeebb31721c9787241161a080da045 - Finish migrating image tests to requests-mock We let some of these slip through originally. Fix them so we can do other things. Guess what? There were bugs in the v1 codepath. Change-Id: Ia51598548cde0ddb4f9e96b166274e9a104cf649 - Convert image_client mocks in test_shade_operator These two methods were mocking the image client. Change-Id: I2a5c249f55662caaf3a669283721f283f6b1b565 - Convert test_caching to requests-mock Remove the last bits in test_caching that were mocking clients directly. Change-Id: I4477993ca2d87bd9bfa4542f7884e41182ee2040 - Convert domain params tests to requests_mock We still have places using client method mocking. Remove them. Change-Id: I34fbc19aca4b6514215ed497117c635fa810473d - Use RequestsMockTestCase everywhere We still have classes using the old base class. Fix them. Change-Id: I8aa24d3dc641225f1e24e473d4a5966f11cc8c00 - Improve Magnum cluster templates functions There are two improvements in this patch: 1. Add alias to rename xxx_cluster_template to xxx_coe_cluster_template. This a pre clean so that we can support xxx_coe_cluster to avoid conflits with Senlin's functions. 2. Support new Magnum API endpoints, /clustertemplates and /clusters. Those two endpoints added in Newton. Change-Id: I78c37f0df8f63a13c534f3dcaca2e27073f0d730 - add release notes to README.rst add release notes to README.rst Change-Id: If7e931912dc66bce7e1221d564801a642be3d5c7 - Change 'Member' role reference to 'member' Keystone has changed the default role during bootstrap from 'Member' to 'member' therefore the tests which operated under the assumption of having the 'Member' role assigned are no longer passing. This patch addresses this issue, however, long term, it's probably better to create a role and assign it during the test rather than assuming one already exists, but that's probably for another patch. Change-Id: I6e4b7665ab046661dd763a1ff8c8e54e6db2dc18 - fix tox python3 overrides We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I972721cf714d811a427ee6a860b0c18c9920c8bc Signed-off-by: Doug Hellmann <doug@doughellmann.com> - Merge "Update ansible test job to run against stable-2.5" - Merge "Switch to iterable version of server listing (and expose iterable method)" - Remove shade-ansible-devel job shade-ansible-stable-2.5 is the one in use now, remove the old one. Change-Id: I1b59d2d4b61fac4f19d62736db5edc7753d86b92 Depends-On: https://review.openstack.org/570681 - Update ansible test job to run against stable-2.5 ansible now depends on openstacksdk and not shade. Update the shade tests to test against stable-2.5 branch so that we can make sure shade patches don't break people using older ansible. Change-Id: Id7af93cbc73b208d7a973ca5101b8977a0ace689 - Allow explicitly setting enable_snat to either value The original code did not allow someone to set enable_snat to True. Turns out on some clouds the default is the opposite. Change-Id: Ic3bbfa35f7c6184faa60922b4dd796708de57136 - Switch to iterable version of server listing (and expose iterable method) This adds a new server listing mechanism that will yield back each server block that is returned; it is useful for large clouds with projects with a large number of active or deleted instances. For example, in the current list servers it builds up a few lists which can grow quite big (and consume a lot of memory) making it hard to list projects servers that have existed for a long time, but with an iterable verion those lists do not grow (since they just consume the current chunk). Also the iterable version is more easily used in programs with progress bars or anything like that that can take advantage of the knowledge that the listing is at a given chunk (of many). Change-Id: I84c15e664fb2f72f563618483f9df1c99d215faf - Fix recent pep8 issues The latest version of pycodestyle got stricter with undefined objects pulled in via * imports. It's a nice check and actually found a bug, so instead of disabling it, fix the places where we're using a * import. W503 on the other hand is terrible. Change-Id: Id73599ca494545b0f6d2345236190fc13cf2a326 - Use openstack.config directly for config shade depends on openstacksdk already. Let's go ahead and start consuming it directly rather than through the os-client-config compat layer. We have to leave the os-client-config depend for the legacy client functions. Change-Id: Ibe2176c16e29960e9cc2b569325e41d1a4e297a8 - Merge "remove redundant information from release notes build" - remove redundant information from release notes build The release notes build was configured with two pages that scan the master branch. Now that reno adds consistent anchors to sections, that means we have two pages with the same anchors and sphinx will complain. This patch removes the "mainline" page and changes the title of the "unreleased" page to show the mainline title. We need to keep the page called "unreleased" so that the release automation that creates the stable branches can figure out where to insert the next series-specific page in the sequence in index.rst. Change-Id: Ie6ed41a8fadb73a2b9b78426499a41ed30bfcd4d Signed-off-by: Doug Hellmann <doug@doughellmann.com> - Make name setting in connect_as more resilient This setting of the name is currently a hack and is mucking about behing the OCC scenes. We need to be able to step out of it, but to do that we need to muck about behind the SDK scenes for a second too. Change-Id: I772a3d99c354f32c6341d8f409a8e839461af736 - Merge "add lower-constraints job" - Merge "Backport connect_as fix from openstacksdk" - Backport connect_as fix from openstacksdk The connect_as method tried overlaying things directly on top of the 'defaults' cloud config, but things get all messed up and it's actually never what you want. Instead, pull the existing CloudRegion from the local config object and pass it in. Change-Id: I54593bd8f6dd2124df854e923456c390e0d6a147 - Add get_volume_limits() support Add the ability for a user (nodepool) to get the volume limits of a cloud. Change-Id: Id568d3ad408dd8976211c0576c45e8c9471d1849 Depends-On: https://review.openstack.org/564279 Signed-off-by: Paul Belanger <pabelanger@redhat.com> - Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: Iefc596294090af7f1a87b20183f37726e7c0524e - Build universal wheels It is possible to use python3 for shade, so support both python2 and python3 wheels. Change-Id: I77aa290d2671a0457555c3161e279fa2ca52e99c Signed-off-by: Paul Belanger <pabelanger@redhat.com> - add lower-constraints job Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Fix the lower-bound for requests-mock, since 1.1.0 does not actually work. Change-Id: I8740a80c64e24c8339ee9b0992c2f81b1784e672 Depends-On: https://review.openstack.org/555034 Depends-On: https://review.openstack.org/555402 Signed-off-by: Doug Hellmann <doug@doughellmann.com> - Merge "list_servers pagination support" - Merge "create_subnet: Add filter on tenant_id if specified" - Merge "Updated from global requirements" - list_servers pagination support If we want to list the servers of a deployment with more servers than nova.conf max_limit, currently we only return max_limit. This patch makes it behave as expected, getting you all the servers. Change-Id: I58844125ba37d81f1611e4e8ec641c1b8573884d Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com> - Updated from global requirements Change-Id: I5dd56f330ffaa538646e328dfec772e805a2e264 - create_subnet: Add filter on tenant_id if specified Change-Id: I073b53c6bb34fa904e9595169b135fde7c393d0e Task: 12102 Story: 2001744 - Rename python-openstacksdk to openstacksdk Change-Id: I96dace187cbe0772c3040becceb08740f08cbb68 Depends-On: https://review.openstack.org/554662 - Updated from global requirements Change-Id: Iddd98c752cf5d007f3686bfd7c5ab74cc212680a - Merge "Adds toggle port security on network create" - Updated from global requirements Change-Id: I4ece8fbfa4877debe94f5b4517e09517bed44dfc - Adds toggle port security on network create Added a new property, 'port_security_enabled' which is a boolean to enable or disable port_secuirty during network creation. The default behavior will enable port security, security group and anti spoofing will act as before. When the attribute is set to False, security group and anti spoofing are disabled on the ports created on this network. Change-Id: If984a82ca5f6fb69ee644f4fa84333df09d7f8bc - Merge "Add proper return value for validate_node" - Add proper return value for validate_node Change-Id: I361c520e6697750137e86d32dc3890fd8af4a99c - Add extra failure codes to bad request exception For instance on call to cloud.node_set_provision_state(uuid, 'dummy') the API currently only returns: (400) Client Error for url: http://127.0.0.1:6385/v1/nodes/<UUID>\ /states/provision Bad Request whereas the HTTP request also contains some more valuable information in the body: The requested action "dummy" can not be performed on node "<UUID>" \ while it is in state "enroll". Change-Id: I8412a2fd4ba78ad4f43ac2f13b1404dd3c151ce5
This commit is contained in:
parent
40f2b2c67b
commit
90d8a3a812
2
shade
2
shade
|
@ -1 +1 @@
|
|||
Subproject commit 4b5754fd5a8ea8ba610fffbad0c350ab4ebf00b0
|
||||
Subproject commit 186dac653558477ee7fb64f978da457023074948
|
Loading…
Reference in New Issue