Hi All,
Our stemcell build process was working OK and is now bailing out on unpacking the .tgz base image, documented in:
It looks like it was updated on S3 last night:
<Contents>
<Key>bosh-ubuntu-trusty-os-image.tgz</Key>
<LastModified>2014-09-24T19:24:05.000Z</LastModified>
<ETag>"548045149f28d222cdf44366b62a5e66"</ETag>
<Size>404201310</Size>
<StorageClass>STANDARD</StorageClass>
</Contents>
</ListBucketResult>
Can someone else confirm the issue? (just downloading manually and extracting for me produces an error);
wget http://s3.amazonaws.com/bosh-os-images/bosh-ubuntu-trusty-os-image.tgz
tar -xzvf bosh-ubuntu-trusty-os-image.tgz
..... Output Trimmed .....
./etc/grub.d/
./etc/grub.d/20_linux_xen
./etc/grub.d/30_os-prober
./etc/grub.d/README
./etc/grub.d/40_custom
./etc/grub.d/00_header
./etc/grub.d/30_uefi-firmware
./etc/grub.d/41_custom
./etc/grub.d/05_debian_theme
./etc/grub.d/10_linux
./etc/libnl-3/
./etc/libnl-3/pktloc
./etc/libnl-3/classid
./etc/aliases.db
./tmp/
./mnt/
tar: Exiting with failure status due to previous errors
Take my current situation as a use case;
- We have automation to run stemcell builder with some custom stages to build stemcells for our environments.
- The automation at this point is broken because I cannot use this single tarball from the link above.
- I also cannot build a previous version of the stemcell (ever... even if the tarball was fine) because although there are tags in the Bosh repo for each stemcell version, I have no way of building against the accompanying snapshot of the base tarball.
For that reason, we have no choice but to have our stemcell builder pointing at the 'develop' branch of bosh, because thats the one that seems most often compatible with the changes that keep being made to the single base image tarball.
Am I missing something with this (please shout if my issue isnt clear and i'll try and explain better).
I think this could be solved in one of two ways:
- Have the S3 repo contain snapshots of the base image for releases, such as 'bosh-ubuntu-trusty-os-image-<VERSION>.tgz'
- Have a way to build the base image tarball myself, which could be done as a pre-req in our stemcell builder jenkins jobs. If this was/is in the bosh repo, it would then be tagged with the existing release numbers.
Regards,
Matt