[CentOS-devel] Vagrant box builds are failing in cbs

Tue Oct 27 17:10:02 UTC 2015
Fabian Arrotin <arrfab at centos.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/10/15 12:30, Lalatendu Mohanty wrote:
> Hi,
> 
> Looks like there is some issue with cbs i.e. image-factory, because
> all vagrant builds are failing for me. The builds are failing for
> source files which had built fine previously.
> 
> For example build [1] is using the same source files (kickstart
> files etc) as build [2] but it failed where as build [2] has
> succeeded previously.
> 
> [1] https://cbs.centos.org/koji/taskinfo?taskID=51053 [2]
> http://cbs.centos.org/koji/taskinfo?taskID=38547
> 
> -Lala
> 

So, as discussed on irc, here are the details :

- - that build uses imagefactory
- - imagefactory uses itself libvirt to setup a VM
- - by default trying to use "default" network (aka NAT) , and that's
where it failed

Explanations :
Those kojid/koji builders are managed by puppet, including for
iptables rules, but we didn't know that libvirt was installed/running.
So I've fixed (through temporary fix) the iptables rules (as it would
block by default) and I'll write a koji::builder::imagefactory puppet
class that will take care of installing/configuring all components
(including iptables rules for libvirt as a dep)

It already works with the "interim" fix :
http://cbs.centos.org/koji/taskinfo?taskID=52451

Cheers,

- -- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlYvr+oACgkQnVkHo1a+xU5YvACaAs8NcsF3o00mB3JNQq1zbytJ
iG8An3RCaYJ2ktAObOAQei8VRqDoYSL8
=9NKg
-----END PGP SIGNATURE-----