Revision history [back]

click to hide/show revision 1
initial version

Packstack: Does EXCLUDE_SERVERS realy work?

Hi!

I set EXCLUDE_SERVERS to servers I do not want to touch. I generated the puppet files (packstack --answer-file=packstack-answers.txt --dry-run -d) to check them before rollout (this cloud install is in production).

[root@ceph1833 manifests]# ls -l
total 260
-rw-------. 1 root root 6782 Aug 15 00:24 172.17.1.11_neutron.pp
-rw-------. 1 root root 6782 Aug 15 00:24 172.17.1.12_neutron.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.11_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.11_nova.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.12_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.12_nova.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.13_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.13_nova.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.14_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.14_nova.pp
-rw-------. 1 root root 2341 Aug 15 00:24 172.17.2.15_chrony.pp
-rw-------. 1 root root 1343 Aug 15 00:24 172.17.2.15_nagios_nrpe.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.15_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.15_nova.pp
-rw-------. 1 root root  836 Aug 15 00:24 172.17.2.15_prescript.pp
-rw-------. 1 root root 2341 Aug 15 00:24 172.17.2.16_chrony.pp
-rw-------. 1 root root 1343 Aug 15 00:24 172.17.2.16_nagios_nrpe.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.16_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.16_nova.pp
-rw-------. 1 root root  836 Aug 15 00:24 172.17.2.16_prescript.pp
-rw-------. 1 root root 2341 Aug 15 00:24 172.17.2.18_chrony.pp
-rw-------. 1 root root 1343 Aug 15 00:24 172.17.2.18_nagios_nrpe.pp
-rw-------. 1 root root 3688 Aug 15 00:24 172.17.2.18_neutron.pp
-rw-------. 1 root root 9100 Aug 15 00:24 172.17.2.18_nova.pp
-rw-------. 1 root root  836 Aug 15 00:24 172.17.2.18_prescript.pp

The directory contains files for _all_nodes, even if they are excluded.

172.17.2.11 -> excluded
172.17.2.15 -> to be installed

Will they be executed when I drop "--dry-run" or are they generated but skipped?

Can someone explain this behaviour and where to find the code, showing it is not going to be executed?

Thank you.