Can't change environment for one host

Hi,

in my foreman 1.12 installation, I do have a host where I cannot
change the puppet environment. I call up the host, click edit, change
the environment and submit. I then verify that the host overview
(http://foreman/hosts/hostname) shows the new environment in the
Properties page under "Environment". But, when I click on YAML in
Details, the last line is still "environment: the-old-one", and the
puppet agent on the host also still thinks that it belongs to the old
one.

Is this a known issue? Any way to fix it short of zapping and
rebuilding the host?

Any hints will be appreciated.

Greetings
Marc

··· -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

I have also noticed that foreman claims that this host has never
delivered a single puppet report. Can these two phenomena be related
to each other?

Greetings
Marc

··· On Mon, Nov 14, 2016 at 12:14:12PM +0100, Marc Haber wrote: > in my foreman 1.12 installation, I do have a host where I cannot > change the puppet environment. I call up the host, click edit, change > the environment and submit. I then verify that the host overview > (http://foreman/hosts/hostname) shows the new environment in the > Properties page under "Environment". But, when I click on YAML in > Details, the last line is still "environment: the-old-one", and the > puppet agent on the host also still thinks that it belongs to the old > one.

Marc Haber | “I don’t trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things.” Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421