"Check failed in module Bootstrap Image" if HTTP_proxy has been specified in fuelmenu during Fuel Master deploy

Bug #1628880 reported by Stanislav Kolenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vladimir Kuklin
Mitaka
Confirmed
Medium
Alexey Shtokolov
Newton
Fix Committed
Medium
Vladimir Kuklin
Ocata
Fix Committed
Medium
Vladimir Kuklin

Bug Description

MOS 9.0

How to reproduce:
1. set HTTP proxy in fuelmenu->Bootstrap Image
2. Try to hit Check or Save

Fuel tries to reach local MOS repository (127.0.0.1:8080) via Proxy.
See log from proxy server:
tail -f /var/log/squid3/access.log
1475147000.423 337 10.200.20.2 TCP_MISS/200 58933 GET http://archive.ubuntu.com/ubuntu/dists/trusty/Release - HIER_DIRECT/91.189.88.162 -
1475147000.545 115 10.200.20.2 TCP_MISS/200 65318 GET http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release - HIER_DIRECT/91.189.88.162 -
1475147000.610 58 10.200.20.2 TCP_MISS/200 65320 GET http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release - HIER_DIRECT/91.189.88.162 -
1475147000.617 0 10.200.20.2 TCP_MISS/503 3737 GET http://127.0.0.1:8080/ubuntu/x86_64/dists/mos9.0/Release - HIER_DIRECT/127.0.0.1 text/html
1475147000.699 76 10.200.20.2 TCP_MISS/200 9794 GET http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/dists/mos9.0-updates/Release - HIER_DIRECT/5.43.231.47 application/octet-stream
1475147000.743 37 10.200.20.2 TCP_MISS/200 9796 GET http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/dists/mos9.0-security/Release - HIER_DIRECT/5.43.231.47 application/octet-stream
1475147000.783 37 10.200.20.2 TCP_MISS/200 9796 GET http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/dists/mos9.0-holdback/Release - HIER_DIRECT/5.43.231.47 application/octet-stream

Revision history for this message
Stanislav Kolenkin (skolenkin) wrote :
Revision history for this message
Stanislav Kolenkin (skolenkin) wrote :
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
milestone: none → 9.2
Roman Rufanov (rrufanov)
tags: added: customer-found
Changed in fuel:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (master)

Fix proposed to branch: master
Review: https://review.openstack.org/410237

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Vladimir Kuklin (vkuklin)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (master)

Reviewed: https://review.openstack.org/410237
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=6e36349d849c7509ff52e96bae2fa5ec6f6d5110
Submitter: Jenkins
Branch: master

commit 6e36349d849c7509ff52e96bae2fa5ec6f6d5110
Author: Vladimir Kuklin <email address hidden>
Date: Tue Dec 13 17:20:51 2016 +0300

    Fix local repo matching for bootstrap image checker

    Use urlparse to fetch location part and match it
    against a simple localhost regexp

    Change-Id: I09ade41fc644545526dbd082ef3ca4967a7bf57c
    Closes-bug: #1628880

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/413764

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/417913

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (stable/newton)

Reviewed: https://review.openstack.org/413764
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=fff30892ca1e3d628c259c195c60e0743b160547
Submitter: Jenkins
Branch: stable/newton

commit fff30892ca1e3d628c259c195c60e0743b160547
Author: Vladimir Kuklin <email address hidden>
Date: Tue Dec 13 17:20:51 2016 +0300

    Fix local repo matching for bootstrap image checker

    Use urlparse to fetch location part and match it
    against a simple localhost regexp

    Change-Id: I09ade41fc644545526dbd082ef3ca4967a7bf57c
    Closes-bug: #1628880
    (cherry picked from commit 6e36349d849c7509ff52e96bae2fa5ec6f6d5110)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (stable/mitaka)

Reviewed: https://review.openstack.org/417913
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=3f817851d8b1e58649c276e383ea1cc8fa5720f3
Submitter: Jenkins
Branch: stable/mitaka

commit 3f817851d8b1e58649c276e383ea1cc8fa5720f3
Author: Vladimir Kuklin <email address hidden>
Date: Tue Dec 13 17:20:51 2016 +0300

    Fix local repo matching for bootstrap image checker

    Use urlparse to fetch location part and match it
    against a simple localhost regexp

    Change-Id: I09ade41fc644545526dbd082ef3ca4967a7bf57c
    Closes-bug: #1628880
    (cherry picked from commit 6e36349d849c7509ff52e96bae2fa5ec6f6d5110)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Issue is completely reproduced on 9.2 snapshot #801.

Steps to reproduce:
1. Setup Fuel 9.2 master node, deploy cluster
2. On controller node install squid proxy-server:
apt-get install squid
3. Edit /etc/squid3/squid.conf - please see http://paste.openstack.org/show/596708/
4. Go to fuelmenu on master node
5. Set HTTP proxy Bootstrap Image section
6. Try to hit Check or Save

Actual results:
Fuel tries to reach local MOS repository (127.0.0.1:8080) via Proxy.
/var/log/squid3/access.log output: http://paste.openstack.org/show/596704/

Additional information:
These instruction have to be used to build image manually while issue with proxy in fuelmenu exists:
http://askubuntu.com/questions/11274/setting-up-proxy-to-ignore-all-local-addresses
http://serverfault.com/questions/623543/centos-6-5-proxy-bypass-no-proxy-not-working

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-menu 11.0.0.0rc1

This issue was fixed in the openstack/fuel-menu 11.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.