Comment 2 for bug 1581130

Revision history for this message
Mark Casey (mark-casey) wrote :

Same result with an ubuntu image copied out of image cache (uploaded as tgz instead of ddtgz... I think that was right...)

COMMANDS:
================
diff -u /var/lib/maas/boot-resources/cache/root-tgz-78c4caf368edf45272fedf7c74b3c29d8a8c74b8e526710f09a1b59488784188 /var/lib/maas/boot-resources/snapshot-20160513-184938/ubuntu/amd64/hwe-x/xenial/release/root-tgz
cp -a /var/lib/maas/boot-resources/cache/root-tgz-78c4caf368edf45272fedf7c74b3c29d8a8c74b8e526710f09a1b59488784188 .
mv root-tgz-78c4caf368edf45272fedf7c74b3c29d8a8c74b8e526710f09a1b59488784188 /tmp/ubuntu1604-tgz
maas admin boot-resources create -d name=custom/foo architecture=amd64/generic filetype=tgz content@=/tmp/ubuntu1604-tgz

CONSOLE:
=================
2016-05-16 19:21:08 [-] 127.0.0.1 - - [16/May/2016:19:21:08 +0000] "GET /MAAS/rpc/ HTTP/1.0" 200 103 "-" "provisioningserver.rpc.clusterservice.ClusterClientService"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:18 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:19 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:19 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:20 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:20 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:21 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:21 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:22 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:22 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:23 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:24 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:24 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:24 [-] 10.101.0.16 - - [16/May/2016:19:21:23 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:25 [-] 10.101.0.16 - - [16/May/2016:19:21:25 +0000] "PUT /MAAS/api/2.0/boot-resources/35/upload/63/ HTTP/1.1" 200 2 "-" "Python-httplib2/0.9.1 (gzip)"
2016-05-16 19:21:25 [RegionServer,0,10.101.0.16] Rack controller (4y3h7n) has imported boot resources.
2016-05-16 19:21:26 [-] 127.0.0.1 - - [16/May/2016:19:21:25 +0000] "GET /MAAS/images-stream/custom/amd64/generic/foo/20160516/root-tgz HTTP/1.1" 404 848 "-" "python-requests/2.9.1"
2016-05-16 19:21:38 [-] 127.0.0.1 - - [16/May/2016:19:21:38 +0000] "GET /MAAS/rpc/ HTTP/1.0" 200 103 "-" "provisioningserver.rpc.clusterservice.ClusterClientService"