-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
We are pleased to announce CentOS Atomic host rolling builds for CentOS Linux.
This release is tagged 20150228_01 : It represents content from Feb 2015 CentOS Linux 7 + Atomic SIG and Virtualisation SIG.
A major change in this release is that all images are now built via anaconda and no longer consume the ostree-toolbox chain. This includes the generic cloud image ( qcow2 file ) and the Vagrant-VirtualBox and Vagrant-LibVirt ( .box ) files.
The upstream ostree repo remains unchanged, including centos-release-atomic.
Note that the Generic Cloud image ( qcow2 file ) still requires a NoCloud cloud-init configuration iso to enable access. The Vagrant images, do not. They will just work with the vagrant default access policy.
- -----------
File: CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 Sha256: ec94554d92558328e2ce7627996ce21faf76105be125d7f711615c1850956e0a
File: CentOS-7-x86_64-AtomicHost-20150228_01.qcow2.xz Sha256: b366f73e4445e139a2df2bef935be863a377960714bdad22d5b47593d7ccec93
File: CentOS-7-x86_64-AtomicHost-Vagrant-LibVirt-20150228_01.box Sha256: fbf23af105258df88a85393dff2104348c7f4004562502a2b5711309eeaac473
File: CentOS-7-x86_64-AtomicHost-Vagrant-VirtualBox-20150228_01.box Sha256: 4dbeeba41dbf4d8f07047494399c7b0997bfde9fe049aba34f8f199e65c9e862
Symlinks are provided that will always map to the latest released builds, as follows ( including their current mapping )
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost... - -> CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost... - -> CentOS-7-x86_64-AtomicHost-20150228_01.qcow2.xz
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost... - -> CentOS-7-x86_64-AtomicHost-Vagrant-LibVirt-20150228_01.box
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost... - -> CentOS-7-x86_64-AtomicHost-Vagrant-VirtualBox-20150228_01.box
These symlinks will be updated to point at the latest tested and released media and make for a good target in automation that requires CentOS Linux media.
- ---------- For more information and comments please join us on the centos-devel mailing list ( http://lists.centos.org/ )
Thanks to Colin Walters, Ian McLeod, Fabian Arrotin, Thomas Oulevey, Jason Brooks and Joe Brockmeier for their help in building up this process and their contributions to the Atomic SIG efforts.
Enjoy!
- -- Karanbir Singh, Project Lead, The CentOS Project
On Fri, Mar 6, 2015 at 3:55 PM, Karanbir Singh kbsingh@centos.org wrote:
We are pleased to announce CentOS Atomic host rolling builds for CentOS Linux.
This release is tagged 20150228_01 : It represents content from Feb 2015 CentOS Linux 7 + Atomic SIG and Virtualisation SIG.
[snip]
Note that the Generic Cloud image ( qcow2 file ) still requires a NoCloud cloud-init configuration iso to enable access. The Vagrant images, do not. They will just work with the vagrant default access policy.
[snip]
File: CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
Sha256: ec94554d92558328e2ce7627996ce21faf76105be125d7f711615c1850956e0a
File: CentOS-7-x86_64-AtomicHost-20150228_01.qcow2.xz Sha256: b366f73e4445e139a2df2bef935be863a377960714bdad22d5b47593d7ccec93
[snip]
Symlinks are provided that will always map to the latest released builds, as follows ( including their current mapping )
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost...
- -> CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-AtomicHost...
- -> CentOS-7-x86_64-AtomicHost-20150228_01.qcow2.xz
Hello, the web links of the two images referred above seem not valid any more... Was there any problem with them? I ask because I already downloaded and am having problmes using them in virt-manager on Fedora 21. $ sha256sum /ssd840pool/ssd840_vmpool/CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 ec94554d92558328e2ce7627996ce21faf76105be125d7f711615c1850956e0a /ssd840pool/ssd840_vmpool/CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
$ qemu-img info /ssd840pool/ssd840_vmpool/CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 image: /ssd840pool/ssd840_vmpool/CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 file format: qcow2 virtual size: 10G (10737418240 bytes) disk size: 777M cluster_size: 65536 Format specific information: compat: 0.10
I created the iso with user-data and meta-data as described in: http://www.projectatomic.io/docs/quickstart/ and other similar docs but it seems the image doesn't get parsed... (no hostname set and not able to ssh into the image). Do I have to pass any kernel command line when I start in virt-manager? I also found this "old" link to create the seed image: https://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-...
but the virt-builder command is not able to extract kernel and initrd image from the qcow2 image. I get: virt-builder: error: get-kernel: no operating system found Here below the whole log of virt-builder run with -v and -x options: https://drive.google.com/file/d/0BwoPbcrMv8mvbm5lUk5rcFpVa0U/view?usp=sharin...
I don't know if it is expected that virt-builder gives error...
Thanks in advance
Gianluca
On 09/03/15 19:55, Gianluca Cecchi wrote:
the web links of the two images referred above seem not valid any more... Was there any problem with them?
yes :( those images have a problem with cloud-init. I've since resolved the issue and pushed new images, you can find them with sha256's :
b08bad32dd68553750822ef9b769cd634aac1d0fd65f27c7d32257b47a6596b3 CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
Do I have to pass any kernel command line when I start in virt-manager? I also found this "old" link to create the seed image: https://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-...
Couple of things to keep in mind, the cloud-init iso's volume id needs to be 'cidata' and the user-data + meta-data files need to be in the root of that iso. This is the geniofs line that I use : genisoimage -output configdrive.iso -volid cidata -joliet -rock user-data meta-data
then just attach that to the machine instance as a CD drive and it should just work from there.
I've also had problems with instance setup, if I was using an image that had already been setup - so I tend to not use the downloaded file, I create a qemu snapshot of the qcow2 file and then consume that instead. This allows me to go back and refresh my image anytime without needing to re-download the image. Something like this should work :
qemu-img create -f qcow2 -b CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 myatomic_snap-01.qcow2
then just use the myatomic_snap-01.qcow2 as your new image ( you can check this is a snapshot by qemu-img info myatomic_snap-01.qcow2 )
but the virt-builder command is not able to extract kernel and initrd image from the qcow2 image.
I am not sure if virt-builder can parse an ostree payload, i suspect its looking for a generic filesystem inside the image. You might want to validate this with the virt-tools list.
Regards
On Tue, Mar 10, 2015 at 9:57 AM, Karanbir Singh mail-lists@karan.org wrote:
On 09/03/15 19:55, Gianluca Cecchi wrote:
the web links of the two images referred above seem not valid any more... Was there any problem with them?
yes :( those images have a problem with cloud-init. I've since resolved the issue and pushed new images, you can find them with sha256's :
b08bad32dd68553750822ef9b769cd634aac1d0fd65f27c7d32257b47a6596b3 CentOS-7-x86_64-AtomicHost-20150228_01.qcow2
The new images are quite better, indeed ;-) I downloads the xz one and then unxz < CentOS-7-x86_64-AtomicHost.qcow2.xz | dd of=CentOS-7-x86_64-AtomicHost.qcow2 bs=1024k
From man page of unxz, it should manage sparse files automatically, but I
noticed with the other image that simply making unxz the uncompressed image didn't match the sha256sum of the original one given on the web site.
Do I have to pass any kernel command line when I start in virt-manager? I also found this "old" link to create the seed image:
https://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-...
Couple of things to keep in mind, the cloud-init iso's volume id needs to be 'cidata' and the user-data + meta-data files need to be in the root of that iso. This is the geniofs line that I use : genisoimage -output configdrive.iso -volid cidata -joliet -rock user-data meta-data
OK. The volid suggested matches the one I found in the docs. And now it works. I see cloud-init phase in console, that I didn't see at all before, and the hostname of the system is indeed updated. I can connect without password from my system using the ssh key I generated. BTW: is it a limitation to use rsa keys or one can use dsa keys too? To verify that also the password passed through user-data is correctly gotten, I connect from inside the vm to itself via ssh with the centos user and using the password it works. And also directly using centos user in console it works
then just attach that to the machine instance as a CD drive and it should just work from there.
I've also had problems with instance setup, if I was using an image that had already been setup - so I tend to not use the downloaded file, I create a qemu snapshot of the qcow2 file and then consume that instead. This allows me to go back and refresh my image anytime without needing to re-download the image. Something like this should work :
qemu-img create -f qcow2 -b CentOS-7-x86_64-AtomicHost-20150228_01.qcow2 myatomic_snap-01.qcow2
then just use the myatomic_snap-01.qcow2 as your new image ( you can check this is a snapshot by qemu-img info myatomic_snap-01.qcow2 )
Thanks for the tip I also found that for further boots you have to regenerate the iso with a new instance-id in meta-data. And I verified it works. In new iso I put different passowrd for centos user and different hostname (and differenti instance-id of course). And after shutdown and connect of new iso, it starts without any problem with new hostname and password for centos user. The previous ssh key continues to work (I'm not asked for the key confirmation, as it is already there inside my known_hosts file.
but the virt-builder command is not able to extract kernel and initrd image from the qcow2 image.
I am not sure if virt-builder can parse an ostree payload, i suspect its looking for a generic filesystem inside the image. You might want to validate this with the virt-tools list.
I confirm that virt-builder fails with this image too, so I will redirect question/clarification to virt-tools as you suggested, even if it not strictly necessary now that the iso method works ok.
Thanks and keep on with the great work! Gianluca
On 03/06/2015 02:55 PM, Karanbir Singh wrote:
We are pleased to announce CentOS Atomic host rolling builds for CentOS Linux.
I've pushed this to AWS as well, ami-9edcf8f6 in us-east-1 is now public, feel free to play with it, but note that this is a Devel release ( and does not use the lvm backing storage solution that were all trying to get to )
- KB