All,

Is anyone getting this failure using Cobbler 3.x.y?  What's interesting, if
I do a "koan --replace-self" I am able to provision bare metal.

I've tried to poke around the code, but I'm not a python expert.  I did add
a print line to virtinstall.py to print profile_data:

    elif is_qemu or is_xen:
        *print(profile_data)*
        # images don't need to source this
        if "install_tree" not in profile_data:
            raise InfoException(
                "Cannot find install source in autoinst file, aborting.")

        if not profile_data["install_tree"].endswith("/"):
            profile_data["install_tree"] = profile_data["install_tree"] +
"/"

        location = profile_data["install_tree"]

>From the output I see this type of thing in the json:

repo=http://192.168.168.223/cblr/links/fedora-x86_64  kssendmac ks=
http://192.168.168.223/cblr/svc/op/autoinstall/system/fedora

I do not, however, see any "install_tree"

I do see this:

   - 'repo=$tree '
   - 'autoinstall_meta': 'tree=http://@@http_server@@/cblr/links/fedora-x86_64
   '

Clearly KOAN is looking for "install_tree" but it's not being sent from
Cobbler.

I'm using:

   - KOAN  v3.0.1
   - Cobbler v3.2.1

Note, I've tried various 3.x.y versions of Cobbler - doesn't seem to help
(aka same error).

I copied the output to https://pastebin.com/ZMqRBVmU

Any help is gratefully appreciated...

-- 
Make it so Number One!
_______________________________________________
cobbler mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to