Bug #1109

Deploying Solaris Sparc Hosts not working Error: Failed to set the DHCP record: DNS result has no information for http

Added by Oliver Weinmann almost 2 years ago. Updated 7 months ago.

Status:Resolved Start:08/12/2011
Priority:Normal Due date:
Assigned to:Paul Kelly % Done:

0%

Category:-
Target version:-
Backlog:No Difficulity:
Votes: 0

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. :)

History

Updated by Ohad Levy almost 2 years ago

  • Assigned to set to Paul Kelly

Updated by Ohad Levy almost 2 years ago

can you please provide your foreman logs too?

Updated by Oliver Weinmann over 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

so this is really a foreman error vs the proxy?

Updated by Oliver Weinmann over 1 year 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 7 months ago

working fine in 1.0.1. Can be closed.

Updated by Ohad Levy 7 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF