[Spacewalk-list] Client Hostname Change Issue

Paul Robert Marino prmarino1 at gmail.com
Fri Jul 27 23:33:15 UTC 2012


On Fri, Jul 27, 2012 at 6:00 PM, Jeremy Davis <jdavis4102 at gmail.com> wrote:
> Thank you for the reply! I should have put in my initial email that I am
> aware of how to change it manually or create a script to do the change via
> spacecmd or API. Just to clarify I just thought there was a way to do this
> just by running a hardware refresh which does update all other areas of
> Spacewalk except the two items I mentioned.
>
> I personally think this is a bug and should be fixed to have the hardware
> refresh update everything instead of having to run another command to update
> two items which should be changed anyway during the hardware refresh. IMHO
> please correct me if I am off base in that thinking :)
>
>
> On Fri, Jul 27, 2012 at 2:24 PM, Wojtak, Greg (Superfly)
> <GregWojtak at quickenloans.com> wrote:
>>
>> In my experience, I have had to have been running spacecmd system_rename
>> spacewalk_id new_hostname in addition to rhn-profile-sync
>>
>> Greg Wojtak
>> Sr. Unix Systems Engineer
>> Office: (313) 373-4306
>> Cell: (734) 718-8472
>>
>>
>> From: Jeremy Davis <jdavis4102 at gmail.com<mailto:jdavis4102 at gmail.com>>
>> Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>"
>> <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
>> Date: Friday, July 27, 2012 3:53 PM
>> To: Spacewalk List
>> <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
>> Subject: [Spacewalk-list] Client Hostname Change Issue
>>
>> Hello List,
>>
>> I have a few clients connected to a Spacewalk 1.6 installation with a
>> Spacewalk Proxy server. I changed the hostname on the client server and ran
>> a hardware refresh. This updates all entries of the hostname except for the
>> system name(web ui) and profile name (in systemid on the client). Is there
>> any way that when I run a hardware refresh that it could also update these
>> two items? If I remember correctly I saw this actually working the way I
>> would like back in 1.2 but it has been a while and I could be mistaken.
>>
>> Thank you for your time and have a great day!
>>
>> Regards,
>> Jeremy
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

well that's because the profile name doesn't always have to match the
host name it just does by default when you register the host unless
you tell it otherwise.
especially in small companies Ive seen descriptive names used rather
than the hostname because they don't tend to have great host naming
conventions if they have one at all.




More information about the Spacewalk-list mailing list