[chef] Re: changing hostname


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: changing hostname
  • Date: Tue, 16 Mar 2010 08:31:02 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

You need to delete the registration on the server and have the client reregister/authorize. The OpenID registration is tied to the hostname (FQDN) by default.

On Mar 15, 2010, at 11:26 PM, Joshua Miller wrote:

Hello,

Guys I am trying to change my host name on a box but now I get

:~#
 chef-client
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 401 "Unauthorized" (Net::HTTPServerException)
        from /usr/lib/ruby/1.8/chef/rest.rb:233:in `run_request'
        from /usr/lib/ruby/1.8/chef/rest.rb:95:in `post_rest'
        from /usr/lib/ruby/1.8/chef/client.rb:243:in `authenticate'
        from /usr/lib/ruby/1.8/chef/client.rb:79:in `run'
from /usr/lib/ruby/1.8/chef/application/client.rb:186:in `run_application'
        from /usr/lib/ruby/1.8/chef/application/client.rb:178:in `loop'
from /usr/lib/ruby/1.8/chef/application/client.rb:178:in `run_application'
        from /usr/lib/ruby/1.8/chef/application.rb:57:in `run'
        from /usr/bin/chef-client:25
:~#
:~#
 chef-client -v
Chef: 0.7.14
:~#

for some reason I though nodes used another system to track nodes once they are registered but it seems I am wrong. Is there a suggested way to change a hostname?

Thank you,

Joshua






- --
Opscode, Inc
Joshua Timberman, Senior Solutions Engineer
C: 720.334.RUBY E: 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAkufliYACgkQO97WSdVpzT169wCaAj/Btq2dtumzVhzH8TAT7mJc
uXgAoJh+/xajJmSuNhBFXhbraok17xJI
=AlyM
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

§