While installing devstack on stable/grizzly branch it is running into the following error
<snip>
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
++ for f in '"$xdir/"*-vmlinuz*' '"$xdir/"aki-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/*-vmlinuz*' ']'
++ for f in '"$xdir/"*-vmlinuz*' '"$xdir/"aki-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/aki-*/image' ']'
++ true
+ KERNEL=
++ for f in '"$xdir/"*-initrd*' '"$xdir/"ari-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/*-initrd*' ']'
++ for f in '"$xdir/"*-initrd*' '"$xdir/"ari-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/ari-*/image' ']'
++ true
+ RAMDISK=
++ for f in '"$xdir/"*.img' '"$xdir/"ami-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/*.img' ']'
++ for f in '"$xdir/"*.img' '"$xdir/"ami-*/image'
++ '[' -f '/opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/ami-*/image' ']'
++ true
+ IMAGE=
+ [[ -z cirros-0.3.1-x86_64-uec ]]
+ '[' '' = bare ']'
+ KERNEL_ID=
+ RAMDISK_ID=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ glance --os-auth-token MIIM4QYJKoZIhvcNAQcCoIIM0jCCDM4CAQExCTAHBgUrDgMCGjCCC7oGCSqGSIb3DQEHAaCCC6sEgguneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNi0xNFQwOToxMTozMy45NDQ1NjQiLCAiZXhwaXJlcyI6ICIyMDEzLTA2LTE1VDA5OjExOjMzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYW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M1MzU3L3YyLjAiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuMjMzLjUyLjI0NTo1MDAwL3YyLjAiLCAiaWQiOiAiMzhmYzlkMWI1Y2NlNGNlOWFhZTAwMWQ2MGQ0ZGJiZWIiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC4yMzMuNTIuMjQ1OjUwMDAvdjIuMCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJpZGVudGl0eSIsICJuYW1lIjogImtleXN0b25lIn1dLCAidXNlciI6IHsidXNlcm5hbWUiOiAiYWRtaW4iLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjY0N2IzODg5ZmVmMTRlNGQ4NTE4MjZiN2FjYmVlMTdlIiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiNzg1MGVjM2I0YWExNGZiMjgwZTFlMzI3YzZlMzQ3ODAiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAMDE72yHfU0WAMb6BIvQIWP+KPUuxHMJ9PD-35jHaYrpttvr-A7n6g7cj6fi4rFznHx2KCZNLa9Ot3hY7KZIbucHvEdOiQr72J2NQRyhixzGmUgUJciU+KHGd-57n+uJfO1Jd5HS7IGJyAcefTzrZW9dBnkk1QUZ7eEh3b0Upr0w== --os-image-url http://10.233.52.245:9292 image-create --name cirros-0.3.1-x86_64-uec --public --container-format ami --disk-format ami
/opt/stack/devstack/functions: line 1228: : No such file or directory
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace
<snip>
Can any one suggest on how to follow up, ASAP
Thanks in advance
Harika
same issue observed while installing devstack on UBUNTU 12.04 using stack user
gzip: stdin: not in gzip format "*-vmlinuz* ' '"$xdir/ "aki-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ *-vmlinuz* ' ']' "*-vmlinuz* ' '"$xdir/ "aki-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ aki-*/image' ']' "ari-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ *-initrd* ' ']' "ari-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ ari-*/image' ']' "ami-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ *.img' ']' "ami-*/ image' devstack/ files/images/ cirros- 0.3.1-x86_ 64-uec/ ami-*/image' ']' 0.3.1-x86_ 64-uec ]] 172.17. 32.22:9292 image-create --name cirros- 0.3.1-x86_ 64-uec --public --container-format ami --disk-format ami devstack/ functions: line 1247: : No such file or directory
tar: Child returned status 1
tar: Error is not recoverable: exiting now
++ for f in '"$xdir/
++ '[' -f '/opt/stack/
++ for f in '"$xdir/
++ '[' -f '/opt/stack/
++ true
+ KERNEL=
++ for f in '"$xdir/"*-initrd*' '"$xdir/
++ '[' -f '/opt/stack/
++ for f in '"$xdir/"*-initrd*' '"$xdir/
++ '[' -f '/opt/stack/
++ true
+ RAMDISK=
++ for f in '"$xdir/"*.img' '"$xdir/
++ '[' -f '/opt/stack/
++ for f in '"$xdir/"*.img' '"$xdir/
++ '[' -f '/opt/stack/
++ true
+ IMAGE=
+ [[ -z cirros-
+ '[' '' = bare ']'
+ KERNEL_ID=
+ RAMDISK_ID=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ glance --os-auth-token --os-image-url http://
/opt/stack/
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace
while checking manually in functions file at line 1247, it seems that glance is trying to create image for container but it is not able to locate actual image at its place.
Here is /opt/stack/ devstack/ functions: line 1247 :
glance --os-auth-token $token --os-image-url http:// $GLANCE_ HOSTPORT image-create --name "${IMAGE_ NAME%.img} " --public --container-format ami --disk-format ami ${KERNEL_ ID:+--property kernel_ id=$KERNEL_ ID} ${RAMDISK_ ID:+--property ramdisk_ id=$RAMDISK_ ID} < "${IMAGE}"
Do we have any workaround for the same ?
Thanks!
Abhishek