logan- | after the update I did recently, my ubuntu nodepool DIB builds started failing when attempting to install pip because: "Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/ssl/certs/ca-bundle.crt". | 01:17 |
---|---|---|
logan- | I suspect it is caused by https://softwarefactory-project.io/r/gitweb?p=scl/enable-py3-distgit.git;a=blob;f=enable-py3 | 01:17 |
logan- | this is the DIB log https://pasted.tech/pastes/3acaa11259483427a5f754d602adc45d57b30165.raw | 01:18 |
logan- | seems like that env is breaking it because ubuntu stores its certs in /etc/ssl/certs/ca-certificates.crt | 01:21 |
tristanC | arg, that's unfortunate. One fix would be to add the correct REQUESTS_CA_BUNDLE in the env-vars of your ubuntu disk image | 01:23 |
tristanC | or let me check, perhaps we could force this to be null for the dib process | 01:24 |
logan- | yep i'm trying to workaround it with dib env settings, but it seems like maybe the unit file could unset it for nodepool-builder | 01:24 |
logan- | or something like that | 01:25 |
sfbender | Tristan de Cacqueray created software-factory/sf-config master: nodepool: disable host REQUESTS_CA_BUNDLE environment https://softwarefactory-project.io/r/15216 | 01:29 |
tristanC | logan-: ^ should fix your issue | 01:29 |
logan- | cool, thanks, thats the exact thing im trying right now actually. should know in a few minutes how it goes. | 01:32 |
tristanC | according to my test, pip skip the variable if it's set to '' | 01:32 |
tristanC | logan-: i don't know your use-case for dib, but you might be interested by this element: https://softwarefactory-project.io/cgit/config/tree/nodepool/elements/virt-customize/centos-cloud.yaml | 01:33 |
tristanC | that we should integrate in the sf nodepool elements so that one can use virt-customize instead of dib | 01:33 |
logan- | I have been following the disk-image-create wrapper stuff a bit recently :) interesting work | 01:35 |
dmsimard | tristanC: could all that bash in the image be Ansible instead ? :p | 01:37 |
logan- | dmsimard: i'm a relative newcomer to dib but traditionally we built all of our images with ansible | 01:38 |
dmsimard | logan-: I'm not a fan of DIB :p | 01:38 |
tristanC | dmsimard: the issue remains that DIB create a rootfs from scratch, what we want to do with virt-customize is to use the distro cloud image directly | 01:40 |
logan- | i hear ya.. i'm a fair weather fan I guess. it depends on the day. :P | 01:40 |
tristanC | the trick with that "element" is to use a custom PATH variable to hijack the disk-image-create command: https://softwarefactory-project.io/cgit/config/tree/nodepool/rdo-cloud.yaml#n17 | 01:41 |
logan- | pretty slick | 01:42 |
tristanC | i guess we could improve nodepool diskimage to enable choosing another command, but that trick has been working pretty well for us so far | 01:44 |
sfbender | Tristan de Cacqueray created software-factory/sf-config master: zuul: set system ansible-root path for executor https://softwarefactory-project.io/r/15218 | 03:49 |
*** chkumar246 is now known as chandankumar | 03:52 | |
*** chandankumar has quit IRC | 05:58 | |
*** chandankumar has joined #softwarefactory | 06:22 | |
*** jpena|off is now known as jpena | 08:11 | |
*** rfolco has quit IRC | 09:07 | |
sfbender | Javier Peña created DLRN master: Use default locations for some directories if not set https://softwarefactory-project.io/r/15220 | 09:18 |
*** logan- has quit IRC | 09:23 | |
*** logan- has joined #softwarefactory | 09:27 | |
sfbender | Javier Peña created DLRN master: Add an option to avoid emptying changelog from specs https://softwarefactory-project.io/r/15221 | 09:28 |
*** rfolco has joined #softwarefactory | 10:05 | |
*** rfolco has quit IRC | 10:09 | |
*** rfolco has joined #softwarefactory | 10:11 | |
sfbender | Javier Peña created DLRN master: Add option to select file in rdoinfo driver https://softwarefactory-project.io/r/15222 | 10:47 |
sfbender | Javier Peña created DLRN master: Replace yaml.load with yaml.safe_load() https://softwarefactory-project.io/r/15223 | 11:42 |
*** jpena is now known as jpena|lunch | 11:59 | |
*** jpena|lunch is now known as jpena | 13:04 | |
*** nhicher has joined #softwarefactory | 14:49 | |
*** jangutter has quit IRC | 15:58 | |
*** jpena is now known as jpena|off | 17:21 | |
*** rfolco is now known as rfolco|doctor | 17:31 | |
*** sfbender has quit IRC | 19:17 | |
*** openstack has joined #softwarefactory | 19:45 | |
*** rfolco|doctor has quit IRC | 21:15 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!