75 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
7632a2db45 Updated from global requirements
Change-Id: Id9ba2578ed9617d4db2c5ece3b37e431355810cb
2018-03-23 07:52:42 +00:00
OpenStack Proposal Bot
0b5515155c Updated from global requirements
Change-Id: I074657ebe66ca7cb8a483f87b0fc5fd7b09ed745
2018-03-17 09:06:21 +00:00
OpenStack Proposal Bot
a0386cf090 Updated from global requirements
Change-Id: Iea01420e9fe086f0b083de400344dc580f7f5654
2018-03-13 08:25:03 +00:00
OpenStack Proposal Bot
cb6a3475c0 Updated from global requirements
Change-Id: Ib23f4fc6cacaae644a0504649c5caffb35b00a59
2018-03-04 10:28:23 +00:00
OpenStack Proposal Bot
36dd874e91 Updated from global requirements
Change-Id: I1e20f91566d6387d8d4a8262613479dc856cbac7
2018-02-16 02:51:37 +00:00
Mathieu Bultel
eaa2e9ce75 Get message from websocket instead from zaqarclient directly
Use the websocket api to get and print the real time
ansible execution for minor update instead of using the
zaqarclient call directly.
This is safer and avoid brutal claim of the messages.

Change-Id: I7e324b9e037197082c23a19b4e4b8832daaf5aee
2018-02-06 14:00:14 -07:00
OpenStack Proposal Bot
2a9ba1cb71 Updated from global requirements
Change-Id: I87502cf05322e506ed96fd3ab2ec2d05876e8f58
2018-01-29 00:36:49 +00:00
Juan Antonio Osorio Robles
7012843075 Handle user-provided TLS certificate/key for the undercloud
instack-undercloud has support for using a user-provided certificate and
key. This is done through the undercloud_service_certificate
configuration option. This commit adds support for the same
functionality for the containerized undercloud.

It relies on pyca/cryptography, so I added it to the requirements.txt
file. And what it does is that it will read the PEM file and add the
parameter_defaults that are needed to enable TLS.

Change-Id: I26dbde57131f6328d0c5e400dcdfdf62cdd43a41
2018-01-05 15:36:57 +02:00
OpenStack Proposal Bot
0138f0df8b Updated from global requirements
Change-Id: Ide4fc37ccfd00a300828d54cbc0617df5a4fa440
2017-12-23 14:48:34 +00:00
OpenStack Proposal Bot
d122c99199 Updated from global requirements
Change-Id: I530198da52434de782b75eec438301c2795a9b0e
2017-12-21 00:47:14 +00:00
OpenStack Proposal Bot
cc5fee3cab Updated from global requirements
Change-Id: I803c71b981a312ea65d6387973dcac87e4e2a06b
2017-12-03 21:53:12 +00:00
Zuul
adc9ccf01e Merge "Pre-run validations and verifications for the undercloud" 2017-12-01 19:32:29 +00:00
Zuul
2c375050a6 Merge "Updated from global requirements" 2017-11-30 19:46:44 +00:00
Mathieu Bultel
c102747c8d Catch zaqar exception when no message to claim
On minor update, when the execution is still running
but there is no claim message anymore, we should
capture the zaqar exception to not print it to the
console

Change-Id: I802ffd553c54e4a4f9998420645aa078f508b9f0
Closes-Bug: #1734957
2017-11-29 13:52:23 +00:00
Ian Main
999e0bfb31 Pre-run validations and verifications for the undercloud
Change-Id: Ief1aad319b794547bf6d75255458d08ba3be5f70
2017-11-22 17:52:53 +00:00
OpenStack Proposal Bot
d4e43f1332 Updated from global requirements
Change-Id: I649d10cd86e713509b30940a0e014304379da313
2017-11-16 11:26:59 +00:00
OpenStack Proposal Bot
a9b5d75ef1 Updated from global requirements
Change-Id: I4223d0fa51f2c761fb86e4dd9f0856beff35d73b
2017-09-11 21:49:50 +00:00
OpenStack Proposal Bot
c6db7ce7a4 Updated from global requirements
Change-Id: I8b3a3f152186fed45ca153cb81c969669a70dfc8
2017-09-07 18:36:33 +00:00
Jehoszafat Zimnowoda
b60d221fe1 Use simplejson to load json file
The simplejson extends json library. It provides sufficient information about
JSON syntax errors, which often occurs during instackenv.json file creation.

