Comment 5 for bug 1328873

Revision history for this message
Evgeniy L (rustyrobot) wrote :

I looked at the logs, and looked at the code.

1. astute calls sync once after it adds all nodes to cobbler [1]

2. in logs I see that sync was called twice

 -rw-r--r-- root/root 2309 fuel-snapshot-2014-06-10_19-39-58/localhost/var/log/cobbler/tasks/2014-06-10_121610_sync.log
 -rw-r--r-- root/root 3091 fuel-snapshot-2014-06-10_19-39-58/localhost/var/log/cobbler/tasks/2014-06-10_121614_sync.log

I assume that first call was caused by puppet, and second by astute (in astute logs I see only one sync call)

[1] https://github.com/stackforge/fuel-astute/blob/9f0a2a3135ace2e8d9bf7a4c5f661b8326ace285/lib/astute/cobbler_manager.rb#L46