Wednesday, 2023-11-29

jrossermorning10:47
jrosseri think i might have come up with a way to extend OSA with extra playbooks defined as user_variables10:48
jrosser`- import_playbook: "{{ hook_playbook | default('noop.yml') }}"`10:48
jrosserthis finally lets us call out to a collection or somewhere else during setup_*.yml to add extras10:49
noonedeadpunkjrosser: oh, actually that might work indeed13:00
noonedeadpunkthough ofc it'd better to have that as a list..13:00
noonedeadpunkBut then I assume this should be some kind of template deployed13:01
jrosserI don’t think that’s possible13:01
noonedeadpunkor well13:01
jrossera list13:01
noonedeadpunkcan you import a playbook from imported playbook?13:01
jrosserI’ll try13:02
jrosserbut it certainly works pointing at a playbook in a collection13:02
noonedeadpunkAs we can have some openstack_deploy/pre-openstack.yml and post-openstack.yml for example13:02
noonedeadpunkwhere user can add any set and amount of other imports?13:02
jrosserlet’s check that, but hopefully13:03
noonedeadpunkbut kinda default is most tricky thing indeed13:03
noonedeadpunklike what to do when these doesn't exist basically13:03
jrosserah well my noop.yml sorts that13:04
jrosserit’s a play against localhost with no tasks13:04
noonedeadpunkyeah, true, I think that might be quite sweet solution then...13:20
jrossermy use case was to try to make the cluster api patch less terrible13:24
jrosserand I think we should be able to put pretty much everything into an ops repo collection now13:25
noonedeadpunkthat sounds really great13:46
mgariepyis there a way to have quota on gpus ?15:30
noonedeadpunkmgariepy: I think you would need to use cyborg for that16:27
noonedeadpunkor well, depends what you mean :)16:27
noonedeadpunklike don't allow tenant X to use more then Y GPUs?16:27
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324017:24
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: WIP - Add collection to deploy magnum cluster-api with vexxhost driver  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90145018:02
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: WIP - Bootstrapping playbook  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90217818:02
jrossernoonedeadpunk: ^ this is just an idea at the moment for how to put everything in the collection18:03
jrossermcapi_vexxhost/playbooks/bootstrap.yml is some kind of playbook to copy all the config into place for the scenario18:03
jrosserbut issue remains, how we know to call that, like a zuul job var, or $something-else18:04
noonedeadpunkoh, well, that pluggable ;)18:05
jrosserand where to do it, zuul pre playbook vs bootstrap-aio18:05
jrosserwonder if you have any good ideas18:05
jrosserbecasue it wants to work in and out of CI18:05
jrosserit is kind of neat, becasue then the collection in the ops repo carries all the needed example files18:06
jrosserand chicken / egg of course that you cant use the collection playbook via osa_ops.mcapi_vexxhost.bootstrap until the collection is installed :)18:08
jrosserperhaps the zuul pre playbook is the right place18:10
jrosserbecause in a local deployment you'd have to create/copy some config into place manually anyway18:11
noonedeadpunkWell, I guess it should be somewhere right before setup-hosts actually but after bootstrap?18:11
jrosserto get the collections, the data needs to be there at bootstrap-ansible18:12
jrosserlike user-collection-requirements18:12
noonedeadpunkah, the chiken-egg you've mentioned18:12
jrosserquite18:13
jrosserhmm anyway, not in a rush but if you have any inspiration then would be nice18:13
noonedeadpunkI'm a bit /o\ mode with HSM now....18:22
jrossersounds unpleasant18:22
noonedeadpunkWas very close from getting partition wiped18:22
noonedeadpunkJust some luck and that it's not an HSM but Thales DPoD service that have some different defaults for destructive policy changes18:23
noonedeadpunkSo /o\18:23
noonedeadpunkAnd now it fails with 0x80001604 CKR_BUSY which I have no idea what it means18:27
noonedeadpunkI really love type of docs, where they reffer all error codes, map them with some other name, but never explain wtf and why18:28
jrosseri tried to make the yubihsm work wit barbican18:32
jrosserand the whole pkcs11 interface is just a world of wtf18:33
noonedeadpunkit really is18:33
opendevreviewDanila Balagansky proposed openstack/openstack-ansible-os_neutron master: Neutron OVN plugin AZ support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/85827119:06
noonedeadpunkwhat does `0/0` mean o_O19:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324019:40
*** cloudnull0 is now known as cloudnull20:07
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org will be restarting momentarily for a patch update to address a recently observed regression preventing some changes from merging21:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: WIP - Add collection to deploy magnum cluster-api with vexxhost driver  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90145022:34

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!