Change-Id: Ied1c080678af728820e02b7b99c51762b49b1449
Closes-Bug: #1693442
Depends on external: https://review.rdoproject.org/r/#/c/7872/
2017-07-24 23:05:35 +02:00
OpenStack Proposal Bot
b4c2b6f544 Updated from global requirements
Change-Id: I56092a359e1d8e4f9f8559a2d853ca3940913d8c
2017-07-21 05:08:13 +00:00
Ben Nemec
12299487f8 Revert "Call undercloud install function directly"
This broke undercloud upgrades - tripleoclient imports
instack_undercloud.undercloud, then upgrades the package.
This means the upgrade call then runs against the old version
of the module, which is incompatible with some of the new
puppet stuff.

Closes-Bug: 1701362

This reverts commit b6e71724e091a8a23191114e3638e1760240dfd2.

Change-Id: Ie79dfff667437305ff4109da5a9c42ae358b1a3e
2017-06-30 14:14:25 +00:00
Ben Nemec
b6e71724e0 Call undercloud install function directly
For about 2 years we've been indirectly calling the undercloud
install function through a bash script.  Originally this was done
to allow for some backwards compatibility with mismatched packages,
but later it was kept because a direct call broke logging.  This
is no longer a problem, probably due to some changes in how logging
in instack-undercloud works.

Change-Id: If07880e4bc25cffe485704772d64f62288a1a53d
Depends-On: Iff76f639bcacb5bcc1274fd837e47d34041afa15
Related bp undercloud-upgrade
2017-06-19 19:22:59 +00:00
OpenStack Proposal Bot
5480b18813 Updated from global requirements
Change-Id: I6e376611df6ac3cbc100efa9d2e46e59c365cd10
2017-06-15 16:35:17 +00:00
OpenStack Proposal Bot
d576913def Updated from global requirements
Change-Id: Icca65ff5795817d6ce6db9291de6f06e3a7237cc
2017-05-18 12:55:30 +00:00
OpenStack Proposal Bot
1f3691f98b Updated from global requirements
Change-Id: I50de661fcea632e95065712f263c1506d69c17bd
2017-05-02 11:52:52 +00:00
OpenStack Proposal Bot
f085d84eb1 Updated from global requirements
Change-Id: I4a6f4b92f0e4c5c0b153cba8e4aa11582a68f018
2017-04-17 17:21:59 +00:00
OpenStack Proposal Bot
27d43fffff Updated from global requirements
Change-Id: Ie47be19952df1670285af588d7e9dc657a59deb1
2017-04-07 06:16:54 +00:00
Emilien Macchi
57685a3929 Stop using os-cloud-config
os-cloud-config has been deprecated in Ocata and we don't need it in
tripleoclient anymore. Let's remove the code that was here for legacy.

Keystone endpoints have been managed by Puppet, so we don't need the
legacy code anymore.

Change-Id: I5662de11620db74fa67fb12c55a3bbd66ed8d3ad
2017-03-28 09:00:31 -04:00
OpenStack Proposal Bot
ff6306f494 Updated from global requirements
Change-Id: I23b823beba92a867b1ee4dfd915451c5333fc4c7
2017-03-07 02:06:19 +00:00
OpenStack Proposal Bot
f90b59d0d5 Updated from global requirements
Change-Id: I1502a81576e28a9232657ecf5f7bb269732be477
2017-02-28 05:48:23 +00:00
OpenStack Proposal Bot
0f4de923ca Updated from global requirements
Change-Id: I3dc3512515f2f38995915f0b56744d5e28d44239
2017-02-10 05:59:48 +00:00
OpenStack Proposal Bot
ecd6ea033a Updated from global requirements
Change-Id: I04ce6e823a8ccde2dc75a7efd3bee2bda4ae5976
2017-01-24 16:26:49 +00:00
OpenStack Proposal Bot
9c4b435b04 Updated from global requirements
Change-Id: I0fca3876f955c517db61eceee714caa4a9903de1
2017-01-15 09:29:16 +00:00
OpenStack Proposal Bot
010f6ab4be Updated from global requirements
Change-Id: Ifd943434a099b6669dd1cd0cfccf3586ab8f95e8
2016-11-29 01:50:53 +00:00
OpenStack Proposal Bot
6581755110 Updated from global requirements
Change-Id: I3d3f8b6d84a86c2f5cd67808981ccdb04aaf4c51
2016-11-16 04:53:17 +00:00
OpenStack Proposal Bot
f32600bbc3 Updated from global requirements
Change-Id: I8607e138e749aa6386a9cc5833cd91f88f847d52
2016-10-20 23:00:15 +00:00
OpenStack Proposal Bot
a004f68fc6 Updated from global requirements
Change-Id: I06ef9e8bdeb8e4b64a19011229a02d1a842f951d
2016-10-06 03:33:09 +00:00
OpenStack Proposal Bot
d021bd509e Updated from global requirements
Change-Id: I3dc3cfd743a6d041a65e3e56e9add2657c9c31af
2016-09-21 11:57:00 +00:00
Dougal Matthews
c86f4ca092 Use a released version of tripleo-common
Depends-On: Ia390aade2110a2c9ced229a96c6643c0ca738cf2
Change-Id: Ib3fcd4d5acb008d252744accdb35e68c10c4a70f
2016-09-19 15:48:28 +00:00
OpenStack Proposal Bot
92587b9eac Updated from global requirements
Change-Id: I479ea3adf1f36c0d884c9bba01ec637b2ecf8360
2016-09-15 20:26:21 +00:00
Dougal Matthews
133e8cf91a Migrate to using osc-lib
This new library provides the common logic used by openstack
clients. Replacing the imports from openstackclient and cliff.

