Reproduced with ISO #414
[root@nailgun ~]# ls -ld /var/log/remote/* | awk '{ print $11 }' | sort | uniq -d
node-3.test.domain.local
node-4.test.domain.local
as a result logrotate fails with "File already exists" error mentioned above.
How to reproduce:
1) Deploy 1 controller
2) Add 2 controllers and deploy
3) Add 2 more controllers and deploy
4) Remove 2 controllers and deploy
5) Reset env and repeat steps 1-4 several times
Reproduced with ISO #414 test.domain. local test.domain. local
[root@nailgun ~]# ls -ld /var/log/remote/* | awk '{ print $11 }' | sort | uniq -d
node-3.
node-4.
as a result logrotate fails with "File already exists" error mentioned above.
How to reproduce:
1) Deploy 1 controller
2) Add 2 controllers and deploy
3) Add 2 more controllers and deploy
4) Remove 2 controllers and deploy
5) Reset env and repeat steps 1-4 several times