Unable to build atomic qcow2 on [fedora 23] for ppc64le

asked 2016-02-22 10:30:41 +0000

bssrikanth gravatar image

updated 2016-02-24 07:56:46 +0000

I am trying to build my own Atomic image for ppc64le arch.

I was able to build atomic image qcow2 for ppc64le on fedora 21. But I am not able to build qcow2 image for atomic host on fedora23 ppc64le. Below mentioned is the error which is being hit:

export LIBGUESTFS_BACKEND=direct

rpm-ostree-toolbox create-vm-disk /srv/rpm-ostree/repo fedora-atomic-host fedora-atomic/f23/ppc64le/docker-host f23-atomic.qcow2

output log of previous command:

/usr/lib64/rpm-ostree-toolbox/py/rpmostreecompose/imagefactory.py:29: PyGIWarning: OSTree was imported without specifying a version first. Use gi.requireversion('OSTree', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Gio, OSTree, GLib # pylint: disable=no-name-in-module /usr/lib64/rpm-ostree-toolbox/py/rpmostreecompose/taskrunner.py:27: PyGIWarning: GSystem was imported without specifying a version first. Use gi.requireversion('GSystem', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GLib,Gio,GSystem # pylint: disable=no-name-in-module Formatting '/root/f23-atomic.qcow2.tmp', fmt=qcow2 size=17179869184 compat='0.10' encryption=off clustersize=65536 lazyrefcounts=off refcountbits=16 bytesize: 17179869184 sectorsize: 512 boot: 409600 root: 33142784 Mounting /tmp/rpmostreetoolbox.BDZ9CY/mnt : guestmount -o allowroot --pid-file /tmp/rpmostreetoolbox.BDZ9CY/mnt.guestmount-pid -a /root/f23-atomic.qcow2.tmp --rw -m /dev/atomicos/root -m /dev/sda2:/boot /tmp/rpmostreetoolbox.BDZ9CY/mnt Started child process 'ostree' 'admin' '--sysroot=/tmp/rpmostreetoolbox.BDZ9CY/mnt' 'init-fs' '/tmp/rpmostreetoolbox.BDZ9CY/mnt': pid=2497 Started child process 'ostree' 'admin' '--sysroot=/tmp/rpmostreetoolbox.BDZ9CY/mnt' 'os-init' 'fedora-atomic-host': pid=2499 /tmp/rpmostreetoolbox.BDZ9CY/mnt/ostree/deploy/fedora-atomic-host initialized as OSTree root Started child process 'ostree' '--repo=/tmp/rpmostreetoolbox.BDZ9CY/mnt/ostree/repo' 'pull-local' '--disable-fsync' '--remote=fedora-atomic-host' '/srv/rpm-ostree/repo' 'f1d3c96a764056678762583aa07636b077faa7115d0a884868e6b053daca3f7b': pid=2500

Workaround https://bugzilla.redhat.com/show_bug.... : Reset mtime of 15767 files Started child process 'ostree' 'admin' '--sysroot=/tmp/rpmostreetoolbox.BDZ9CY/mnt' 'deploy' '--karg=root=UUID=d230f7f0-99d3-4244-8bd9-665428054831' '--karg=rd.lvm.lv=atomicos/root' '--os=fedora-atomic-host' '--origin-file=/root/origin.tmp' 'f1d3c96a764056678762583aa07636b077faa7115d0a884868e6b053daca3f7b': pid=4054 Relabeling /var (no stamp file '/tmp/rpmostreetoolbox.BDZ9CY/mnt/ostree/deploy/fedora-atomic-host/var/.ostree-selabeled' found) Transaction complete; bootconfig swap: yes deployment count change: 1 Labeling deployment root Started child process 'ostree' 'admin' '--sysroot=/tmp/rpmostreetoolbox.BDZ9CY/mnt' 'instutil' 'selinux-ensure-labeled' '/tmp/rpmostreetoolbox.BDZ9CY/mnt/ostree/deploy/fedora-atomic-host/deploy/f1d3c96a764056678762583aa07636b077faa7115d0a884868e6b053daca3f7b.0' '': pid=4157 Relabeling using policy 'targeted'

Set label of '/tmp/rpmostreetoolbox.BDZ9CY/mnt/ostree/deploy/fedora-atomic-host/deploy/f1d3c96a764056678762583aa07636b077faa7115d0a884868e6b053daca3f7b.0/etc/fstab' (as '//etc/fstab') to 'systemu:objectr:etct:s0' Doing initial labeling Started child process 'ostree' 'admin' '--sysroot=/tmp/rpmostreetoolbox.BDZ9CY/mnt' 'instutil' 'selinux-ensure-labeled' '/tmp/rpmostreetoolbox.BDZ9CY/mnt' '': pid=4178 Relabeling using policy 'targeted' Set label of '/tmp/rpmostreetoolbox.BDZ9CY/mnt' (as '/') to 'systemu:objectr:roott:s0' Set label of '/tmp/rpmostreetoolbox.BDZ9CY/mnt/boot' (as '//boot') to 'systemu:objectr:boott:s0' Set label of '/tmp/rpmostreetoolbox.BDZ9CY/mnt/boot/loader.1' (as '//boot/loader.1') to 'systemu:objectr:boott:s0' Set label of '/tmp/rpmostreetoolbox.BDZ9CY/mnt/boot/loader.1/entries' (as '//boot ... (more)

edit retag flag offensive close merge delete

Comments

I removed Docker storage config for f23.. even then the qcow2 image creation fails with same error as pointed in above question

bssrikanth ( 2016-02-23 10:26:25 +0000 )edit