Friday, 2018-05-11

*** caowei has joined #softwarefactory01:15
*** jpena|off has quit IRC07:40
*** ssbarnea_ has joined #softwarefactory07:41
*** ssbarnea_ has quit IRC07:49
*** jpena has joined #softwarefactory08:13
*** sfbender has quit IRC08:35
*** openstack has joined #softwarefactory09:29
*** caowei has quit IRC09:31
*** caowei has joined #softwarefactory09:31
*** ssbarnea_ has joined #softwarefactory09:57
*** caowei has quit IRC10:40
*** jpena is now known as jpena|lunch11:43
*** ssbarnea_ has quit IRC12:43
*** jpena|lunch is now known as jpena12:51
*** ssbarnea_ has joined #softwarefactory13:12
gundalownhicher: rcarrillocruz tristanC https://softwarefactory-project.io/r/#/c/12174/ updates network image and moves away from uuid. My first PR, so please let me know if I've missed something14:52
rcarrillocruzi think having just the name suffices, shade library does name_or_id search, but i'll leave SF folks to confirm14:53
gundalowrcarrillocruz: regarding the version part of the name? I wondered about that, though we call images fedora-27 fedora-28 so we can test both/one. For example vyos2.0will be RC1 soon and we may want to start testing that (just an example)14:56
rcarrillocruznoon, i mean you have both cloud-image name and cloud-image image-id14:57
gundalowah14:57
gundalowThat was based on http://paste.openstack.org/show/720603/ from corvus14:57
rcarrillocruzgundalow:  https://docs.openstack.org/infra/nodepool/configuration.html15:01
corvusgundalow, rcarrillocruz: i believe that's the right way to write a config which identifies the image by UUID, and then maps it to a friendly name in the config file15:12
gundalowack. I read that cloud-image/name could be the UUID, however if I'm reading the docs correctly, then I'd need to use the UUID again in labels, therefore duplicating the UUID15:13
corvusgundalow, rcarrillocruz: if you wanted to identify the image by *name*, i think you could drop image-id and just put the name (as it appears in glance) in the config file.  but then, you'd be using that name to reference it below as well.  so if it ever changed, you'd have to change it in multiple places.15:13
nhichergundalow, rcarrillocruz: we can do testing without uuid, and revert if it doesn't work, wdyt ?15:14
corvusgundalow: cloud-image.name, when specified alone (with no image-id or image-name attribute) can be either the name or uuid in glance15:14
corvusthere's like 12 ways you can do this :)15:15
gundalowFor context this is to bring some new tests online, the existing images don't work. So this isn't going to make anything worse15:15
gundalowcorvus: :D15:15
gundalowSo as long as what I've got should work and looks OK then I think we should be good15:16
gundalowaka15:16
gundalowcan haz +1's please :)15:16
corvusthe other thing you can do is use name + image-name.  that lets you specify the glance image by name, and then "alias" it to another name in nodepool.  then you aren't using any uuids, but you still only need to change one thing in nodepool if the glance image changes.15:16
corvusgundalow: yes, i think what's there will work and is reasonable :)15:16
gundalow\o/15:16
corvus(we should probably write more docs about this -- maybe suggest the 3 main ways of setting this up why you would use each)15:17
gundalownhicher: and tristanC were added as reviews (I assume as they are owners of the `config` project) Do I need +1's from exactly those people? Not sure who has voting rights on that project (core-developers if I read the docs correctly)15:18
gundalowcorvus: That would be good, a couple of examples in https://docs.openstack.org/infra/nodepool/configuration.html would help, or links to live code15:18
nhichergundalow: I can add your user as core for config-repo, it will be easier to manage (or somebody else from your team)15:20
gundalownhicher: erm, As long as that doesn't give me powers to break things15:22
* gundalow lives in GitHub land usually, this was my first Gerrit PR for example15:22
nhicheryou will have the power to break everything =)15:22
gundalowLets discuss that on !Friday15:23
gundalowThough would be good if I can get that changed merged today15:23
nhicherbut, for now I can validate the review and we can add somebody from your team to validate the changes on nodepool. It's not possible to allow people to have +2 only on a file15:23
nhicherI can merge it, are you ok with your change or do you want to remove uuid ?15:24
nhichergundalow: ^15:25
gundalowIf what I've got should work lets stick with that. In the near-future we will want more images. Though I want to understand a bit more about "The Zuul way", so we can discuss changes to that file then15:25
gundalowGood to merge15:25
*** mordred has joined #softwarefactory15:31
nhichergundalow: it doesn work https://softwarefactory-project.io/paste/show/1057/15:32
gundalownhicher: ah, missing two chars from the image-id, I'll raise a fresh PR for that15:34
gundalownhicher:  https://softwarefactory-project.io/r/#/c/1217515:41
nhichersame error message gundalow (but with the right uuid this time)15:47
gundalowhum15:48
gundalownhicher: https://gist.github.com/gundalow/bdd08dba12f385b8f4de60e899923419 is where I created the image15:49
gundalowDid I need to match `name` in the above as well as `id`?15:50
gundalowrcarrillocruz: Anuy ideas?15:52
gundalowproject_name: sf-nodepool15:53
gundalowusername: svc-sf-nodepool15:53
gundalowis what my rdo-cloud account is using15:54
nhicherI don't know gundalow, I saw the image with the right id15:54
nhicheryes, that's the nodepool tenant for rdocloud15:54
nhicherthe previous image is on the same tenant15:54
gundalowCool, just wanted to check I'd created the image in the right place15:54
nhicherI will test on nodepool to change the name to match the image name15:55
gundalowThank you :)15:55
nhichersame issue with ansible-network as name for cloud-image15:57
gundalownhicher: Is it easy for you to test with https://softwarefactory-project.io/r/gitweb?p=config.git;a=blob;f=nodepool/ansible-network.yaml;h=d5b5a7ee91c73ee4d00a64fa3c898b426bd2f1c8;hb=f722d3567ddc06b8f04f51ea787c6b7b80cb4b9a though with the updated ID: 0e2e2e05-99e5-422b-b9e3-7e4a28d9088e15:59
gundalowSo the only thing we are testing is the new image-id, rather than new images *and* new config format16:00
gundalowOr I can create that as a PR16:02
nhicherI can test quickly gundalow16:03
nhicherit fails, but I don't understand why https://softwarefactory-project.io/paste/show/1058/16:14
gundalownhicher: That's very confusing. Only change is the ID?16:15
nhicheryes, ID and renaming the label ansible-network16:18
gundalowWhat about if we don't change the label?16:19
nhicherKeyError: 'ansible-network', but there is only ansible-network-vyos-1.1.8 on the nodepool configuration :/16:22
*** jangutter has quit IRC16:22
nhicherI will do some tests this afternoon if it ok for you, I have a dev environment16:22
gundalownhicher: That would be great thank you so much.16:22
nhichergundalow:16:22
nhicherwe can revert your change if needed16:23
gundalowWhatever is easiest, as I said nothing live is using this yet. Only a WIP PR16:24
nhicherok, I'll keep you in touch gundalow16:24
gundalowhttps://github.com/ansible-network/ansible-zuul-jobs/pull/13/files#diff-dbd9cd0ce7e9a5628770143f1488ff59R36 which I'l update the `label:` once nodepool is happy16:24
gundalowThank you :)16:25
*** openstack has joined #softwarefactory17:05
*** jpena is now known as jpena|off17:22
nhichergundalow: I found the solution, if you use image-name instead image-id it works (I tested on my dev env, I will propose a patch on sf.io)20:56
gundalownhicher: Ace21:13
nhicherI have open a bug upsteam https://storyboard.openstack.org/#!/story/200201321:15
gundalowGood spot21:15
nhichergundalow: there were error on nodepool logs, but it was for there were some node with ansible-network label (but it didn't not exists), I deleted the nodes21:20
nhichereverything seems ok now21:20
*** ssbarnea_ has quit IRC22:16
gundalownhicher: Thank you :D22:46
gundalowzuul-jobs/roles/prepare-workspace/tasks/main.yaml's Synchronize src repos to workspace directory is failing for me, thought the task has no_log: true. Can I sub class that and remove the no_log? https://ansible.softwarefactory-project.io/logs/13/13/793d6e03a7af2d23cb6d333409c4079c63514471/check/ansible-test-network-integration-vyos-devel/0cedf45/ara/ hitting issues with a new node type I'm bring up22:46
gundalowThough that's failing in my new image, so getting there :)22:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!