Installation crashes if proxy server is specified in subiquity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
New
|
High
|
Unassigned | ||
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
Usually I do installation without using a proxy, since that is not needed in the environment that I use.
But trying to recreate a certain situation I specified a proxy in subiquity (not in the early basic network setup that is done at the console), subiquity crashed on the next screen.
I tried 3 different settings and the crash occurred with all of them:
1)
http://
2)
http://
3)
http://<IP address>:3128/
Then I did an exact same installation on the same system, just w/o specifying a proxy and the installation was successful.
This happened for me on an s390x LPAR, but I don't think it's really related to s390x per-se (maybe related to the network environment the s390x is in.)
I've attached the logs and crash file of all 3 cases, even if I'm sure that it's always the same root cause.
2022-11-17 12:28:30,321 DEBUG root:37 start: subiquity/
2022-11-17 12:28:34,659 ERROR root:37 finish: subiquity/
2022-11-17 12:28:34,660 DEBUG subiquity.
2022-11-17 12:28:34,662 INFO subiquity.
2022-11-17 12:28:34,662 ERROR root:37 finish: subiquity/
2022-11-17 12:28:34,662 INFO root:37 start: subiquity/
InstallerServer
2022-11-17 12:27:03,110 INFO subiquity:152 Starting Subiquity server revision 4005
2022-11-17 12:27:03,110 INFO subiquity:153 Arguments passed: ['/snap/
2022-11-17 12:27:03,232 INFO aiohttp.access:233 [17/Nov/
2022-11-17 12:27:03,974 INFO aiohttp.access:233 [17/Nov/
(Btw. I've tried this on kinetic only so far ...)
tags: |
added: installation removed: installer |
The root cause is indeed the same in both three reports. The proxy server returns HTTP 403 Forbidden when trying to download files through apt-get update.
Nov 17 13:57:42 ubuntu-server subiquity_ log.2216[ 3059]: Err:5 http:// ports.ubuntu. com/ubuntu- ports kinetic InRelease log.2216[ 3059]: 403 Forbidden [IP: 185.125.188.85 3128] log.2216[ 3059]: Err:6 http:// ports.ubuntu. com/ubuntu- ports kinetic-updates InRelease log.2216[ 3059]: 403 Forbidden [IP: 185.125.188.85 3128] event.2216[ 2216]: curtin command in-target log.2216[ 3059]: Err:7 http:// ports.ubuntu. com/ubuntu- ports kinetic-backports InRelease log.2216[ 3059]: 403 Forbidden [IP: 185.125.188.85 3128] log.2216[ 3059]: Err:8 http:// ports.ubuntu. com/ubuntu- ports kinetic-security InRelease log.2216[ 3059]: 403 Forbidden [IP: 185.125.188.85 3128]
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:42 ubuntu-server subiquity_
Nov 17 13:57:43 ubuntu-server subiquity_
Nov 17 13:57:43 ubuntu-server subiquity_
You can try reaching the website manually through your proxy, and check if additional settings are needed.
$ curl --proxy http:// squid.internal: 3128 http:// ports.ubuntu. com/ubuntu- ports
On a side note, there is ongoing work in subiquity to make it show the output of `$ apt-get update` to the user ; and to give the user an opportunity to fix any issue by adjusting some of the settings. In other words, we are planning on "testing" the mirror before proceeding with the install. Hopefully this should give the user a better experience.
As for your test, maybe you could try a different proxy :)