Comment 9 for bug 1686353

Revision history for this message
Yossi Ovadia (jabadia) wrote :

Hi, I have environment with proxy and "suffering" from same problem.

I have made several fixes and managed to overcome the issue. the idea I had is as follow -

bash quickstart.sh -R rocky -e overcloud_full_root_pwd=password -e proxy=http://123.245.78.90:8000

Later in the code ( not too many places ) something like -
For all curl commands :

- when: proxy is defined
  block:

  - name: Set Proxy
    shell: >
      echo "proxy = {{ proxy }}" > ~/.curlrc

For Yum -

{% if proxy is defined %}
if ! grep -qi ^proxy /etc/yum.conf; then
    echo "proxy = {{ proxy }}" > ~/.curlrc
    echo -e "\nproxy={{ proxy }}" >> /etc/yum.conf
else
    sed -i "s/proxy=.*/proxy={{ proxy }}/g" /etc/yum.conf
fi
{% endif %}

I have a private build that passed all proxy related. ( not have bug with hardcoded NTP server , but that's a different issue. )

@Rafael Folco - I would love to take ownership of this bug if ok with you.