quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
6 stars 54 forks source link

ncm-accounts doesn't honor remove_unknown=true #2

Closed piojo-zz closed 11 years ago

piojo-zz commented 11 years ago

An e-mail from Guillaume to the mailing list:

The plugin failed with error [1]. Both groups must be removed by component[...] i see the component remove group but after that fail to retrieve some value [3]

[1]
[INFO] running component: accounts
---------------------------------------------------------
[INFO] System has 620 accounts in 78 groups
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 432.
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 428.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl/NCM/Component/accounts.pm line 428.
[ERROR] Collision found between groups pkcs11 and fuse for id 
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 428.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl/NCM/Component/accounts.pm line 428.
[ERROR] Collision found between groups ansari and fuse for id 
[ERROR] System would be inconsistent. Leaving without changing anything
[INFO] configure on component accounts executed, 3 errors, 0 warnings
[DEBUG] Marking group fuse for removal
[DEBUG] Marking group pkcs11 for removal
[DEBUG] Marking group ansari for removal
[...]
[DEBUG] Checking for consistency of group fuse
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 432.
[...]
[DEBUG] Checking for consistency of group pkcs11
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 428.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl/NCM/Component/accounts.pm line 428.
[ERROR] Collision found between groups pkcs11 and fuse for id 
[...]
[DEBUG] Checking for consistency of group ansari
Use of uninitialized value in exists at /usr/lib/perl/NCM/Component/accounts.pm line 427.
Use of uninitialized value in hash element at /usr/lib/perl/NCM/Component/accounts.pm line 428.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl/NCM/Component/accounts.pm line 428.
piojo-zz commented 11 years ago

Guillaume confirms the fix:

ncm-accounts 12.12.1 seems ok (the problem was not trig and the account has been removed).