11 Commits

Author SHA1 Message Date
Monty Taylor
e4c4d108f5 Print yaml inventory instructions
We need to also add servers to the inventory. Print a snippet to
add.

Change-Id: I630cc9f68b570b517eba81f23b603d84a019b20a
2019-02-28 18:21:20 +00:00
Monty Taylor
99fd7d380c Update dns message to make sense for opendev
Change-Id: I408dea594d94e0b4c6e4b5c6cf16684bc257ce65
2019-02-28 17:20:13 +00:00
Monty Taylor
0bb4232586 Add base playbooks and roles to bootstrap a new server
We want to launch a new bastion host to run ansible on. Because we're
working on the transition to ansible, it seems like being able to do
that without needing puppet would be nice. This gets user management,
base repo setup and whatnot installed. It doesn't remove them from the
existing puppet, nor does it change the way we're calling anything that
currently exists.

Add bridge.openstack.org to the disabled group so that we don't try to
run puppet on it.

Change-Id: I3165423753009c639d9d2e2ed7d9adbe70360932
2018-08-01 14:57:44 -07:00
Monty Taylor
5af7703eee
Add error messages to dns.py about old sdk
dns.py requires the latest shade/openstacksdk. Put in explicit error
messages about that.

Change-Id: Id7eae3b21765a2b5bc1e4d446d6bb5766f922932
2018-04-03 12:49:43 -05:00
David Moreau Simard
213975b930
Update launch-node's dns.py to work with openstacksdk
Shade no longer uses novaclient. shade also strips links dicts from the
resources it returns. shade also now depends on openstacksdk, which does
not strip links dicts.

Change-Id: Ifb6a8280e548cb55932cae4a2bba8e1fa5b34c3c
2018-03-23 13:01:40 -05:00
Jeremy Stanley
ce70bde4de Use environment file in sample reverse DNS command
With Ansible-based launch-node.py now using clouds.yaml, we're no
longer setting up the environment variables expected by the rackdns
utility for setting PTR resource records. Add a line to the example
commands sourcing the appropriate variables into the environment
first.

Change-Id: Ia96296a8fac803d514e49eeeedaeebc76585d6fd
2016-03-23 14:37:52 +00:00
Monty Taylor
f94594a98e Retire old launch-node.py
It has served us well, but it's time for the new world order to take
over.

Change-Id: I72a9f1b1c0f1bd331b5f862f5f69966950ffe963
2016-03-09 14:23:54 -06:00
Monty Taylor
e14471dcc6 Update for ansible and puppet apply
Shade supports all of the TODO items in here now, so use it. Also,
we have ansible playbooks that do the work of running puppet - and since
we're on puppet apply now, we can use them.

Change-Id: I6f57e9a31bf835ef2e22db1f5531d92e99806cf4
2016-03-09 14:23:54 -06:00
James E. Blair
387d4a2b6a Add a shade launch-node
Created as a new script so that we aren't hosed if this doesn't
work with current providers.

Change-Id: Ia8d35d0acbfb773ca710c9383d9b746e786766bc
Depends-On: I26bc94408441edf067493b7ffd50eebd9dd95e75
2016-01-21 11:45:41 -08:00
Monty Taylor
eef4f76011 Clean up flake8 issues before switch
In anticipation of swtiching to flake8 as part of the removal of
pyflakes jobs, clean up a few flake8 errors so that we don't have to
ignore as many things.

Change-Id: Idb8466bb3194904d84e17dd3f2a7c32aff13788c
2013-09-20 14:37:30 -07:00
James E. Blair
8b04d362b5 Print DNS commands when launching a node.
Still not automatic, but much less typing.

Change-Id: I348b866db3f2778ba08a516a00d258358c4a9129
Reviewed-on: https://review.openstack.org/22468
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-02-22 00:19:25 +00:00