Commit Graph

313 Commits

Author SHA1 Message Date
Tony Breeds 4b202799cc Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I2bfea805dea3902deab027365d1381de81e118d7
2017-09-12 16:13:24 -06:00
Dougal Matthews c14ba08d32 Retire the Tuskar Client codebase
Change-Id: Iee7117358100a1b5cfb365103e6e2ac247ea6178
Depends-On: I904b2f27591333e104bf9080bb8c3876fcb3596c
2016-01-22 11:25:32 +00:00
Jenkins 8f9ccd7594 Merge "Update README.md for repo project" 2015-12-14 11:54:56 +00:00
OpenStack Proposal Bot e77d2a1b66 Updated from global requirements
Change-Id: I753562f07fc648726081f1cab5f0ec2dbd182849
2015-09-29 17:56:40 +00:00
Monty Taylor 85e7f51951 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: Ia2da03357349868dbe70bed819078ea18a772e31
2015-09-21 14:54:53 +00:00
xuan.mingyi 29863199ce Update README.md for repo project
change the repo link to the one which is from git.openstack

Change-Id: I4e24ce1fae1fd54311c30cc8efe7e342f8e37c34
2015-08-19 02:43:18 +00:00
Sergey Vilgelm edec875824 Switch to oslo_i18n
Add i18n module.
Remove gettextutils from the openstack.common package.

implements: blueprint graduate-oslo-i18n[1]

[1] https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-oslo-i18n

Change-Id: Iea729972b1f37d6fb5ba88d49d740028f7baf93a
2015-08-04 08:05:11 +00:00
Lennart Regebro 92a18348dc Replace assert_called_once() calls
assert_called_once() has been removed in later versions of Mock.
This replaces those calls.

Change-Id: I0fedeb259660681f49d49064d2e0e6648ef63077
2015-07-23 18:40:47 +02:00
Jenkins 9e051c620a Merge "Fix output of "tuskar plan-list --verbose"" 2015-07-02 16:13:35 +00:00
Jenkins 6fa19d5d10 Merge "Filter and format parameters for plan role in OSC" 2015-06-16 10:53:41 +00:00
Jenkins 8a077c6ef9 Merge "Enable SSL-related CLI opts" 2015-06-16 10:49:40 +00:00
Jenkins 1fc9390843 Merge "Updated from global requirements" 2015-06-16 10:47:19 +00:00
Jenkins 30d90ff5e4 Merge "Handle creation of plan with existing name" 2015-06-16 10:44:50 +00:00
OpenStack Proposal Bot caa2b4da8b Updated from global requirements
Change-Id: I69c376ad7ae8eebbca2f0aa5509e50131c91fac7
2015-06-15 22:08:13 +00:00
Jenkins 7672dd2009 Merge "Calling tuskar role-list would output blank lines" 2015-06-15 20:42:13 +00:00
Lennart Regebro 39ea687e3c Fix output of "tuskar plan-list --verbose"
Add pretty printing for most values, and re-wrapping for text.

Change-Id: Iab8cc15c9407eaac20bf6fc5332f194e23930c24
Closes-bug: https://bugzilla.redhat.com/show_bug.cgi?id=1196191
2015-06-12 06:48:45 -04:00
Ben Nemec 00c3de2a03 Enable SSL-related CLI opts
Most OpenStack clients support a common set of SSL options, such
as os-cacert, os-cert, and os-key.  This change uses
keystoneclient.session.register_cli_opts to add those to the
argument parser and passes the resulting values to the Keystone
client so they take effect.

Change-Id: I24c2c2fa5be51590cc2d8a9278563dd4f7ba091d
2015-06-10 17:36:59 +00:00
Lennart Regebro 09d73e0302 Calling tuskar role-list would output blank lines
The role description will sometimes include newlines. If the last
character is a newline this ends up looking like an empty line in
the shell output. Adding a filter for descriptions fixes this.

Change-Id: Ia8586ce3743481fa9618e17340996ace22f80915
Closes-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1196203
2015-06-09 07:34:55 -04:00
Ana Krivokapic 52dfbcee0c Handle creation of plan with existing name
If creation of a plan with an existing name is attempted,
fail more gracefully.

Change-Id: If3d3471d927448520e14a990da35c133b1c235e6
2015-06-03 16:44:14 +02:00
Marek Aufart 24087b31c0 Filter and format parameters for plan role in OSC
Output of commands for add/remove role to plan inside OpenStack
client was too long. Filter and formatter for parameters and
roles added.

Change-Id: I1831aab96dad00f605feb6340e43ca5437fe0c04
2015-05-29 14:01:35 +02:00
Dougal Matthews b3e37fccac Bump hacking version
This fixes the one new failure reported by hacking.

