Friday, 2019-03-15

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-py301:17
logan-this is the DIB log https://pasted.tech/pastes/3acaa11259483427a5f754d602adc45d57b30165.raw01:18
logan-seems like that env is breaking it because ubuntu stores its certs in /etc/ssl/certs/ca-certificates.crt01:21
tristanCarg, that's unfortunate. One fix would be to add the correct REQUESTS_CA_BUNDLE in the env-vars of your ubuntu disk image01:23
tristanCor let me check, perhaps we could force this to be null for the dib process01: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-builder01:24
logan-or something like that01:25
sfbenderTristan de Cacqueray created software-factory/sf-config master: nodepool: disable host REQUESTS_CA_BUNDLE environment  https://softwarefactory-project.io/r/1521601:29
tristanClogan-: ^ should fix your issue01:29
logan-cool, thanks, thats the exact thing im trying right now actually. should know in a few minutes how it goes.01:32
tristanCaccording to my test, pip skip the variable if it's set to ''01:32
tristanClogan-: 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.yaml01:33
tristanCthat we should integrate in the sf nodepool elements so that one can use virt-customize instead of dib01:33
logan-I have been following the disk-image-create wrapper stuff a bit recently :) interesting work01:35
dmsimardtristanC: could all that bash in the image be Ansible instead ? :p01:37
logan-dmsimard: i'm a relative newcomer to dib but traditionally we built all of our images with ansible01:38
dmsimardlogan-: I'm not a fan of DIB :p01:38
tristanCdmsimard: 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 directly01:40
logan-i hear ya.. i'm a fair weather fan I guess. it depends on the day. :P01:40
tristanCthe 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#n1701:41
logan-pretty slick01:42
tristanCi guess we could improve nodepool diskimage to enable choosing another command, but that trick has been working pretty well for us so far01:44
sfbenderTristan de Cacqueray created software-factory/sf-config master: zuul: set system ansible-root path for executor  https://softwarefactory-project.io/r/1521803:49
*** chkumar246 is now known as chandankumar03:52
*** chandankumar has quit IRC05:58
*** chandankumar has joined #softwarefactory06:22
*** jpena|off is now known as jpena08:11
*** rfolco has quit IRC09:07
sfbenderJavier Peña created DLRN master: Use default locations for some directories if not set  https://softwarefactory-project.io/r/1522009:18
*** logan- has quit IRC09:23
*** logan- has joined #softwarefactory09:27
sfbenderJavier Peña created DLRN master: Add an option to avoid emptying changelog from specs  https://softwarefactory-project.io/r/1522109:28
*** rfolco has joined #softwarefactory10:05
*** rfolco has quit IRC10:09
*** rfolco has joined #softwarefactory10:11
sfbenderJavier Peña created DLRN master: Add option to select file in rdoinfo driver  https://softwarefactory-project.io/r/1522210:47
sfbenderJavier Peña created DLRN master: Replace yaml.load with yaml.safe_load()  https://softwarefactory-project.io/r/1522311:42
*** jpena is now known as jpena|lunch11:59
*** jpena|lunch is now known as jpena13:04
*** nhicher has joined #softwarefactory14:49
*** jangutter has quit IRC15:58
*** jpena is now known as jpena|off17:21
*** rfolco is now known as rfolco|doctor17:31
*** sfbender has quit IRC19:17
*** openstack has joined #softwarefactory19:45
*** rfolco|doctor has quit IRC21:15

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