<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Im trying to do custom centos-atomic-host build - from unmodified
<a class="moz-txt-link-freetext" href="https://github.com/CentOS/sig-atomic-buildscripts">https://github.com/CentOS/sig-atomic-buildscripts</a> configuration source
and following instruction in
<a class="moz-txt-link-freetext" href="https://developerblog.redhat.com/2015/01/08/creating-custom-atomic-trees-images-and-installers-part-1/">https://developerblog.redhat.com/2015/01/08/creating-custom-atomic-trees-images-and-installers-part-1/</a>
blog post series.<br>
<br>
Im able to produce ostree and installer.iso image - BUT
rpm-ostree-toolbox creates ostree tree with missing grub file, resulting
in a failing installer. <br>
More details about this problem here:
<a class="moz-txt-link-freetext" href="https://github.com/projectatomic/rpm-ostree-toolbox/issues/77">https://github.com/projectatomic/rpm-ostree-toolbox/issues/77</a><br>
<br>
Commands used for ostree and installer creation were:<br>
---<br>
rpm-ostree-toolbox treecompose -c
~/repos/sig-atomic-buildscripts/config.ini --ostreerepo
/srv/rpm-ostree/centos-atomic-host/7/<br>
<br>
rpm-ostree-toolbox installer -c
/root/repos/sig-atomic-buildscripts/config.ini \<br>
--ostreerepo /srv/rpm-ostree/centos-atomic-host/7/ \<br>
--outputdir /var/www/html/latest/ --overwrite<br>
<br>
cp ~/repos/sig-atomic-buildscripts/centos-atomic-host-7.ks
/var/www/html/ <br>
virt-install --name=atomic-iso --memory=1024 --vcpus=1 \<br>
--disk=/var/lib/libvirt/images/test.qcow2,size=5 \<br>
--location /var/www/html/latest/images/installer.iso \<br>
--noautoconsole --accelerate --os-type=linux --os-variant=rhel7 \<br>
--extra-args "ks=<a class="moz-txt-link-freetext" href="http://192.168.122.1/centos-atomic-host-7.ks">http://192.168.122.1/centos-atomic-host-7.ks</a>"<br>
---<br>
<br>
Another issue is that also imagefactory KVM centos-atomic-host image
build fails in anaconda install stage - complaining about unknown
missing file - might be the same problem - not sure...<br>
<br>
Command used for kvm image creation:<br>
---<br>
rpm-ostree-toolbox imagefactory \<br>
-c /root/repos/sig-atomic-buildscripts/config.ini -i kvm \<br>
--ostreerepo /srv/rpm-ostree/centos-atomic-host/7/ \<br>
--outputdir /srv/rpm-ostree/centos-atomic-host/7/images<br>
---<br>
<br>
Error screenshot from imagefactory launched build VM console: <br>
<a class="moz-txt-link-freetext" href="http://prntscr.com/7lq38e">http://prntscr.com/7lq38e</a><br>
<br>
>From the build VM /tmp/anaconda.log:<br>
---<br>
21:40:35,454 INFO anaconda: Creating xfs on /dev/vda1<br>
21:40:36,242 INFO anaconda: executing
ostreesetup=<pykickstart.commands.ostreesetup.RHEL7_OSTreeSetup
object at 0x7fdd038d3110><br>
21:40:36,570 ERR anaconda: Failed to pull from repository: Server
returned status 404: Not Found<br>
---<br>
<br>
Last lines from the build VM /tmp/program.log:<br>
---<br>
21:40:36,339 INFO program: Running... ostree
--repo=/mnt/sysimage/ostree/repo remote add --set=gpg-verify=false
installmedia <a class="moz-txt-link-freetext" href="http://192.168.122.1:47990/">http://192.168.122.1:47990/</a><br>
21:40:36,377 DEBUG program: Return code: 0<br>
---<br>
<br>
Any suggestions how to debug it further? Where should I file a bug
report?<br>
<br>
Kind regards,<br>
<div class="moz-signature">-- <br>
<div><a href="http://www.getpostbox.com"><span><meta charset="utf-8"><span
style="color: rgb(34, 34, 34); font-family: arial; font-size: small;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline !important; float:
none;"></span></span></a>----------------------------------------------<span><br
style="color: rgb(34, 34, 34); font-family: arial; font-size: small;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><p
style="color: rgb(34, 34, 34); font-family: arial; font-size: small;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px;">Andres Toomsalu,<span class="Apple-converted-space"> </span><a
href="mailto:andres@opennodecloud.com" target="_blank" style="color:
rgb(17, 85, 204);">andres@opennodecloud.com</a></p></span></div>
</div>
</body>
</html>