cgoncalves | ianw, 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 ens3 | 00:50 |
---|---|---|
cgoncalves | system on same image but no metadata service doesn't get the interface renamed | 00:51 |
*** mjturek has quit IRC | 01:40 | |
ianw | hrm, ... in a word no | 02:08 |
clarkb | I gave up long ago and just embrace bios dev name | 02:10 |
cgoncalves | octavia relies on eth0/eth1 naming | 02:13 |
johnsom | We should not be, I worked hard to make sure that wasn't the case | 02:15 |
johnsom | cgoncalves Did someone break that? | 02:16 |
cgoncalves | johnsom, 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 IP | 02:21 |
cgoncalves | johnsom, I still see some references to eth0 and eth1 in the code | 02:21 |
johnsom | cgoncalves Be careful when looking at the code though, for example, we assign those names inside the namespace. | 02:22 |
johnsom | Every 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 IRC | 03:03 | |
*** hwoarang has joined #openstack-dib | 03:07 | |
*** hwoarang has quit IRC | 04:15 | |
*** hwoarang has joined #openstack-dib | 04:17 | |
*** hwoarang has quit IRC | 05:46 | |
*** hwoarang has joined #openstack-dib | 05:48 | |
*** hwoarang has quit IRC | 06:27 | |
*** hwoarang has joined #openstack-dib | 06:28 | |
*** hwoarang has quit IRC | 06:54 | |
*** hwoarang has joined #openstack-dib | 07:01 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [wip] fix opensuse pip-and-virtualenv https://review.openstack.org/638594 | 07:05 |
*** pVito has joined #openstack-dib | 07:19 | |
*** cmurphy is now known as cmorpheus | 14:27 | |
*** mjturek has joined #openstack-dib | 14:54 | |
*** mjturek has quit IRC | 15:13 | |
*** mjturek has joined #openstack-dib | 15:26 | |
*** mjturek has quit IRC | 15:35 | |
*** mjturek has joined #openstack-dib | 15:36 | |
*** mjturek has quit IRC | 15:57 | |
*** mjturek has joined #openstack-dib | 16:00 | |
*** pVito has quit IRC | 16:05 | |
*** pVito has joined #openstack-dib | 16:06 | |
*** pVito has quit IRC | 16:15 | |
*** mjturek has quit IRC | 19:25 | |
*** mjturek has joined #openstack-dib | 19:41 | |
*** daniel2 has joined #openstack-dib | 20:02 | |
daniel2 | Hello, 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-removed | 20:04 |
clarkb | does specifying it as before-jenkins-config-removed work? | 20:06 |
daniel2 | No, I also tried with tags/ and I tried the commit id as well | 20:06 |
clarkb | refs/tags/before-jenkins-config-removed would be the other thing I would try | 20:07 |
clarkb | is 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 ref | 20:12 |
clarkb | that won't work with a sha1 but I would've expected it towork with the others | 20:12 |
daniel2 | 2019-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-removed | 20:22 |
daniel2 | Thats the error its giving. | 20:22 |
daniel2 | I tried several different formats, commit id, name, etc, if it didnt fail entirely it gave me that error. | 20:24 |
daniel2 | https://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 |
clarkb | ya the issue is the refs/heads prefix I think | 20:37 |
clarkb | though 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 |
clarkb | then see exactly which command is failing | 20:38 |
daniel2 | Where do I put that in nodepool? | 20:39 |
clarkb | daniel2: set DIB_DEBUG_TRACE: 1 in the env vars section of the nodepool config for the image | 20:40 |
daniel2 | clarkb: http://paste.openstack.org/show/745770/ | 20:55 |
daniel2 | Thats the output of that. | 20:55 |
daniel2 | Thats just snipped from the part where its trying to clone the repo I am changing the ref for. | 20:56 |
clarkb | https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/source-repositories/extra-data.d/98-source-repositories#L180 is the line that is failing | 20:57 |
daniel2 | clarkb: yes I believe so. | 20:58 |
clarkb | daniel2: rereading the error message I think the problem is it is trying to update a ref that is already in the local repo | 21:20 |
clarkb | and this breaks because it is a non commit object? | 21:21 |
daniel2 | I feel like this could be a bug? | 21:21 |
clarkb | yes I think the issue is that the tag needs to be pushed into refs/tags/ | 21:21 |
clarkb | but it is pushed into refs/heads/fetch_refs as if it were a commit | 21:21 |
clarkb | so ya a bug with the element not supporting tags as a result | 21:21 |
daniel2 | I dont know what it does support. | 21:22 |
daniel2 | I tried commit IDs as well | 21:22 |
clarkb | commit ids don't work due to how git works (you can't fetch a sha1, have to use a logical name) | 21:22 |
clarkb | a branch would work and I think only a branch | 21:22 |
clarkb | the 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 name | 21:23 |
clarkb | (I don't know what is necessary to do that first step but it should be possible) | 21:23 |
daniel2 | I 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 |
daniel2 | Because someone companies can't just upgrade easily. | 21:26 |
clarkb | daniel2: well that project config repo was fairly specific to openstack | 21:41 |
clarkb | I think our recommended method of having a project-config repo is to have a distinct repo (that could be a fork) | 21:42 |
clarkb | which is why we tagged that point in time | 21:42 |
cgoncalves | ianw, 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 IRC | 21:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!