<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes I will try and add it to the wiki this weekend.<br>
    <br>
     I forgot to mention that I had also  already configured my
    /etc/yum.conf with the proxy server<br>
    <br>
    proxy=http://[proxy_server:port]<br>
    <br>
    Charles<br>
    <br>
    <div class="moz-cite-prefix">On 12/03/2016 11:25, Christopher Brown
      wrote:<br>
    </div>
    <blockquote
      cite="mid:ktkfrykt70cpi0smt5vk63dq.1457781898348@email.android.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Exchange Server">
      <!-- converted from text -->
      <style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style>
      <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><a class="moz-txt-link-freetext" href="https://www.rdoproject.org/tripleo/troubleshooting/">https://www.rdoproject.org/tripleo/troubleshooting/</a></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: <a class="moz-txt-link-abbreviated" href="http://www.ocf.co.uk">www.ocf.co.uk</a> </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 <a class="moz-txt-link-rfc2396E" href="mailto:cems@ebi.ac.uk"><cems@ebi.ac.uk></a> <br>
      Date: 2016/03/12 10:14 (GMT) <br>
      To: <a class="moz-txt-link-abbreviated" href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a> <br>
      Subject: Re: [Rdo-list] image build fails silently on CentOS7 <br>
      <br>
      <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=<a class="moz-txt-link-freetext" href="http://dl.fedoraproject.org/pub/epel">http://dl.fedoraproject.org/pub/epel</a>, 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=<a class="moz-txt-link-rfc2396E" href="http://trunk.rdoproject.org/centos7-liberty/current/">"http://trunk.rdoproject.org/centos7-liberty/current/"</a><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=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel">http://download.fedoraproject.org/pub/epel</a>|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 moz-do-not-send="true"
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=<a class="moz-txt-link-freetext" href="http://dl.fedoraproject.org/pub/epel">http://dl.fedoraproject.org/pub/epel</a><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 moz-do-not-send="true"
            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 moz-do-not-send="true"
            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>
          <a class="moz-txt-link-abbreviated" href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
          <a moz-do-not-send="true"
            href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
          <br>
          To unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br>
        </div>
      </font>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: +44 (0)1223 494205 </pre>
  </body>
</html>