Page MenuHomePhabricator

Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1004'
Closed, ResolvedPublic

Description

Currently icinga can't regenerate its config due to errors associated with the new cloudcephosd hosts:

Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1004' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4377)!
Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1005' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4409)!
Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1006' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4441)!
Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1007' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4473)!
Error: 'cloudsw1-c8-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1009' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4536)!
Error: 'cloudsw1-d5-eqiad.mgmt.eqiad.wmnet' is not a valid parent for host 'cloudcephosd1010' (file '/etc/icinga/objects/puppet_hosts.cfg', line 4553)!

I'm assuming this is because either icinga doesn't know about the new switches, or icinga doesn't like the fqdn in there for the switch names. I don't really know how to approach either; I haven't yet investigated how icinga decides what the parent of a host is.

Event Timeline

Change 615906 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] Add icinga descriptions for cloudsw1-d5-eqiad and cloudsw1-c8-eqiad

https://gerrit.wikimedia.org/r/615906

Change 615906 merged by Andrew Bogott:
[operations/puppet@production] Add icinga descriptions for cloudsw1-d5-eqiad and cloudsw1-c8-eqiad

https://gerrit.wikimedia.org/r/615906

Change 615907 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] 2nd attempt at icinga descriptions for cloudsw1-d5-eqiad and cloudsw1-c8-eqiad

https://gerrit.wikimedia.org/r/615907

Change 615907 merged by Andrew Bogott:
[operations/puppet@production] Second try at icinga descriptions for cloudsw1-d5-eqiad and cloudsw1-c8-eqiad

https://gerrit.wikimedia.org/r/615907

Change 616013 had a related patch set uploaded (by Ayounsi; owner: Ayounsi):
[operations/puppet@production] Add cloudsw1 switches to Icinga

https://gerrit.wikimedia.org/r/616013

Change 616013 merged by Ayounsi:
[operations/puppet@production] Add cloudsw1 switches to Icinga

https://gerrit.wikimedia.org/r/616013

Change 616014 had a related patch set uploaded (by Ayounsi; owner: Ayounsi):
[operations/puppet@production] cloudsw1: fix typo esams -> eqiad

https://gerrit.wikimedia.org/r/616014

Change 616014 merged by Ayounsi:
[operations/puppet@production] cloudsw1: fix typo esams -> eqiad

https://gerrit.wikimedia.org/r/616014

Thank you @ayounsi -- looks like i had half of this right but was missing a piece.