[prev in list] [next in list] [prev in thread] [next in thread]
List: cobbler
Subject: =?utf-8?b?W2NvYmJsZXJd?= KOAN complains about "Cannot find install source in autoinst file, aborting
From: Scot Floess <sfloess () redhat ! com>
Date: 2021-10-11 20:17:51
Message-ID: CAO6zUn_aCLX9AvwNYQYg+wa8rqS+vdDyYgnkLkH4dB5QNghO5g () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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!
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_default" style="font-family:times new \
roman,serif;font-size:large">All,</div><div class="gmail_default" \
style="font-family:times new roman,serif;font-size:large"><br></div><div \
class="gmail_default" style="font-family:times new roman,serif;font-size:large">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.</div><div \
class="gmail_default" style="font-family:times new \
roman,serif;font-size:large"><br></div><div class="gmail_default" \
style="font-family:times new roman,serif;font-size:large">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:</div><div class="gmail_default" \
style="font-family:times new roman,serif;font-size:large"><br></div><div \
class="gmail_default" style="font-size:large"><font face="monospace"> elif \
is_qemu or is_xen:<br> <b><i>print(profile_data)</i></b><br> # \
images don't need to source this<br> if "install_tree" not \
in profile_data:<br> raise InfoException(<br> \
"Cannot find install source in autoinst file, aborting.")<br><br> \
if not profile_data["install_tree"].endswith("/"):<br> \
profile_data["install_tree"] = profile_data["install_tree"] + \
"/" <br><br> location = \
profile_data["install_tree"]</font><br></div><div class="gmail_default" \
style="font-family:times new roman,serif;font-size:large"><br></div><div \
class="gmail_default" style="font-family:times new roman,serif;font-size:large">From \
the output I see this type of thing in the json:</div><div class="gmail_default" \
style="font-family:times new roman,serif;font-size:large"><br></div><div>repo=<a \
href="http://192.168.168.223/cblr/links/fedora-x86_64">http://192.168.168.223/cblr/links/fedora-x86_64</a> \
kssendmac ks=<a href="http://192.168.168.223/cblr/svc/op/autoinstall/system/fedora">ht \
tp://192.168.168.223/cblr/svc/op/autoinstall/system/fedora</a><br></div><div><br></div><div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large">I do not, however, see any \
"install_tree"</div><div class="gmail_default" \
style="font-family:"times new roman",serif;font-size:large"><br></div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large">I do see this:</div><div class="gmail_default" \
style="font-family:"times new \
roman",serif;font-size:large"><ul><li>'repo=$tree \
'</li><li>'autoinstall_meta': \
'tree=http://@@http_server@@/cblr/links/fedora-x86_64 '</li></ul></div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large">Clearly KOAN is looking for \
"install_tree" but it's not being sent from Cobbler.</div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large"><br></div><div class="gmail_default" \
style="font-family:"times new roman",serif;font-size:large">I'm \
using:</div><div class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large"><ul><li>KOAN v3.0.1</li><li>Cobbler \
v3.2.1</li></ul><div>Note, I've tried various 3.x.y versions of Cobbler - \
doesn't seem to help (aka same error).</div><div><br></div></div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large">I copied the output to <a \
href="https://pastebin.com/ZMqRBVmU">https://pastebin.com/ZMqRBVmU</a> </div><div \
class="gmail_default" style="font-family:"times new \
roman",serif;font-size:large"><br></div><div class="gmail_default" \
style="font-family:"times new roman",serif;font-size:large">Any help is \
gratefully appreciated...</div><br></div>-- <br><div dir="ltr" \
data-smartmail="gmail_signature"><div dir="ltr">Make it so Number \
One!<br></div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-leave@lists.fedorahosted.org
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/cobbler@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic