Bug #1109
closedDeploying Solaris Sparc Hosts not working Error: Failed to set the DHCP record: DNS result has no information for http
Description
Hi,
I have installed the latest foreman and smart proxy sources from git and while creating a solaris sparc host I always get the following error:
Failed to set the DHCP record: DNS result has no information for http
Looking at the proxy log I can see that the DNS entry is created successfully:
D, [2011-08-12T16:37:32.602576 #21314] DEBUG -- : nsupdate: executed - update add freeman.a.space.corp. 86400 A 172.28.16.60
and then it is deleted, I guess because of the error
D, [2011-08-12T16:37:32.711355 #21314] DEBUG -- : nsupdate: executed - update delete freeman.a.space.corp A
D, [2011-08-12T16:37:32.806751 #21314] DEBUG -- : nsupdate: executed - update delete 60.16.28.172.in-addr.arpa PTR
This error only applies when creating Solaris Sparc hosts.
Please help. :)
Updated by Ohad Levy over 12 years ago
can you please provide your foreman logs too?
Updated by Oliver Weinmann over 12 years ago
Hi,
currently I have problems creating any host in foreman ticket #1154. Once that is fixed I will try to deploy a Solaris host again. Maybe the issue is already solved.
Regards,
Oliver
Updated by Oliver Weinmann over 12 years ago
Hi,
ok deployment is now functional again with my MS dhcp server. Unfortunately I still receive the error when delploying a solaris Sparc host.
Regards,
Oliver
Updated by Oliver Weinmann over 12 years ago
Hi,
ohadlevy pointed me into the right direction.
I had to change the urls under installation media to read:
hostname:/path_to_solaris
instead of
nfs://hostname/
BTW openboot prom 3.25 is needed to deploy solaris sparc hosts. I have 3.19 installed and this is not capable of booting from dhcp
Thanks and Regards,
Oliver
Updated by Oliver Weinmann over 12 years ago
Hi,
I was able to get this solved with Ohads help. On the installation media screen the paths were set to nfs://hostname/path instead of just hostname:/path. Maybe it is a good idea to show some examples when selecting Solaris or tighten the regex on the fields?
Regards,
Oliver
Updated by Ohad Levy over 12 years ago
so this is really a foreman error vs the proxy?
Updated by Oliver Weinmann over 12 years ago
Hi Ohad,
Yes the error is on foreman. Either changing the regex on the install media page or showing some examples would be helpful. One more minor thing. The hardware model field has to be mandatory. Otherwise foreman reports an error while creating a Solaris Sparc host.
undefined method `vendor_class' for nil:NilClass
Updated by Oliver Weinmann over 11 years ago
working fine in 1.0.1. Can be closed.