<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style></head>
<body>
<body><div>Hi Charles</div><div><br></div><div>That's great news.</div><div><br></div><div>Would you mind adding this to the wiki if you have time and inclination? </div><div><br></div><div>There is a page on tripleo troubleshooting I am updating as I go along as well.</div><div><br></div><div>https://www.rdoproject.org/tripleo/troubleshooting/</div><div><br></div><div>If not I will add when back at a keyboard. </div><div><br></div><div id="composer_signature"><div> </div><div>Regards, </div><div><br></div><div>Christopher Brown </div><div>OpenStack Engineer </div><div>OCF plc </div><div><br></div><div>Tel: +44 (0)114 257 2200 </div><div>Web: www.ocf.co.uk </div><div>Blog: blog.ocf.co.uk </div><div>Twitter: @ocfplc </div><div><br></div><div>OCF plc is a company registered in England and Wales. Registered number 4132533, VAT number GB 780 6803 14. Registered office address: OCF plc, 5 Rotunda Business Centre, Thorncliffe Park, Chapeltown, Sheffield, S35 2PG. </div><div><br></div><div>This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.</div></div><br><br>-------- Original message --------<br>From: Charles Short <cems@ebi.ac.uk> <br>Date: 2016/03/12 10:14 (GMT+00:00) <br>To: rdo-list@redhat.com <br>Subject: Re: [Rdo-list] image build fails silently on CentOS7 <br><br></body>
<font size="2"><div class="PlainText">Ok, I have resolved my issue.<br>
<br>
I am behind a work proxy server, so I already had to create a ~/.curlrc<br>
file with proxy=http://[proxy_server] and added variable 'export<br>
http_proxy=http://[proxy_server]'.<br>
<br>
With this in place I had the issues I reported.<br>
<br>
It turns out that I also needed to add 'export<br>
https_proxy=http://[proxy_server]' ,( no need for export<br>
DIB\_EPEL\_MIRROR=http://dl.fedoraproject.org/pub/epel, this was a red<br>
herring)<br>
<br>
So in summary -<br>
<br>
Create ~/.curlrc file with proxy server<br>
export http_proxy=http://[proxy_server:port]'<br>
export https_proxy=http://[proxy_server:port]'<br>
export USE_DELOREAN_TRUNK=1<br>
export<br>
DELOREAN_TRUNK_REPO="http://trunk.rdoproject.org/centos7-liberty/current/"<br>
export DELOREAN_REPO_FILE="delorean.repo"<br>
<br>
openstack overcloud image build --all<br>
<br>
<br>
Charles<br>
<br>
On 11/03/2016 16:16, Charles Short wrote:<br>
> I suspect this is due to this sed line  not working -<br>
><br>
> [root@hh-undercloud ~]# grep -ir 'DIB_EPEL_MIRROR'<br>
> /usr/share/diskimage-builder/<br>
> /usr/share/diskimage-builder/elements/epel/README.rst:DIB_EPEL_MIRROR:<br>
> /usr/share/diskimage-builder/elements/epel/pre-install.d/05-rpm-epel-release:BASE_URL=${DIB_EPEL_MIRROR:-https://dl.fedoraproject.org/pub/epel}<br>
><br>
> /usr/share/diskimage-builder/elements/epel/pre-install.d/05-rpm-epel-release:DIB_EPEL_MIRROR=${DIB_EPEL_MIRROR:-}<br>
><br>
> /usr/share/diskimage-builder/elements/epel/pre-install.d/05-rpm-epel-release:[<br>
> -n "$DIB_EPEL_MIRROR" ] || exit 0<br>
> /usr/share/diskimage-builder/elements/epel/pre-install.d/05-rpm-epel-release:sed<br>
> -e<br>
> "s|^#baseurl=http://download.fedoraproject.org/pub/epel|baseurl=$DIB_EPEL_MIRROR|;/^mirrorlist=/d"<br>
> -i /etc/yum.repos.d/epel.repo<br>
><br>
><br>
> The change in the epo url has not been made to my<br>
> /etc/yum.repos.d/epel.repo, so exporting the variable fixes this.<br>
><br>
> /etc/yum.repos.d/epel.repo<br>
><br>
> All due to this change<br>
><br>
> <a href="https://github.com/openstack/diskimage-builder/commit/2b28993fb8fdfd3130e4ed2c0ab1eda65cd730b9#diff-cde3de4c8fb6e0857e63497c8464a4df">https://github.com/openstack/diskimage-builder/commit/2b28993fb8fdfd3130e4ed2c0ab1eda65cd730b9#diff-cde3de4c8fb6e0857e63497c8464a4df</a><br>
><br>
><br>
> ??<br>
><br>
> On 11/03/2016 15:22, Charles Short wrote:<br>
>> I have managed to find a way to progress.<br>
>><br>
>> Previously the build was hanging on -<br>
>><br>
>> /tmp/in_target.d/pre-install.d/05-rpm-epel-release<br>
>><br>
>> the same as in the bug.<br>
>><br>
>> However if I additionally add<br>
>><br>
>> export DIB\_EPEL\_MIRROR=http://dl.fedoraproject.org/pub/epel<br>
>><br>
>> then the build progresses past this point and finishes.<br>
>><br>
>> Maybe this should be added to the documentation (if correct)?<br>
>><br>
>> Charles<br>
>><br>
>> On 11/03/2016 11:57, Charles Short wrote:<br>
>>> CentOS 7 (1511)/Liberty<br>
>>><br>
>>> Installed on baremetal using<br>
>>> <a href="http://docs.openstack.org/developer/tripleo-docs/index.html">http://docs.openstack.org/developer/tripleo-docs/index.html</a><br>
>>><br>
>>> Seeing this bug -<br>
>>><br>
>>> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1233210">https://bugzilla.redhat.com/show_bug.cgi?id=1233210</a><br>
>>><br>
>>> Anyone else having problems building images on CentOS7?<br>
>>><br>
>>> Thanks<br>
>>><br>
>>> Charles<br>
>>><br>
>><br>
><br>
<br>
--<br>
Charles Short<br>
Cloud Engineer<br>
Virtualization and Cloud Team<br>
European Bioinformatics Institute (EMBL-EBI)<br>
Tel: +44 (0)1223 494205<br>
<br>
_______________________________________________<br>
Rdo-list mailing list<br>
Rdo-list@redhat.com<br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: rdo-list-unsubscribe@redhat.com<br>
</div></font>
</body>
</html>