CPC sjson triggers failed to parse public key: openpgp: invalid argument: no armored data found

Bug #1542127 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

We augmented the CPC simplestreams with sjson versions. They were at https://juju-dist.s3.amazonaws.com/tools/streams/v1/com.ubuntu.juju-devel-tools.sjson etc, but we have since removed them.

With them in place, bootstrap died with this error: ERROR cmd supercommand.go:448 failed to bootstrap environment: cannot read product data, cannot read URL data at source "mirror": failed to parse public key: openpgp: invalid argument: no armored data found

A copy of the files is attached.

The *.json files that were signed differed (syntactically, but not in their contents, we believe) from those that were signed. So we did not replace the existing *.json files or upload the *.json.gpg files.

Full log:
$ rm ~/sandbox/logz/* -R; juju-ci-tools/deploy_job.py --debug default-aws `jver 2.0-alpha1-3513` ~/sandbox/logz streams-ab --agent-stream=devel
2016-02-04 16:40:57 INFO /usr/bin/python /home/abentley/canonical/juju-ci-tools/timeout.pyc 600.00 -- juju --debug kill-controller streams-ab -y
2016-02-04 21:40:57 INFO juju.cmd supercommand.go:58 running juju [2.0-alpha1 gc]
2016-02-04 21:40:57 ERROR cmd supercommand.go:448 cannot read controller info: environment "streams-ab" not found
2016-02-04 16:40:57 INFO juju --debug bootstrap -e streams-ab --constraints mem=2G --agent-version 2.0-alpha1 --bootstrap-series precise
2016-02-04 21:40:57 INFO juju.cmd supercommand.go:58 running juju [2.0-alpha1 gc]
2016-02-04 21:40:57 DEBUG juju.environs.configstore disk.go:112 Made dir /home/abentley/canonical/cloud-city/jes-homes/streams-ab/environments
2016-02-04 21:40:57 INFO juju.provider.ec2 provider.go:49 opening environment "streams-ab"
2016-02-04 21:40:58 DEBUG juju.environs.configstore disk.go:326 writing cache file
2016-02-04 21:40:58 DEBUG juju.environs imagemetadata.go:111 using image datasource "default cloud images"
2016-02-04 21:40:58 DEBUG juju.environs imagemetadata.go:111 using image datasource "default ubuntu cloud images"
2016-02-04 21:41:00 DEBUG juju.environs.simplestreams simplestreams.go:430 read metadata index at "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson"
2016-02-04 21:41:01 DEBUG juju.environs.simplestreams simplestreams.go:969 metadata: &{map[com.ubuntu.cloud:server:15.04:amd64:{vivid 15.04 amd64 map[20160114.1:0xc82051db00 20150407.4:0xc82016c000 20150528.1:0xc8200501e0 20160106:0xc820050540 20150818:0xc820051080 20151218:0xc82051d140 20151211:0xc82051d5c0 20150722:0xc82051d680 20150707:0xc82051da40 20150224.5:0xc82051dbc0 20141216:0xc82016c1e0 20151117:0xc82051d080 20150728:0xc82051d980 20150421.1:0xc82051dc80 20150121:0xc820050060 20151201:0xc8200507e0 20150910:0xc820050a80 20160203:0xc82051cf00 20150729:0xc82051d8c0 20150513:0xc82051d740 20150616.1:0xc82051dd40 20150422:0xc820050d80 20151021:0xc82016c2a0 20151219:0xc82051d200 20150611:0xc82051d320 20150403.2:0xc82051d440 20160119:0xc82051d500 20150513.1:0xc820050900 20150325:0xc82051ce40 20150929:0xc82051d800 20150421:0xc82016c120 20151006:0xc82016c360 20151106:0xc8200503c0 20150417.1:0xc820050f00 20151015:0xc82051cfc0]} com.ubuntu.cloud:server:11.10:amd64:{oneiric 11.10 amd64 map[20120918:0xc8200de300 20110706:0xc8200de3c0 20130203:0xc82051de60 20130309:0xc8200de480 20110921.1:0xc8200de6c0 20120222:0xc8200de900 20120722:0xc82051dc20 20130509:0xc8200de000 20130103:0xc8200de180 20110830:0xc8200de540 20111011:0xc8200de780 20110831:0xc8200de840 20120108:0xc82051dda0 20120401:0xc82051df20 20110601:0xc8200de0c0 20111205:0xc8200de240 20110802.2:0xc8200de600]} com.ubuntu.cloud:server:10.04:amd64:{lucid 10.04 amd64 map[20140123:0xc820051320 20120913:0xc8200516e0 20150427:0xc82051cba0 20120403:0xc8200508a0 20131205:0xc820050960 20130617:0xc8200511a0 20101020:0xc820051e00 20100923:0xc82051c660 20131114:0xc82051c720 20110601:0xc82051c960 20100420:0xc82051cae0 20100407.1:0xc820050a20 20140127:0xc8200515c0 20130610:0xc820051800 20110201.1:0xc820051f80 20150109:0xc82051c2a0 20140924.1:0xc82051cd20 20120110:0xc820050b40 20120724:0xc820051aa0 20131111:0xc82051c8a0 20110719:0xc820050ea0 20131007:0xc820050f60 20140120:0xc8200513e0 20130204:0xc820051500 20140925.1:0xc82051c5a0 20130704:0xc82051c420 20100427.1:0xc820050d20 20140927:0xc820051020 20100827:0xc820051bc0 20101228:0xc82051c1e0 20110930:0xc82051c360 20130124:0xc82051c7e0 20100224:0xc82051ca20 20091209.1:0xc820050de0 20150127:0xc8200518c0 20140606:0xc820051980 20140428:0xc820051ec0 20100114.1:0xc82051c120 20100317:0xc820051d40 20140529:0xc82051c060 20120221:0xc82051c4e0 20130909:0xc82051cc60]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20140226:0xc82011aa80 20130821:0xc8200b5860 20120606.1:0xc8200b5aa0 20140119:0xc82011a900 20130206:0xc8200b5d40 20121218:0xc82011a1e0 20130929:0xc82011a660 20130616:0xc8200b5b60 20131023:0xc82011a420 20130707:0xc82011a4e0 20140302:0xc82011acc0 20120815:0xc82011ad80 20140202:0xc82011ab40 20140212:0xc8200b5ec0 20120627:0xc82011a060 20131211:0xc82011a360 20130602:0xc82011a840 20120829.1:0xc8200b57a0 20120905.2:0xc8200b5920 20120925:0xc82011a9c0 20140108:0xc8200b5c80 20140129:0xc8200b5e00 20130526:0xc82011a120 20140409:0xc82011a2a0 20121017:0xc82011a5a0 20130908:0xc82011ac00 20120725:0xc8200b5f80 20131113:0xc82011a780]} com.ubuntu.cloud:server:13.04:amd64:{raring 13.04 amd64 map[20130706:0xc820021020 20130601:0xc820021140 20130824:0xc82011bda0 20131214:0xc820020660 20140111:0xc8200208a0 20130423:0xc820020c00 20121206:0xc820020ea0 20130313:0xc820020300 20130928:0xc8200205a0 20130404:0xc820020ae0 20131123:0xc820020f60 20130615:0xc82011bf20 20130213:0xc820020720 20131022:0xc8200204e0 20131203:0xc8200207e0 20130525:0xc8200209c0 20130907:0xc820020de0 20131116:0xc82011be60 20130820:0xc8200203c0]} com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20131023:0xc82012c060 20130707:0xc82012c240 20120627:0xc820021c20 20131211:0xc82012c1e0 20120925:0xc8202a4180 20130616:0xc820021680 20130929:0xc82012c3c0 20140108:0xc820021740 20130526:0xc820021ce0 20140226:0xc8202a4240 20140119:0xc8202a40c0 20130908:0xc8202a4420 20120815:0xc8202a4300 20140409:0xc820021f20 20130602:0xc82012c540 20140212:0xc820021a40 20131113:0xc82012c480 20140302:0xc8202a4000 20120905.2:0xc820021500 20130206:0xc820021800 20140202:0xc8202a4360 20120829.1:0xc820021260 20120606.1:0xc8200215c0 20120725:0xc820021b60 20121218:0xc820021e00 20121017:0xc82012c300 20130821:0xc820021380 20140129:0xc820021980]} com.ubuntu.cloud:server:12.04:i386:{precise 12.04 i386 map[20150930:0xc8200b4960 20130909:0xc8202a4ea0 20150610:0xc82011afc0 20140806:0xc8202a47e0 20151217:0xc8202a50e0 20120821:0xc8202a5920 20120822:0xc8202a4540 20121001:0xc8202a4720 20151130:0xc8202a4c60 20160114:0xc8202a4de0 20150227:0xc8202a4f60 20150204:0xc8202a5f80 20140925.2:0xc8200b4360 20130827:0xc8202a4600 20151218:0xc8202a4ba0 20130411.1:0xc8202a5320 20120728:0xc8202a57a0 20130527:0xc8202a5bc0 20140227:0xc82011b8c0 20140927:0xc8202a48a0 20151117:0xc8202a4960 20151020:0xc82011a3c0 20140923.1:0xc82011ba40 20140924.4:0xc8200b44e0 20131003:0xc8200b4ae0 20130222:0xc8202a4d20 20140829.2:0xc8202a5020 20140428:0xc8202a5c80 20150401:0xc82011bec0 20150522.1:0xc8200b40c0 20150819:0xc8200b4180 20131205:0xc8202a4120 20150728:0xc8202a56e0 20120202:0xc8200b4000 20130603:0xc82011b740 20111130:0xc82011bd40 20140702:0xc8202a5620 20140217.1:0xc82011b5c0 20140130:0xc82011b440 20140529:0xc8202a5e00 20140408:0xc8202a5ec0 20121218:0xc8202a5d40 20150413:0xc8202a4ae0 20130325:0xc8202a51a0 20120328:0xc82011a540 20140717:0xc82011ad20 20160201:0xc8202a4480 20131114:0xc82011a240 20130502:0xc82011a0c0 20121026.1:0xc82011b140 20150127:0xc8202a5260 20130516:0xc8202a5b00 20150119:0xc82011b2c0 20140127:0xc8202a42a0 20120424:0xc82011a720 20150707:0xc8202a5a40 20120229.1:0xc82011aa20 20130124:0xc8200b47e0 20150615:0xc8202a4a20 20150512:0xc8202a54a0 20130204:0xc82011a8a0 20131024:0xc82011aba0 20130624:0xc82011ae40 20120616:0xc8202a46c0 20140606:0xc8202a5560 20150906:0xc8202a53e0]} com.ubuntu.cloud:server:15.04:i386:{vivid 15.04 i386 map[20150325:0xc82051d3e0 20150224.5:0xc82051d560 20141216:0xc82051d6e0 20150121:0xc82051d860 20150407.4:0xc82051d9e0]} com.ubuntu.cloud:server:11.10:i386:{oneiric 11.10 i386 map[20110706:0xc820486840 20120722:0xc820486120 20130203:0xc820486300 20110601:0xc820486540 20111011:0xc820486c00 20110831:0xc820486cc0 20120222:0xc820486d80 20110830:0xc8204869c0 20110802.2:0xc820486a80 20110921.1:0xc820486b40 20130103:0xc820486600 20120918:0xc820486780 20120108:0xc820486240 20120401:0xc8204863c0 20130509:0xc820486480 20111205:0xc8204866c0 20130309:0xc820486900]} com.ubuntu.cloud:server:13.10:amd64:{saucy 13.10 amd64 map[20140608:0xc8200b5440 20140119:0xc8200b4540 20130808:0xc8200b4cc0 20140212:0xc8200b5140 20131113:0xc8200b5380 20131215:0xc8200b4780 20140112:0xc8200b49c0 20140507:0xc8200b4b40 20140604:0xc8200b52c0 20131204:0xc8200b5500 20140108:0xc8200b43c0 20140226:0xc8200b4840 20140409.1:0xc8200b4c00 20140709:0xc8200b4d80 20140202:0xc8200b4ea0 20131015:0xc8200b5620 20140129:0xc8200b4300 20130925:0xc8200b4480 20140427:0xc8200b4900 20130905:0xc8200b4a80]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20140813:0xc82012c840 20150608:0xc82012ce40 20140927:0xc8200b59e0 20140924:0xc8200b5f20 20140416.1:0xc820020b40 20150603:0xc82012cb40 20150810:0xc82012d620 20151008:0xc82012c6c0 20131219.1:0xc82012ca80 20151217:0xc820020780 20150408.1:0xc820021ec0 20140926:0xc8200b5800 20160119:0xc820020480 20150209.1:0xc820020600 20150417:0xc820020e40 20140816:0xc82012c9c0 20150528:0xc82012d200 20150901.1:0xc82012d2c0 20140326:0xc82012d500 20151117:0xc8200b5c20 20140724:0xc820021c80 20151007:0xc82012c780 20150629:0xc82012ccc0 20150609:0xc82012cf00 20160201:0xc8200b50e0 20150225.2:0xc82012c000 20150814:0xc82012c4e0 20140122.1:0xc8200b4d20 20151015:0xc8200b54a0 20151218:0xc8200b5da0 20150325:0xc8200b5020 20151019:0xc8200b5200 20140923:0xc8200b5320 20150305:0xc8200b5680 20150724:0xc820020fc0 20150805:0xc820021560 20150908:0xc8200218c0 20150227.2:0xc82012c600 20150930:0xc82012cd80 20141125:0xc82012cfc0 20150506:0xc82012d140 20160114.5:0xc82012c120 20151105:0xc82012cc00 20150813:0xc82012d440 20150928:0xc8200212c0 20150123:0xc8200b4f00 20150727:0xc8200211a0 20150924:0xc8200216e0 20140607.1:0xc820021b00 20140528:0xc82012c360 20140829:0xc820020900 20151005:0xc82012c900 20150731:0xc82012d380 20140226.1:0xc82012d080]} com.ubuntu.cloud:server:16.04:amd64:{xenial 16.04 amd64 map[20160125:0xc82012d740]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20130615:0xc82016dc80 20130404:0xc82051c840 20121206:0xc82051ccc0 20130601:0xc82051d0e0 20130928:0xc82016df80 20130213:0xc82051c240 20131123:0xc82051cde0 20130706:0xc82051cf60 20130525:0xc82051c6c0 20130824:0xc82016db00 20131116:0xc82016dbc0 20130820:0xc82016de00 20131022:0xc82016dec0 20131214:0xc82051c0c0 20131203:0xc82051c3c0 20130313:0xc82016dd40 20140111:0xc82051c540 20130423:0xc82051c9c0 20130907:0xc82051cb40]} com.ubuntu.cloud:server:12.04:amd64:{precise 12.04 amd64 map[20120616:0xc8200deae0 20150127:0xc8200dfc20 20120728:0xc8203241e0 20151020:0xc820324d80 20140408:0xc8203249c0 20131024:0xc820325140 20150401:0xc820325a40 20140227:0xc820325800 20131205:0xc8200dec00 20111129.2:0xc8200ded80 20120131:0xc8200defc0 20140806:0xc8200df140 20130502:0xc820324c00 20120328:0xc820324e40 20120424:0xc820324f00 20131111:0xc8200def00 20151218:0xc8200df500 20130411.1:0xc8200dfce0 20150906:0xc8200dfda0 20130516:0xc820324420 20150204:0xc820324a80 20160114:0xc8200df7a0 20140606:0xc8200dff20 20121218:0xc8203246c0 20121001:0xc8200df080 20151117:0xc8200df2c0 20130909:0xc8200df860 20130325:0xc8200dfb60 20140217.1:0xc820325680 20150413:0xc8200df440 20140428:0xc8203245a0 20150610:0xc820325380 20150930:0xc820325f80 20160201:0xc8200dee40 20140717:0xc820325200 20140130:0xc8203255c0 20130603:0xc820325740 20111130:0xc820325980 20120202:0xc820325b00 20140127:0xc8200decc0 20150615:0xc8200df380 20150819:0xc820325c80 20130124:0xc820325ec0 20150227:0xc8200df920 20151217:0xc8200dfaa0 20150707:0xc820324360 20120519:0xc820324900 20120822:0xc820324b40 20150119:0xc820325500 20140925.2:0xc820325d40 20131003:0xc820486000 20151130:0xc8200df5c0 20150512:0xc8200dfe60 20140529:0xc820324840 20131114:0xc820324cc0 20130204:0xc820324fc0 20140923.1:0xc8203258c0 20130131:0xc820324780 20150522.1:0xc820325bc0 20150728:0xc820324120 20130527:0xc8203244e0 20121026.1:0xc820325440 20140924.4:0xc820325e00 20130827:0xc8200dea20 20140927:0xc8200df200 20140829.2:0xc8200df9e0 20140702:0xc820324000 20130624:0xc8203252c0 20130222:0xc8200df680 20120821:0xc8203242a0 20120229.1:0xc820325080]} com.ubuntu.cloud:server:15.10:amd64:{wily 15.10 amd64 map[20150624:0xc82011b4a0 20151021:0xc82011b620 20160105.1:0xc82011b6e0 20151106:0xc82011aea0 20150825:0xc82011b7a0 20151116.1:0xc82011b860 20151026:0xc82011b560 20160106:0xc82011b1a0 20160123:0xc82011b260 20150728.1:0xc82011b320 20151029:0xc82011b920 20150922:0xc82011b9e0 20150921:0xc82011baa0 20151219:0xc82011af60 20151019.2:0xc82011b0e0 20151203:0xc82011b3e0 20160114:0xc82011b020]} com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20140512:0xc820051680 20140122.1:0xc820051a40 20131219.1:0xc8200b58c0 20151105:0xc8202a4060 20150609:0xc8202a49c0 20150528:0xc8202a4fc0 20140724:0xc82011b500 20140226.1:0xc8202a4cc0 20150706:0xc8202a4e40 20150810:0xc8202a5b60 20150123:0xc820051c80 20140927:0xc82012da40 20140607.1:0xc82011b200 20140923:0xc82012c5a0 20150225.2:0xc82011bb00 20151019:0xc82012c2a0 20150724:0xc82011a000 20150305:0xc82012cd20 20151007:0xc8200b4ba0 20150325:0xc820051da0 20140416.1:0xc82012dbc0 20150818:0xc8202a52c0 20160201:0xc820051f20 20140924:0xc82012d1a0 20150722:0xc82012dd40 20150924:0xc82011ac60 20151008:0xc8200b48a0 20150313:0xc8200b5560 20140326:0xc8202a59e0 20151015:0xc82012c720 20150506:0xc82012ca20 20150727:0xc82011a300 20150805:0xc82011a960 20150901.1:0xc8202a5140 20150812:0xc8202a5740 20140829:0xc82012d8c0 20150930:0xc8202a4660 20140414:0xc820051860 20150408.1:0xc82011b800 20140813:0xc8200b4e40 20141125:0xc8202a4b40 20150430:0xc82012d4a0 20140816:0xc8200b5260 20150814:0xc8202a5440 20150813:0xc8202a55c0 20151218:0xc82012d020 20150603:0xc8200b5ce0 20160119:0xc82012d320 20150928:0xc82011a600 20150227.2:0xc8200b4420 20150629:0xc8202a43c0 20150731:0xc82012c8a0 20140926:0xc82012cba0 20150908:0xc82011af00 20160114.5:0xc82011bf80 20140528:0xc8200b4120 20151005:0xc8200b5080 20140414.2:0xc820051440 20151117:0xc82012cea0 20150209.1:0xc82012d680 20151217:0xc82012d7a0 20150417:0xc82012dec0 20150608:0xc8202a4840]} com.ubuntu.cloud:server:10.04:i386:{lucid 10.04 i386 map[20110601:0xc82016d560 20130909:0xc82016d920 20100407.1:0xc820020540 20120110:0xc820020840 20150109:0xc82016c540 20120724:0xc82016c9c0 20110930:0xc82016d020 20130204:0xc82016d0e0 20110719:0xc8200213e0 20120913:0xc82016c6c0 20150127:0xc82016c840 20091209.1:0xc8200210e0 20100827:0xc82016ca80 20100317:0xc82016cba0 20101228:0xc82016cf60 20100420:0xc82016d7a0 20131205:0xc8202a5f20 20140606:0xc82016c900 20100224:0xc82016d620 20100427.1:0xc820020cc0 20101020:0xc82016cc60 20100114.1:0xc82016cea0 20120221:0xc82016d1a0 20131114:0xc82016d3e0 20140925.1:0xc82016d260 20130124:0xc82016d4a0 20130704:0xc8200217a0 20131007:0xc820021bc0 20130617:0xc82016c180 20140127:0xc82016c600 20130610:0xc82016c780 20140529:0xc82016cde0 20100923:0xc82016d320 20150427:0xc82016d860 20120403:0xc8202a5da0 20140927:0xc820021f80 20140123:0xc82016c300 20140120:0xc82016c480 20110201.1:0xc82016cd20 20140924.1:0xc82016d9e0]} com.ubuntu.cloud:server:14.10:amd64:{utopic 14.10 amd64 map[20140826:0xc820486f60 20150612:0xc820050840 20140625:0xc820050ba0 20141022.3:0xc820051e60 20150611:0xc8204870e0 20140916:0xc820050120 20150521:0xc820051740 20150707:0xc82012c7e0 20150509:0xc820486ea0 20150601:0xc820487260 20140729:0xc820050fc0 20150708:0xc820051b00 20150202:0xc82012cde0 20150723:0xc820487020 20141021:0xc8204871a0 20141204:0xc820050480 20141020:0xc820051380 20140923:0xc82012c420 20150620:0xc82012cae0]} com.ubuntu.cloud:server:14.10:i386:{utopic 14.10 i386 map[20150601:0xc82012d800 20150202:0xc82012db00 20141204:0xc82011a180 20140729:0xc82011ade0 20150708:0xc82011b980 20141022.3:0xc8200b4060 20140625:0xc8200b45a0 20150509:0xc82012d260 20140826:0xc82012d560 20150612:0xc82012de00 20150620:0xc82011a7e0 20150723:0xc82011b380 20140923:0xc8200b4c60]} com.ubuntu.cloud:server:13.10:i386:{saucy 13.10 i386 map[20140409.1:0xc820051c20 20140709:0xc8200500c0 20131113:0xc820050420 20140119:0xc82012daa0 20140427:0xc82012dce0 20131204:0xc8200505a0 20140226:0xc82012dc20 20140507:0xc82012df20 20130808:0xc820050000 20140604:0xc820050300 20131015:0xc820050720 20140202:0xc820050180 20140212:0xc820050240 20140129:0xc82012d860 20140108:0xc82012d920 20130925:0xc82012d9e0 20131215:0xc82012db60 20140112:0xc82012dda0 20130905:0xc82012de60 20140608:0xc8200504e0]}] map[crsn:map[sa-east-1:map[region:sa-east-1 endpoint:https://ec2.sa-east-1.amazonaws.com] ap-southeast-1:map[region:ap-southeast-1 endpoint:https://ec2.ap-southeast-1.amazonaws.com] us-west-1:map[region:us-west-1 endpoint:https://ec2.us-west-1.amazonaws.com] eu-west-1:map[region:eu-west-1 endpoint:https://ec2.eu-west-1.amazonaws.com] us-east-1:map[region:us-east-1 endpoint:https://ec2.us-east-1.amazonaws.com] ap-northeast-1:map[region:ap-northeast-1 endpoint:https://ec2.ap-northeast-1.amazonaws.com] us-west-2:map[region:us-west-2 endpoint:https://ec2.us-west-2.amazonaws.com] eu-central-1:map[region:eu-central-1 endpoint:https://ec2.eu-central-1.amazonaws.com] ap-northeast-2:map[region:ap-northeast-2 endpoint:https://ec2.ap-northeast-2.amazonaws.com] ap-southeast-2:map[region:ap-southeast-2 endpoint:https://ec2.ap-southeast-2.amazonaws.com]]] Thu, 04 Feb 2016 18:16:54 +0000 products:1.0 com.ubuntu.cloud:released:aws }
2016-02-04 21:41:01 INFO juju.cmd.juju bootstrap.go:299 combined bootstrap constraints: mem=2048M
2016-02-04 21:41:01 INFO juju.network network.go:248 setting prefer-ipv6 to false
2016-02-04 21:41:01 INFO cmd cmd.go:129 Bootstrapping environment "streams-ab"
2016-02-04 21:41:01 DEBUG juju.environs.bootstrap bootstrap.go:137 environment "streams-ab" supports service/machine networks: true
2016-02-04 21:41:01 DEBUG juju.environs.bootstrap bootstrap.go:139 network management by juju enabled: true
2016-02-04 21:41:01 INFO juju.environs.bootstrap tools.go:89 looking for bootstrap tools: version=2.0-alpha1
2016-02-04 21:41:01 INFO juju.environs.tools tools.go:86 finding tools in stream "devel"
2016-02-04 21:41:01 INFO juju.environs.tools tools.go:88 reading tools with major.minor version 2.0
2016-02-04 21:41:01 INFO juju.environs.tools tools.go:96 filtering tools by version: 2.0-alpha1
2016-02-04 21:41:01 INFO juju.environs.tools tools.go:99 filtering tools by series: precise
2016-02-04 21:41:01 DEBUG juju.environs.tools urls.go:108 trying datasource "keystone catalog"
2016-02-04 21:41:02 DEBUG juju.environs.simplestreams simplestreams.go:660 using default candidate for content id "com.ubuntu.juju:devel:tools" are {20160204 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
2016-02-04 21:41:03 DEBUG juju.environs.simplestreams simplestreams.go:521 using mirrored products path: https:/juju-dist.s3.amazonaws.com/tools/streams/v1/com.ubuntu.juju-devel-tools.sjson
2016-02-04 21:41:03 DEBUG juju.environs.simplestreams simplestreams.go:430 read metadata index at "https://streams.canonical.com/juju/tools/streams/v1/index2.sjson"
2016-02-04 21:41:04 DEBUG juju.cmd.juju common.go:101 Destroying environment.
2016-02-04 21:41:04 INFO cmd cmd.go:129 Bootstrap failed, destroying environment
2016-02-04 21:41:04 INFO juju.provider.common destroy.go:22 destroying environment "streams-ab"
2016-02-04 21:41:04 INFO juju.provider.common destroy.go:33 destroying instances
2016-02-04 21:41:04 INFO juju.provider.common destroy.go:53 destroying storage
2016-02-04 21:41:05 ERROR cmd supercommand.go:448 failed to bootstrap environment: cannot read product data, cannot read URL data at source "mirror": failed to parse public key: openpgp: invalid argument: no armored data found
2016-02-04 16:41:05 ERROR Command '('juju', '--debug', 'bootstrap', '-e', 'streams-ab', '--constraints', 'mem=2G', '--agent-version', '2.0-alpha1', '--bootstrap-series', 'precise')' returned non-zero exit status 1
Traceback (most recent call last):
  File "/home/abentley/canonical/juju-ci-tools/deploy_stack.py", line 576, in bootstrap_context
    yield
  File "/home/abentley/canonical/juju-ci-tools/deploy_stack.py", line 660, in booted_context
    upload_tools, bootstrap_series=self.series)
  File "/home/abentley/canonical/juju-ci-tools/jujupy.py", line 353, in bootstrap
    self.juju('bootstrap', args, self.env.needs_sudo())
  File "/home/abentley/canonical/juju-ci-tools/jujupy.py", line 493, in juju
    rval = call_func(args)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '('juju', '--debug', 'bootstrap', '-e', 'streams-ab', '--constraints', 'mem=2G', '--agent-version', '2.0-alpha1', '--bootstrap-series', 'precise')' returned non-zero exit status 1
2016-02-04 16:41:05 INFO /usr/bin/python /home/abentley/canonical/juju-ci-tools/timeout.pyc 600.00 -- juju --debug kill-controller streams-ab -y
2016-02-04 21:41:05 INFO juju.cmd supercommand.go:58 running juju [2.0-alpha1 gc]
2016-02-04 21:41:05 ERROR cmd supercommand.go:448 cannot read controller info: environment "streams-ab" not found
2016-02-04 16:41:05 INFO Juju command timings: {'/usr/bin/python /home/abentley/canonical/juju-ci-tools/timeout.pyc 600.00 -- juju --debug kill-controller streams-ab -y': [0.13480520248413086, 0.13611602783203125]}

Revision history for this message
Aaron Bentley (abentley) wrote :
Revision history for this message
Aaron Bentley (abentley) wrote :

Another copy of the log

Revision history for this message
Ian Booth (wallyworld) wrote :

I have verified that the attached streams files are properly signed. It's not clear what's happening. There's some info logged at trace level. Can we have another run with trace enabled? I've also tweaked the construction of the mirrors data source so that "requireSigned" matches the attribute of the current index file rather than the data source. Not sure if that will help.

Revision history for this message
Aaron Bentley (abentley) wrote :

In order to re-run the test, we would have to put the signed data back onto juju-dist.s3.amazonaws.com, potentially affecting real users. Can't you re-run the test locally, or push the streams to an arbitrary location and use them there? Is it really necessary to affect the genuine published mirrors?

(We considered impersonating juju-dist.s3.amazonaws.com, but this seem difficult, considering the connection is https.)

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-beta1
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have fixed the actual issue highlighted in this bug - reading data from tools related data sources that don't necessarily require signed data but do contain it nonetheless. From here forward, we will try to decode signed data that we encounter in these data sources using Juju known tools' public key.

For now, in case of images data sources that do not require signed data but still do, we will attempt to use a user supplied public key to decode data.

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta1 → none
milestone: none → 2.0-beta1
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.