[fuel-menu] Not possible to verify https repos

Bug #1536505 reported by Dmitry Kalashnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Fedor Zhadaev
8.0.x
Fix Released
High
Fedor Zhadaev
Mitaka
Fix Released
High
Fedor Zhadaev

Bug Description

Steps to reproduce:
1. Setup https deb mirror
2. Setup proxy server
3. Install fuel-master
4. Set https proxy
5. Add mirror
6. Click check

Expected behavior:
Check is successful

Actual behavior:
Check for https is failed.

Log of check with http proxy
2016-01-20 16:23:03,314 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:03,586 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty/Release HTTP/1.1" 200 58512
2016-01-20 16:23:03,731 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:03,950 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release HTTP/1.1" 200 63457
2016-01-20 16:23:04,093 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:04,311 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release HTTP/1.1" 200 63459
2016-01-20 16:23:04,472 WARNING Accessibility check is skipped for local repository: http://127.0.0.1:8080/ubuntu/x86_64/dists/mos8.0/Release
2016-01-20 16:23:04,474 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:04,826 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-updates/Release HTTP/1.1" 200 9462
2016-01-20 16:23:04,831 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:05,056 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-security/Release HTTP/1.1" 200 9464
2016-01-20 16:23:05,059 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:05,283 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-holdback/Release HTTP/1.1" 200 9464
2016-01-20 16:23:05,286 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:05,304 DEBUG "GET http://192.168.57.5/ubuntu/dists/trusty/Release HTTP/1.1" 200 58512```

Log of check with https proxy:
2016-01-20 16:23:17,371 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:17,597 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty/Release HTTP/1.1" 200 58512
2016-01-20 16:23:17,742 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:17,961 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release HTTP/1.1" 200 63457
2016-01-20 16:23:18,106 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:18,326 DEBUG "GET http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release HTTP/1.1" 200 63459
2016-01-20 16:23:18,490 WARNING Accessibility check is skipped for local repository: http://127.0.0.1:8080/ubuntu/x86_64/dists/mos8.0/Release
2016-01-20 16:23:18,491 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:18,712 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-updates/Release HTTP/1.1" 200 9462
2016-01-20 16:23:18,716 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:18,940 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-security/Release HTTP/1.1" 200 9464
2016-01-20 16:23:18,944 INFO Starting new HTTP connection (1): 192.168.56.1
2016-01-20 16:23:19,167 DEBUG "GET http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/dists/mos8.0-holdback/Release HTTP/1.1" 200 9464
2016-01-20 16:23:19,171 INFO Starting new HTTPS connection (1): 192.168.57.5
2016-01-20 16:23:19,197 ERROR Errors: ['URL for repository ubuntu-main is not accessible.']

Also network-checker doesn't contain any mentions of proxy:
[root@fuel ~]# grep -ir 'proxy' /usr/lib/python2.7/site-packages/network_checker/
[root@fuel ~]#

Fedor Zhadaev (fzhadaev)
tags: added: team-telco
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/270736

Changed in fuel:
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/270736
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=9ac2f0cf3d8d453bcd0e005d23177219c87ea1cf
Submitter: Jenkins
Branch: master

commit 9ac2f0cf3d8d453bcd0e005d23177219c87ea1cf
Author: Fedor Zhadaev <email address hidden>
Date: Thu Jan 21 14:10:28 2016 +0300

    Use requests module for checking urls

    Change-Id: Ia88155026f9f9889cee0bed4b4bbf46323d9cd1d
    Closes-Bug: #1536505

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/273045

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

Reviewed: https://review.openstack.org/273045
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=234cb4cbb30fbd2df00f388c28f31606d9cae15f
Submitter: Jenkins
Branch: stable/8.0

commit 234cb4cbb30fbd2df00f388c28f31606d9cae15f
Author: Fedor Zhadaev <email address hidden>
Date: Thu Jan 21 14:10:28 2016 +0300

    Use requests module for checking urls

    Change-Id: Ia88155026f9f9889cee0bed4b4bbf46323d9cd1d
    Closes-Bug: #1536505
    (cherry picked from commit 9ac2f0c)

Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Verified on 507

Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Verified on Fuel9 #482

Changed in fuel:
status: Fix Committed → Fix Released
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.