Friday, 2019-02-22

cgoncalvesianw, do you happen to know how best to have a system that will use traditional NIC naming (ethX)? it seems to be that even when I set net.ifnames=0, cloud-init reverts it to ens300:50
cgoncalvessystem on same image but no metadata service doesn't get the interface renamed00:51
*** mjturek has quit IRC01:40
ianwhrm, ... in a word no02:08
clarkbI gave up long ago and just embrace bios dev name02:10
cgoncalvesoctavia relies on eth0/eth1 naming02:13
johnsomWe should not be, I worked hard to make sure that wasn't the case02:15
johnsomcgoncalves Did someone break that?02:16
cgoncalvesjohnsom, well, actually the problem I'm hitting now is pre-octavia stuff. I get interface "ens3" and it doesn't get configured by cloud-init, i.e. no IP02:21
cgoncalvesjohnsom, I still see some references to eth0 and eth1 in the code02:21
johnsomcgoncalves Be careful when looking at the code though, for example, we assign those names inside the namespace.02:22
johnsomEvery thing we do inside the amp-agent should be mac address based, which ties back to what neutron tells us about the port.02:23
*** hwoarang has quit IRC03:03
*** hwoarang has joined #openstack-dib03:07
*** hwoarang has quit IRC04:15
*** hwoarang has joined #openstack-dib04:17
*** hwoarang has quit IRC05:46
*** hwoarang has joined #openstack-dib05:48
*** hwoarang has quit IRC06:27
*** hwoarang has joined #openstack-dib06:28
*** hwoarang has quit IRC06:54
*** hwoarang has joined #openstack-dib07:01
openstackgerritIan Wienand proposed openstack/diskimage-builder master: [wip] fix opensuse pip-and-virtualenv  https://review.openstack.org/63859407:05
*** pVito has joined #openstack-dib07:19
*** cmurphy is now known as cmorpheus14:27
*** mjturek has joined #openstack-dib14:54
*** mjturek has quit IRC15:13
*** mjturek has joined #openstack-dib15:26
*** mjturek has quit IRC15:35
*** mjturek has joined #openstack-dib15:36
*** mjturek has quit IRC15:57
*** mjturek has joined #openstack-dib16:00
*** pVito has quit IRC16:05
*** pVito has joined #openstack-dib16:06
*** pVito has quit IRC16:15
*** mjturek has quit IRC19:25
*** mjturek has joined #openstack-dib19:41
*** daniel2 has joined #openstack-dib20:02
daniel2Hello, so in the element sources-repositories there is a script that clones all the repos.  It shows the format as: "# <name> <type> <destination> <location> [<ref>]", how would you specify the ref as a tag?  I'm trying to specify the tag here: https://github.com/openstack-infra/project-config/tree/before-jenkins-config-removed20:04
clarkbdoes specifying it as before-jenkins-config-removed work?20:06
daniel2No, I also tried with tags/ and I tried the commit id as well20:06
clarkbrefs/tags/before-jenkins-config-removed would be the other thing I would try20:07
clarkbis the error "failed to find reference to $value"?20:11
clarkb`sudo git fetch -q $CACHE_PATH $REPOREF:fetch_$REPOREF` is the command to actually fetch the ref20:12
clarkbthat won't work with a sha1 but I would've expected it towork with the others20:12
daniel22019-02-21 17:13:49,110 INFO nodepool.image.build.bare-xenial: 2019-02-22 00:13:49.110 | error: cannot update the ref 'refs/heads/fetch_refs/tags/before-jenkins-config-removed': Trying to write non-commit object a3b9d477113b9fe5e8f25579cba6606db4da223c to branch refs/heads/fetch_refs/tags/before-jenkins-config-removed20:22
daniel2Thats the error its giving.20:22
daniel2I tried several different formats, commit id, name, etc, if it didnt fail entirely it gave me that error.20:24
daniel2https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/source-repositories/extra-data.d/98-source-repositories#L127,L183 This is basically where its all handled.20:31
clarkbya the issue is the refs/heads prefix I think20:37
clarkbthough it isn't quite clear to me where that is comgin from. Might help to turn on the debug tracing (-x flag to dib iirc)20:38
clarkbthen see exactly which command is failing20:38
daniel2Where do I put that in nodepool?20:39
clarkbdaniel2: set DIB_DEBUG_TRACE: 1 in the env vars section of the nodepool config for the image20:40
daniel2clarkb: http://paste.openstack.org/show/745770/20:55
daniel2Thats the output of that.20:55
daniel2Thats just snipped from the part where its trying to clone the repo I am changing the ref for.20:56
clarkbhttps://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/source-repositories/extra-data.d/98-source-repositories#L180 is the line that is failing20:57
daniel2clarkb: yes I believe so.20:58
clarkbdaniel2: rereading the error message I think the problem is it is trying to update a ref that is already in the local repo21:20
clarkband this breaks because it is a non commit object?21:21
daniel2I feel like this could be a bug?21:21
clarkbyes I think the issue is that the tag needs to be pushed into refs/tags/21:21
clarkbbut it is pushed into refs/heads/fetch_refs as if it were a commit21:21
clarkbso ya a bug with the element not supporting tags as a result21:21
daniel2I dont know what it does support.21:22
daniel2I tried commit IDs as well21:22
clarkbcommit ids don't work due to how git works (you can't fetch a sha1, have to use a logical name)21:22
clarkba branch would work and I think only a branch21:22
clarkbthe fix is likely to add a step that checks if the ref is a tag on the remote and if it is does a git fetch --tags then checks out the tag name21:23
clarkb(I don't know what is necessary to do that first step but it should be possible)21:23
daniel2I get it that these versions are really old, but I don't entirely agree with them removing files that completely break older versions of nodepool.21:26
daniel2Because someone companies can't just upgrade easily.21:26
clarkbdaniel2: well that project config repo was fairly specific to openstack21:41
clarkbI think our recommended method of having a project-config repo is to have a distinct repo (that could be a fork)21:42
clarkbwhich is why we tagged that point in time21:42
cgoncalvesianw, hey! what's missing in your RHEL 8 patch to have it merged? is it still WIP because it points to the beta repos?21:48
*** mjturek has quit IRC21:59

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