Page MenuHomePhabricator

deployment-ms-beXX Duplicate declaration: Exec[swift_udev_reload]
Closed, ResolvedPublic


deployment-ms-be03 and deployment-ms-be04 have a puppet failure:

Duplicate declaration: Exec[swift_udev_reload] is already declared in file /etc/puppet/modules/profile/manifests/swift/storage/labs.pp:26;
cannot redeclare at /etc/puppet/modules/swift/manifests/storage.pp:163

The reason is they have role::swift::storage and profile::swift::storage::labs (via horizon puppet prefix) and both define exec { 'swift_udev_reload':.

Event Timeline

Stashbot added a subscriber: Stashbot.

Mentioned in SAL (#wikimedia-releng) [2017-07-24T11:02:02Z] <hashar> Removing profile::swift::storage::labs class from deployment-ms-be03 and deployment-ms-be04 to let puppet run. Reapplying it after. - T171174 T171454

Change 369636 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] profile: fix swift udevadm reload name

Change 369636 merged by Filippo Giunchedi:
[operations/puppet@production] profile: fix swift udevadm reload name

fgiunchedi claimed this task.