upgrade is broken on aws, hp and canonistack when using a custom tools-url
Bug #1260452 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
Since r2132, upgrade has been broken for CI on both hp and canonistack, suggesting it's an openstack provider bug.
It reports that it could not find matching tools, but Curtis confirms that 1.17.0-
Related branches
lp:~jameinel/juju-core/unbreak-upgrade-juju-1260452
- Juju Engineering: Pending requested
-
Diff: 422 lines (+154/-182)5 files modifiedenvirons/config.go (+0/-27)
environs/config/config.go (+24/-0)
environs/config/config_test.go (+90/-3)
environs/config_test.go (+40/-146)
environs/export_test.go (+0/-6)
Changed in juju-core: | |
assignee: | nobody → John A Meinel (jameinel) |
status: | Triaged → In Progress |
summary: |
- upgrade is broken on aws, hp and canonistack + upgrade is broken on aws, hp and canonistack when using a custom tools- + url |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We see upgrades are very broken for aws, hp, and canonistack because upgrade dies when a 404 is encountered. /streams. canonical. com/juju/ tools/streams/ v1/index. json" not found jenkins/ ci-cd-scripts2/ upgrade- juju", line 13, in <module> jenkins/ ci-cd-scripts2/ upgrade- juju", line 10, in main Environment. from_config( env).upgrade_ juju() jenkins/ ci-cd-scripts2/ jujupy. py", line 190, in upgrade_juju client. juju(self, 'upgrade-juju', args) jenkins/ ci-cd-scripts2/ jujupy. py", line 108, in juju check_call( args) python2. 7/subprocess. py", line 511, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '('juju', '--show-log', 'upgrade-juju', '-e', 'test-release-aws', '--version', '1.17.0')' returned non-zero exit status 1
2013-12-16 19:22:22 ERROR juju.cmd supercommand.go:294 invalid URL "https:/
Traceback (most recent call last):
File "/var/lib/
main()
File "/var/lib/
jujupy.
File "/var/lib/
self.
File "/var/lib/
return subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
http:// 162.213. 35.54:8080/ job/aws- upgrade/ 236/console 162.213. 35.54:8080/ job/hp- upgrade/ 236/console 162.213. 35.54:8080/ job/canonistack -upgrade/ 237/console
http://
http://
In all cases the tools-url is set to ensure juju sees the 1.17.0 release candidate. I cannot think of a reason that juju would be looking at any location other than the tools-url.