keystoneclient.session has been long deprecated in favor of
keystoneauth1.session. This change corrects the import to use
keystoneauth1.session instead of keystoneclient.session.
Change-Id: Id792bc82fcf850408e5425f06767f0f65e322e49
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: I44534ae7990efb3c2cc1abb0fa5dd2e26a5d3142
With the latests changes to os-testr[0] it now expects a
.stestr.conf file instead of a .testr.conf file. This
change migrates .testr.conf into .stestr.conf and adds the
new testing directory into .gitignore.
[0] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html
Change-Id: I1ff2f4d0c719b0947da70b21cbbfc9e74be76047
Part of support for nested stacks and updates story
To add nested stack support to Valet, make up for missing Heat resource
Orchestration IDs in nested resources by generating a subset of Heat
stack lifecycle scheduler hints for each resource in advance, store
them as opaque metadata in Valet, then leverage the metadata at Nova
scheduling time. Make additional accommodations in anticipation of
complexities brought about by adding support for stack updates.
To add a minimally viable amount of Heat `stack-update` support to
Valet, significantly restrict the number of update use cases using a
set of acceptance criteria. Skip holistic placement at `stack-update`
time in favor of Valet's existing re-plan mechanism, placing or
replacing resources one at a time, albeit still in consideration of
other resources in the same stack hierarchy.
Change-Id: I4654bcb4eacd5d64f76e262fe4c29553796e3f06
Story: #2001139
Task: #4858
Part of Support Nested Stacks and Updates story
To add nested stack support to Valet, make up for missing Heat resource
Orchestration IDs in nested resources by generating a subset of Heat stack
lifecycle scheduler hints for each resource in advance, store them as opaque
metadata in Valet, then leverage the metadata at Nova scheduling time. Make
additional accommodations in anticipation of complexities brought about by
adding support for stack updates.
Change-Id: Ifed5b0f8172e522caf7e520f8131f23d4d336f4f
Story: #2001139
Task: #4855
This change contains some of the new Tempest scenario tests to be used for
testing the Valet stack update functionality. Specifically, these tests ensure
that non-valet heat stacks are still working when Valet is in place.
Change-Id: I8de4a54f90b768a24767e0ab3317aa348462a0f8
Story: #2001139
Task: #4860
Part of Support Nested Stacks and Updates story
To add a minimally viable amount of Heat stack-update support to Valet,
significantly restrict the number of update use cases using a set of acceptance
criteria. Skip holistic placement at stack-update time in favor of Valet's
existing re-plan mechanism, placing or replacing resources one at a time, albeit
still in consideration of other resources in the same stack hierarchy.
Change-Id: Id44819f1b69dc2da2b026bdbf3d9c93fed9adc11
Story: #2001139
Task: #4856
Part of Support Nested Stacks and Updates story
Enhance the definition of data center resources and improve update collections.
Change-Id: I7843e589109ca7e5ab98265a19850c34ab1ad8f8
Story: #2001139
Task: #4857
Updates to tempest testing for the old tests to support
new nested stacks and updates changes.
Change-Id: Ib3dd51f41bf5acbd5ce28f400a4e8be51c480751
Story: #2001139
Task: #4859
Contains the new Tempest scenario tests for testing the Valet
nested template functionality.
Change-Id: Ic78a93e65b6613e4dbb3ae59bce158bb1303c826
Story: #2001139
Task: #4861
This commit contains the scripts for the Valet Devstack
plugin. The plugin.sh file is the entry point into the
plugin. These scripts provide the "stack", "unstack" and
"clean" capabilities.
Task: #4591
Story: #2001035
Change-Id: Ib7ec301802bb05969ebc83d060823c0bb8146f53
This patch set centralizes all oslo configuration setting(s) into a single
module and provides necessary entrypoints for the configuration
to be generated via ``tox -e genconfig``
Story: #2001045
Task: #4619
Change-Id: I0473c7176f412d176be24deb588f7ef4c113848a
Co-Authored-By: Tin Lam <tin@irrational.io>
Moved the logger references in health_checker.py and
listener_manager.py to the file headers to match convention.
Calls to the logger were readjusted to reflect the new
variable names. Also, copied the changes which removed the
use of the pass-in logger and uses oslo_log's log.getLogger()
to handle logging.
Story: #2001031
Task: #4232
Change-Id: I66beb635a78e5f6f0caae0b5a63c55dfdb5d15fe
Changes required for Valet to function properly running on
the stable newton version of devstack.
Task: #4670
Story: #2001035
Change-Id: I5d79fb636e9fe1db446ba0d7e749c59db5b10318
This patch set adds bandit security static code scanning to valet.
User can run ``tox -ebandit`` to perform the analysis.
Change-Id: I37a979cefa8f02ffa5455d042e06a419063eb8e7
DeprecationWarning:
Using function/method 'oslo_messaging.transport.get_transport()'
is deprecated: use get_rpc_transport or get_notification_transport.
Replace get_transport with get_notification_transport.
Change-Id: I7282791cac28bea31daa78945ab2a4343d948f86
A functional test file contains a space. This patch set
fixes the issue and also fixes the DOS/Windows carriage
returns CRLF (\r\n) in that file.
Change-Id: If960bb4bf02de13d58c7fd85a49bea1deea80e81
Some files in the repo has a DOS/Windows CRLF (\r\n) ending instead
of the Unix return. This patch set fixes the issue.
Change-Id: Ic6601f3ace9507f30c487f495198c2397b5bf805
This patch set is one of many to add api reference documentation to valet.
This specifc patch adds the /v1/groups/ api documentation. User
can generate the documentation by ``tox -eapi-ref``.
Change-Id: Ic5016abd9f95de98effeaceb4b9f8c1fc7943d6a
Signed-off-by: Tin Lam <tin@irrational.io>
The current repo has a number of python and conf files with executable flag
set (+x). This patch set removes that flag from the files.
Change-Id: I00a5f92afae22f14b046e32563cba731cdaa47b2
Signed-off-by: Tin Lam <tin@irrational.io>
This patch set enables PEP8 standard check for project Valet, and
corrects all outstanding PEP8 issues.
Story: #2001040
Task: #4602
Co-Authored-By: Omar Rivera <gomarivera@gmail.com>
Change-Id: I4b987ff28b02ea8a6da77fb0f29eda1515d212ac
This patch set fixes the requirements, and two workarounds in the
documentation due to the previously broken requirements.
Change-Id: I3e2e7ec5897270f266ba5ea84c9927f7623b4483
Enforced only admin can create plans in valet. If unauthorized,
appropriate error message will be displayed.
Change-Id: I8166f5675b247bc309db51b9b671a511e1d6abca