Change-Id: Ifba58879acdacc60262d8a6fad5aee7cbdcc62f5
2015-05-22 21:02:32 +01:00
OpenStack Proposal Bot 47fdee09d0 Updated from global requirements
Change-Id: I21a64e01766d39bb52cc70c6d2e7930377aa3067
2015-05-13 16:38:51 +00:00
Dougal Matthews af2597d124 Implement download Plan for the OpenStack client
Change-Id: I79cba08518d85d423dd023a5918fe6389a6e4ddf
2015-05-12 12:29:42 +01:00
Dougal Matthews 622802052e Implement Plan remove Role for the OpenStack client
Change-Id: I51741dac1e118c99d7878095269dc738726b03bc
2015-05-12 08:44:53 +01:00
Jenkins 3413001b4b Merge "Implement Plan add Role for the OpenStack client" 2015-05-12 07:02:10 +00:00
Jenkins 46b09fded1 Merge "Implement show Plan for the OpenStack client" 2015-05-12 07:01:59 +00:00
Jenkins 0d94ef552f Merge "Implement Update Plan for the OpenStack client" 2015-05-11 15:57:15 +00:00
Jenkins 1e2b652d1b Merge "Show Plan parameters with empty values only" 2015-05-11 10:53:55 +00:00
Dougal Matthews 14e273be72 Implement Plan add Role for the OpenStack client
Change-Id: I175a60a4d9c5efb98be95c0ab0dea88408db7b6c
2015-05-11 11:48:26 +01:00
Dougal Matthews 7a859510a5 Implement show Plan for the OpenStack client
Change-Id: I6fdae30d7da353179b54284d05ef5b2ee3f6738f
2015-05-11 11:48:26 +01:00
Dougal Matthews dd5036e26e Implement Update Plan for the OpenStack client
Change-Id: I47a052c5b66828faec5f6ddc788b0834cb276c3e
2015-05-11 11:48:20 +01:00
Jenkins 83a1592a25 Merge "Implement delete Plan for the OpenStack client" 2015-05-08 08:50:57 +00:00
Jenkins 228b1bc14b Merge "Correct plan-remove-role to handle return of delete correctly" 2015-05-07 17:35:18 +00:00
Dougal Matthews 2721d85465 Implement delete Plan for the OpenStack client
Change-Id: I1140ca8e6647fb77482672d8fa78d84745142523
2015-05-07 11:00:08 +01:00
Dougal Matthews 531be10588 Implement create Plan for the OpenStack client
Change-Id: If6e0ad80868f6c1c8af17b1445f7e231a21a754f
2015-05-07 11:00:08 +01:00
Dougal Matthews ee470b9dd2 Implement list plans for the OpenStack client
Change-Id: Ia4b0ea2f3e1f8e3fc2cda4d0851a97c5d02691c0
2015-05-07 11:00:08 +01:00
Dougal Matthews ce00cf5cfc Implement list Roles for the OpenStack client
Change-Id: I14efeca2ad8dbc10f51ec551de58b167ba4a830b
2015-05-07 11:00:08 +01:00
Jenkins 577a04f7e5 Merge "Drop use of 'oslo' namespace package" 2015-05-07 09:12:30 +00:00
Doug Hellmann ccfa3d3b34 Drop use of 'oslo' namespace package
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: I324a3bd0c468a3e84f633497ad5c0d59c5ccc455
2015-05-06 19:47:22 +00:00
Dougal Matthews c3db17c05e Add stub commands and tests for all OpenStack client commands
This adds the overall stubs for all the Tuskar commands that will be
added to the OpenStack client.

Change-Id: Ia3d465f253aedb5825a9db552b560e50945c9bf7
2015-05-06 14:16:11 +01:00
Dougal Matthews 3b822e309f Add initial python-openstackclient plugin
This adds summport for the python-openstackclient to Tuskar client. The
initial plugin creates an instance of the management client for
OpenStack client commands to use.

These commands are added in following patches.

Change-Id: I5cc0be33c4b5e945cbc9eacff8c79b758cf8b6d7
2015-05-06 14:16:11 +01:00
OpenStack Proposal Bot 2470941d6e Updated from global requirements
Change-Id: I08d96d1fb7f26826d2c6dd18d23d317a536be5a7
2015-05-04 20:09:24 +00:00
Jenkins a2fd344071 Merge "Add a help message for the plan-templates command" 2015-04-30 13:35:03 +00:00
Marek Aufart 5e2f384907 Show Plan parameters with empty values only
In order to help users to enter parameters values, we need to
easily filter parameter which have not been setup yet. Flag
--only-empty-parameters was added to plan-show command to do this.

Change-Id: I94028863b21dd2435eaf4f05e8e064d6664a6e1a
Related-Bug: #1422598
2015-04-30 10:30:55 +02:00
Marek Aufart 109207a429 Add /v2 to TUSKAR_URL in README example
README example update. Path of TUSKAR_URL include /v2 now
to make possible to just copy-paste and have working tuskar
command for newbies who use default noauth strategy.

Change-Id: Ic9d546c4e2d8f1c0af9427add03107e23f19926d
Closes-Bug: #1447943
2015-04-24 14:22:05 +02:00
Brad P. Crochet 0825f99672 Correct plan-remove-role to handle return of delete correctly
The return value from a DELETE was not being handled properly. This will
handle it like PUT. If there is a body, return the processed json.
Otherwise, return nothing.

Change-Id: If93c3830e418f112927d737d28bb338867db5c4c
2015-04-13 14:09:16 -04:00
Dougal Matthews 975bf830d9 Add a help message for the plan-templates command
This can be seen with `tuskar --help`

Change-Id: I728f178649c8149848a1939968b9d6f91201d3d9
2015-04-07 10:23:38 +01:00
Jenkins c8e3799f55 Merge "Add support for subdirs in templates listing" 2015-03-20 18:46:44 +00:00
Jay Dobies c27af2667f Add support for subdirs in templates listing
With the addition of Puppet support, it's possible that the files
returned for the stack will be nested into directories. This directory
information will be carried in the key values for the templates dict
(e.g. 'hieradata/common.yaml' : <contents>).

This change looks for one or more directories in the template name and
creates the necessary structure in the template output directory.

Change-Id: Ic7dc65427ab9fdb981db1663c400e4e0cc3cc53d
2015-03-16 09:49:28 -04:00
Jenkins b0d8ec5059 Merge "Update documentation to match parameter rename" 2015-03-16 10:04:35 +00:00