Depends-On-External: https://review.rdoproject.org/r/#/c/2088/
Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6
Closes-Bug: #1620964
Change-Id: I103a13ff6c0af94b82f5e48652380adfbf331d34
2016-09-13 22:35:01 +00:00
Giulio Fidente
252f43e6e8 Use heatclient poll_for_events in wait_for_stack_ready
Resort to the new heatclient builtin to check for the stack status
and removes custom implementation from tripleoclient utils.

Change-Id: I5f48eb87a5e06846cd40c1b61aade60acdcb2a18
2016-09-04 16:21:06 +00:00
Dougal Matthews
2c0fecf69c Add 'openstack overcloud plan create' command
This uses the new Mistral actions and workflows to create a
plan with the tripleo heat templates. Templates can either
be provided by the user or the default templates on the
undercloud can be used.

Closes-Bug: #1616014
Change-Id: I4f82fda01215b9a45669862ef26c69421fdaad59
2016-09-01 14:13:16 +01:00
OpenStack Proposal Bot
1e9f8f9db8 Updated from global requirements
Change-Id: I63ce1d6f8f6d722c573ab5ce01a22cba147c2d8b
2016-08-08 09:46:09 +00:00
OpenStack Proposal Bot
d6196e9a4a Updated from global requirements
Change-Id: I308b8390d4a4298dc403cfff528ba4d40ff2ff9f
2016-07-15 01:43:22 +00:00
Dan Prince
9244349742 Use Mistral for baremetal registration
Updates the baremetal registration workflows to use Mistral
instead of python.

Co-Authored-By: Dougal Matthews <dougal@redhat.com>
Co-Authored-By: Ryan Brady <rbrady@redhat.com>

Change-Id: Ide8b7753829170f503ef962b4ad4fde388cbb0ba
Depends-On: Ifc6bdd273a8e129ea7c4269d00add64e72cd371b
Depends-On: I910f50a377bcbc2c23b527953e9df7eee9c938a4
2016-07-08 15:43:18 +01:00
Dan Prince
a97dc6b158 Add support for Zaqar websocket messaging
Updates the plugin ClientManager so that we support creating
a websocket authenticated with Zaqar so that actions can
interact with Zaqar queues.

Co-Authored-By: Thomas Herve <therve@redhat.com>
Co-Authored-By: Dougal Matthews <dougal@redhat.com>

Depends on external: https://review.rdoproject.org/r/#/c/1289
Partially-implements: blueprint remote-execution
Change-Id: Idf522b3d4193776a5b6626cef28336820257d4e7
2016-06-09 15:17:12 +01:00
Dougal Matthews
f8da53d2de Remove commented out os-cloud-config
It is included a few lines below, without a comment.

Change-Id: Ifbe1aa58b76539849374c58427f2229388bd075d
2016-05-18 10:50:50 +01:00
OpenStack Proposal Bot
f5016c9b52 Updated from global requirements
Change-Id: Ia580f3d17a04a1e35770239ce6d56d3961af6dbd
2016-05-13 17:09:02 +00:00
Dougal Matthews
31c1daf985 Use a released version of os-cloud-config
Change-Id: I712777e7300c48947c14fa4bb4a0926a5bd71bcd
2016-05-09 13:28:53 +01:00