Namespace OSTree not available

Problem:
Centos Atomic 7 host provisioning fails.

Foreman and Proxy versions:
1.20.2

I am trying to use the following templates to provision Centos Atomic 7:

  • PXELinux chain iPXE
  • Kickstart default iPXE
  • Atomic Kickstart default

Installation Media: CentOS mirror
Partition table:

zerombr
clearpart --all --initlabel
part /boot --size=300 --fstype="ext4"
part pv.01 --grow 
volgroup atomicos pv.01
logvol / --size=1 --grow  --fstype="xfs" --name=root --vgname=atomicos

I am getting to the “Atomic Kickstart default” which seems to fail on the ostreesetup part with the following error:

“ValueError: Namespace OSTree not available”

Is there any obvision mistake that I am doing which I cant see right now?
I found one github issue with the same error where the issuer said installing ostree fixed the issue for him. So does the image that is getting pulled from the centos mirror in the provisioning does not have ostree installed?

Thanks for any help :slight_smile:

Atomic needs a different version of anaconda than what is in the Centos 7 Base mirror. I know of no public location where the atomic iso is extracted for consumption during kickstarts. What you would need to do

  1. Fetch the appropriate iso from -> CentOS Cloud images
  2. Extract it to /var/www/html/pub/atomic in your upstream (or any other accessible location)
  3. Either create an installation media pointing to http:///pub/atomic (or extracted location) OR create a repo with feed pointing to this location and sync.
  4. Provision as before.

Thanks!
That was the push in the right direction, got it to work.