validator addon is not using proxy

Bug #2060129 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
Fix Committed
High
Hemanth Nakkina

Bug Description

I deployed Sunbeam with manifest containing
 proxy:
  proxy_required: True
  http_proxy: censored
  https_proxy: censored
  no_proxy: 10.0.0.0/8,192.168.0.0/16,172.16.0.0/12,127.0.0.1,localhost

sunbeam enable validation times out and tempest logs show

2024-04-03T12:06:18.440Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 11:57:15.305 29 INFO tempest.lib.common.rest_client [req-37862178-3cda-47a0-9619-41f032ddb2cd req-37862178-3cda-47a0-9619-41f032ddb2cd ] R
equest (main): 200 GET http://10.246.167.164:80/openstack-glance/v2/images 0.016s
2024-04-03T12:06:18.443Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 11:57:15.306 29 INFO config_tempest.constants [-] Creating image 'cirros-0.5.2-x86_64-disk.img'
2024-04-03T12:06:18.447Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 11:57:15.306 29 INFO config_tempest.constants [-] Downloading 'https://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img' and s
aving as '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
2024-04-03T12:06:18.453Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 11:59:25.328 29 WARNING config_tempest.constants [-] <urlopen error [Errno 101] Network is unreachable>, Retrying in 3 seconds.: urllib.er
ror.URLError: <urlopen error [Errno 101] Network is unreachable>
2024-04-03T12:06:18.456Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 12:01:38.453 29 WARNING config_tempest.constants [-] <urlopen error [Errno 101] Network is unreachable>, Retrying in 6 seconds.: urllib.er
ror.URLError: <urlopen error [Errno 101] Network is unreachable>
2024-04-03T12:06:18.459Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 12:03:55.664 29 WARNING config_tempest.constants [-] <urlopen error [Errno 101] Network is unreachable>, Retrying in 12 seconds.: urllib.e
rror.URLError: <urlopen error [Errno 101] Network is unreachable>
2024-04-03T12:06:18.462Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 12:06:16.980 29 INFO config_tempest.constants [-] Uploading image 'cirros-0.5.2-x86_64-disk.img' from '/var/lib/tempest/etc/cirros-0.5.2-x
86_64-disk.img'
2024-04-03T12:06:18.465Z [container-agent] 2024-04-03 12:06:18 ERROR juju-log 2024-04-03 12:06:16.980 29 CRITICAL tempest [-] Unhandled error: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/tempest/etc/cirros
-0.5.2-x86_64-disk.img'

When I download the file with wget with proxy and create image, re-running `enable validation` works

Tags: cdo-qa
tags: added: cdo-qa
James Page (james-page)
Changed in snap-openstack:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in snap-openstack:
assignee: nobody → Hemanth Nakkina (hemanth-n)
status: Triaged → Fix Committed
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.