29 Commits

Author SHA1 Message Date
Dougal Matthews
b76bf2ae69 Merge "Enable Manila Service" 2015-08-05 15:49:01 +02:00
Lennart Regebro
b89bd12384 Do not configure and EC2 endpoint by default
Change-Id: I51ed0610032ffa1551ad411a39121c0abb1eeb10
2015-07-21 20:13:43 +02:00
Ryan Hefner
ee2c07560d Enable Manila Service
During an overcloud deploy, a Manila password and service endpoint
should be created. Without these, the service isn't acessible for
end-user use.

Change-Id: Id49d4ba0cb63c5730573c52b4b952d37ebf6fe9e
2015-07-17 16:04:47 -04:00
Dougal Matthews
0b050caabf Add --timeout to provide an optional timeout to Heat
This change also removes the timeout in the CLI as it waits for Heat.
Operators can use ctrl+c if they want to exit early for some reason.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1243365
Change-Id: I6bbaaf6f39f98dc11ccdd1897cd4b7188cd6a2a9
2015-07-17 14:37:40 +01:00
Dougal Matthews
a82de65eeb Set nodes to AVAILABLE after discovery finishes
This originally happened during the deploy, but due to to a bug in
Ironic/Nova [1] there is sometimes a significant delay before the Nova
scheduler is updates.

[1]: https://bugs.launchpad.net/ironic/+bug/1248022

Change-Id: I58eaf373db8335d024899dd6a231f3eb5f51ff9a
2015-07-08 18:33:12 +02:00
Ryan Brady
3ac33f5b87 Fixes post-deployment init
If you deploy and using the plugin, the UI doesn't recognize the
overcloud has been initialized.  The UI expects the horizon service
to be registered.  This patch adds the required information for a
service and endpoint to be registered for horizon.

Change-Id: I6f0b197f9062dd73b224045cbe9beca6f721cba8
Resolves: rhbz#1193922
2015-07-06 15:00:54 -04:00
Dougal Matthews
c5e2c71590 Merge "Add tools/run-tests.sh instead of run_tempest.sh" 2015-06-25 09:43:39 +02:00
Mathieu Bultel
9e10a840ac Add tools/run-tests.sh instead of run_tempest.sh
Change-Id: I78207401e38840a481b473d2a0150cd95e86b8b5
2015-06-24 17:05:53 +02:00
Brad P. Crochet
b4848b9b3c BZ #1233956: Add support for cinder v2 api
https://bugzilla.redhat.com/show_bug.cgi?id=1233956

Add the endpoint creation for cinder v2

Change-Id: I26a20b65e6ff260cc93d15d6d85d0ed6638950f0
2015-06-23 09:11:46 -04:00
Dougal Matthews
e122b57073 Increase the default timeout for a deploy to 60 mins
num loops = (60 mins * 60 seconds) / 10 second sleep

Change-Id: I8bfb9c7b3124000b2aff65aaf0a1b906d51cfa79
2015-06-18 15:47:33 +01:00
Dougal Matthews
f1abeb546a Merge "Add overcloud validate command" 2015-06-09 12:46:54 +02:00
Imre Farkas
d67e483c13 Add overcloud validate command
Change-Id: Idb42cbe4c90860b545f03e0a36de9e53d441c064
2015-06-05 16:21:16 +02:00
Dougal Matthews
176bc90024 Add overcloud deploy post config and add network initialization
Change-Id: Iabeb59043a90dc300dc95306f221f1ac8eb1ee6a
2015-06-05 09:23:32 -04:00
Dougal Matthews
abbaad4412 Write the passwords to tripleo-overcloud-passwords
Change-Id: I68025e1bab7475d9bdfadcbac19a27c41d13c9ce
2015-05-29 16:13:21 +01:00
Brad P. Crochet
0b48c5766a Merge "Use uuid4 instead of uuid1 as a base for passwords" 2015-05-28 20:48:55 +02:00
Derek Higgins
d30afc105b Use uuid4 instead of uuid1 as a base for passwords
uuid1 is intended to be uniq but not unpredictable. Knowing the
mac address of the host generating the uuid and what time it was
roughly generated at essentially reduces the parts of this uuid
that have to be guessed from 128 bits down to less then 48, still
a big number but there is no reason not to use the bigger of the
two.

Change-Id: Ib21c46dddbbd5d0e3aaaa019ba6d23aaaaa82e12
2015-05-28 18:30:21 +02:00
Brad P. Crochet
5d60f93e09 Add proper Heat parameters when doing a tuskar-based install
Change-Id: Iff8519fac1b172e88ca78a1dfc03c3d74975ef15
2015-05-28 14:26:55 +01:00
Brad P. Crochet
e54c76f8af Assume the v2 Keystone client
Change-Id: I07b46bd68347db79efa6b958ae9c122423f9c20d
2015-05-27 09:14:48 -04:00
Brad P. Crochet
ae6c307e21 Implement setup_endpoints needed by overcloud deploy
Change-Id: Ia7fea303ebc19ec12e650c760012c8aed9dd11fa
2015-05-19 11:19:35 -04:00
Dougal Matthews
d1f3cf01aa Overcloud Deploy Command
Add a Python implementation in the deploy command in Instack.

For now this conde is more limited than the Instack variant. Options to
customise the stack name and other parameters need to be added adter
along with integration with Tuskar.

Change-Id: I739261a9808f5af3fb54cda6dfa1c7c63f2a1606
2015-05-15 15:08:12 +01:00
Dougal Matthews
a568228739 Add a utility to remove SSH keys from the known_hosts file
Change-Id: I136dfa50835eaae177fb516dcf9866798149ea2e
2015-05-15 13:49:28 +01:00
Dougal Matthews
f8fc455cf5 The baremetal client will return None if the node isn't found
Change-Id: I20102fa1e4c3f7968e1d12c382868ee24f0940d9
2015-05-15 10:42:56 +01:00
Dougal Matthews
468bbf892e Add a utility function for reading Hiera keys
Change-Id: I7fa3935bfd79872b424102d62cf62cb39367d39d
2015-05-15 10:42:47 +01:00
Dougal Matthews
6a84d9e110 Refactor setting node state into utils
This will be used by the deploy code and is likely to be generally
useful.

Change-Id: I83b69e51fe53013fd3ee47f9f9662274e9b3270e
2015-05-15 10:41:02 +01:00
Dougal Matthews
ae6d474c30 Add a ulility to create an environment file
Change-Id: Ib97482bd1fb67e73f7448489b9ed1642f7f9bb9c
2015-05-14 17:22:52 +01:00
Dougal Matthews
335281c217 Add a docstring for wait_for_provision_state
Change-Id: Ic1f6d7672a3fdd132ddf4103c22d61705ab974eb
2015-05-14 15:24:26 +01:00
Dougal Matthews
68f3743328 Wait for discoverd
Make the introspection command wait for discovery to complete.

Change-Id: I787e4f0c2ab4ff0aa96621d7791576cb99a6d00d
2015-05-11 12:42:32 +01:00
Brad P. Crochet
bb804c6ce8 Implement wait_for_stack_ready
This is used to block until a stack returns a completed status, a failed
status, or times out.

Change-Id: Ia7d45331dd4dbdb5ac522eeedfba53bfa848d182
2015-04-21 13:22:20 +01:00
Dougal Matthews
d5c251aab6 Add check_hypervisor_stats
This is used for deploying the overcloud and check for a
minimum number of registered and ready nodes and node statistics.

Change-Id: I96880cc9497b8b21bc69d4f3870f6a3cd16b83fc
2015-04-14 11:58:14 -04:00