Bug #12352
closedWhen Deleting Host managed by Chef, error occurs deleting dns record?
Description
Error spit out:
Warning!
uninitialized constant Actions::Foreman::Logging
Full stack trace:
When trying to delete a libvirt guest, and having the foreman chef plugin 0.2.0 installed, from the hosts menu (Select the host and pull down and select "delete" on the right) foreman generates this error.
If you go under Compute resources and select the libvirt provider and loook there, it DOES show the host as deleted. But it does not show the host as deleted in the overall host view.
Also noticed this in the foreman-proxy log:
root@f-guest0-01-us1:/var/log/foreman-proxy# tail n 50 proxy.log | more : Couldn't enable plugin dns: Unable to find dependency 'nsupdate' of 'dns'.
E, [2015-10-29T06:50:58.959852 #26501] ERROR -
E, [2015-10-29T17:10:51.007929 #26509] ERROR -- : Omshell failed:
obj: <null>
, > obj: host
, > obj: host
, hardware-address = xx:xx:xx:xx:xx
, > can't open object: not found
, obj: host
, hardware-address = xx:xx:xx:xx:xx
, > can't destroy object: not found
, obj: host
, hardware-address = xx:xx:xx:xx:xx
, >
E, [2015-10-29T17:10:51.008312 #26509] ERROR -- : Failed to remove DHCP reservation for guest0-02-us1.example.com => guest0-02-us1.
.examplecom (172.xx.xx.x / xx:xx:xx:xx:xx)
E, [2015-10-29T17:11:56.002836 #26509] ERROR -- : Record 172.xx.xx.xx.x/xx:xx:xx:xx:xx not found
E, [2015-10-29T17:13:37.577725 #1384] ERROR -- : Couldn't enable plugin dns: Unable to find dependency 'nsupdate' of 'dns'.
E, [2015-10-29T17:14:39.243564 #1389] ERROR -- : Record 172.x.x.x.x/xx:xx:xx:xx:xx not found
E, [2015-10-29T17:18:18.596207 #9373] ERROR -- : Couldn't enable plugin dns: Unable to find dependency 'nsupdate' of 'dns'.
E, [2015-10-29T17:20:21.341051 #9378] ERROR -- : Record 172.x.x.x/xx:xx:xx:xx:xx not found
E, [2015-10-29T17:31:28.741162 #9378] ERROR -- : Record 172.x.x.x/xx:xx:xx:xx:xx not found
E, [2015-10-29T17:34:38.422172 #1391] ERROR -- : Couldn't enable plugin dns: Unable to find dependency 'nsupdate' of 'dns'.
If there's a workaround or a hack to get around this, or if you need more info, please ping me.
jlp