Commit graph

114 commits

Author SHA1 Message Date
Kevin Fenzi
68c5eaebea virt-instance-create: drop old non efi armv7 stuff
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-25 14:17:29 -07:00
Kevin Fenzi
ac2ea4030c switch to efi armv7 in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-24 18:04:03 -07:00
Kevin Fenzi
fe31b7dadb tasks / virt-inst-create: don't setup direct kernel boot in stg for 32bit arm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-03 16:40:57 -08:00
Kevin Fenzi
59a84365da Also use direct kernel boot in prod again too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-25 11:26:21 -08:00
Kevin Fenzi
c308c08b1b Revert "virt instance create: switch stg back to uefi"
This reverts commit a691aac113.
2021-01-24 19:24:22 -08:00
Kevin Fenzi
a691aac113 virt instance create: switch stg back to uefi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-24 19:05:28 -08:00
Kevin Fenzi
ca8b9ad361 Revert "Revert "virt instance create: put old armv7 install setup back in stg""
This reverts commit 4cb77b2966.

Take it back out, seems to make no difference if it's uefi or not.
2021-01-24 17:51:17 -08:00
Kevin Fenzi
4cb77b2966 Revert "virt instance create: put old armv7 install setup back in stg"
This reverts commit a34ef07de9.
2021-01-24 14:39:46 -08:00
Kevin Fenzi
a34ef07de9 virt instance create: put old armv7 install setup back in stg
Will re-install a bulder without uefi and see if that matters any for
our memory management woes.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-24 10:44:13 -08:00
Kevin Fenzi
babf36a356 buildvm / aarch64/armv7: simplify host vars, drop armv7 special tasks in create, set group vars for f33 on all arm buildvms
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-18 14:46:55 -08:00
Kevin Fenzi
b6415b23cb Revert "tasks / virt_instance_create: revert back to old armv7 setup in stg to test"
This reverts commit 9277590da5.
2021-01-18 12:16:18 -08:00
Kevin Fenzi
9277590da5 tasks / virt_instance_create: revert back to old armv7 setup in stg to test
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-18 16:34:43 -08:00
Kevin Fenzi
694727083a buildvm / fedora 33 / staging: try and switch armv7 vm's over to f33/uefi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-04 14:51:09 -08:00
Kevin Fenzi
197f8aa1db Revert "virt_instance_create: try without this"
This reverts commit e92d1d070e.
2020-06-07 10:50:04 -07:00
Kevin Fenzi
e92d1d070e virt_instance_create: try without this
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-07 10:45:23 -07:00
Kevin Fenzi
e535322b1f Revert "Lets try not dropping ansible_python from cache"
This reverts commit d7735d5eb7.
2020-06-07 10:19:09 -07:00
Kevin Fenzi
2f81e76657 iad2: adjust a bunch of things that were delegating directly to phx2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:54:59 -07:00
Kevin Fenzi
4f2e616ad2 iad2: we renamed the armv7 builders, so we have to adjust all these places too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:12:56 -07:00
Kevin Fenzi
d7735d5eb7 Lets try not dropping ansible_python from cache
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 10:23:32 -07:00
Kevin Fenzi
2696acca96 virt_instance_create: seems we cannot cast lvm size to int, as we use units in a number of host vars. 😭
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 10:46:14 -07:00
Kevin Fenzi
dbe5a90e8f virt_instance_create: cast the lv size to int to avoid a warning.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:27:27 -07:00
Kevin Fenzi
bcf21953f0 virt-instance-create: fix missing ) typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
c3e8e088e4 first cut at adding armv7-test instances
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
13d5177ce4 virt_instance_create: drop duplicate facts dropping and add a new task to gather at the end.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Kevin Fenzi
47421b9dd6 revert this back to python3.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
4b79a0f2ae virt-instance-create: move this back to python2 long enough to install buildvm-armv7-01.stg on a old moonshot cart and then revert it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
78223d74be virt_instance_create: try and remove facts cache for new vms again now that we hopefully have the python autodetect working more or less
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:18 +02:00
Kevin Fenzi
e18670cf00 virt-instance-create: try this since the other isn't cached.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
6cc64cbff1 virt-instance-create: The variable should be a variable too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
e398046ebb virt-instance-create: this is a var
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
95e0ad16d9 virt-instance-create: try and get this to use the vmhost python, not the vm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
9d1e6bf031 virt_instance_create: make sure to wipe the facts cache if we are (re)installing the guest
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Rick Elrod
2a90d25c7b Revert "one more attempt at a "small" hack before I go all out"
This reverts commit 32c4ddd306bbca2e0315d2f0c1205ea8a3f19d8b.
2020-04-24 21:34:15 +02:00
Rick Elrod
626dff9ec3 one more attempt at a "small" hack before I go all out
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
7c2274b851 undo all that
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
bb74f4d89b trying more sillyness to try to bust the cache here
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
1bff4950f3 wait a second
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
e4a8e812e2 what if I set it to something completely whacky?
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
f804fb2746 hardcode this for a sec, just to see
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
142017e95a try another hack
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
e500af0b27 try setting ansible_python_interpreter to !!null
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
0475be45de virt_instance_create: try and gather facts after virt instance is created...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
ffc0163b32 Revert "armv7 create: move back to python2 and hope it works again."
This reverts commit f2591ca94c98799ce7b52328172dac8c150ca261.
2020-04-24 21:34:15 +02:00
Kevin Fenzi
0d50e06b94 armv7 create: move back to python2 and hope it works again.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
5424ee4fa2 virt_instance_create: try python3 here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
b23d6d295b Revert "virt_instance_create: The emags use python3 here."
This reverts commit ca4ea658788af7902329620f6f98a680fc02f936.
2020-04-24 21:34:14 +02:00
Kevin Fenzi
fc5ea0b944 virt_instance_create: The emags use python3 here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
df4d17f839 virt_instance_create: ansible_python_interperter should be a var
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
74c4fc2188 virt_instance_create: Try and use python2 for the virt_boot call since it's python2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00