Undercloud install should be automated by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo-quickstart |
Fix Released
|
High
|
John Trowbridge |
Bug Description
The final step after running quickstart.sh is to SSH to the undercloud and install the undercloud. From a new-user perspective I think this is confusing (hey, I just installed the undercloud!).
IMHO it's be better if we by default spawned the VM, then ran the undercloud install, including any workarounds we need in CI such as pinning versions etc.
A common problem for folks consuming upstream is we end up with stuff pinned in CI, like this:
https:/
Developers work around it by running their undercloud install via tripleo.sh, but for new users it's a bad experience as the docs invariably diverge from what is tested in CI (e.g including the pinned versions).
So, I think we need to do one of:
- Run the undercloud install via ansible so it exactly matches CI (with a view to using it in CI)
- Generate images containing the exact versions of things used in CI, and ensure they're never changed during the ansible-automated undercloud install (which will really just be applying puppet).
I have been thinking about just using tripleo.sh for everything after the undercloud boots. We would then be doing exactly what CI does. The only difference would be the repo setup in the current image. That part overlaps the upstream image bug a bit:
https:/ /bugs.launchpad .net/tripleo- quickstart/ +bug/1569460
However, it could also be solved without a totally new image.
We could have a "dev" config file and a --dev option to quickstart.sh that takes the RDO image and adds the "current" repo for TripleO packages to both the undercloud and overcloud-full images before kicking off the undercloud install.
We would need to wire in using the deploy artifacts to get puppet modules from source in the overcloud as well.