Shotgun executes command one by one instead of doing it simultaneously

Bug #1445317 reported by Alexander Bozhenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Triaged
Low
Fuel Sustaining
Mitaka
Won't Fix
Low
Fuel Python (Deprecated)
Newton
Triaged
Low
Fuel Sustaining

Bug Description

Steps to reproduce:
1)Modify settings.yaml to have this config for shotgun:
    slave:
      hosts: []
      objects:
      - type: command
        command: sleep 5 && echo $(date)
        to_file: test.txt
2) create snapshot
3) Check the dump.log
cat /var/log/docker-logs/dump.log | grep -A1 'run: sleep 5 && echo $(date)'
[node-3.domain.tld] run: sleep 5 && echo $(date)
[node-3.domain.tld] out: Fri Apr 17 04:09:29 UTC 2015
--
[node-1.domain.tld] run: sleep 5 && echo $(date)
[node-1.domain.tld] out: Fri Apr 17 04:09:34 UTC 2015
--
[node-5.domain.tld] run: sleep 5 && echo $(date)
[node-5.domain.tld] out: Fri Apr 17 04:09:39 UTC 2015
--
[node-2.domain.tld] run: sleep 5 && echo $(date)
[node-2.domain.tld] out: Fri Apr 17 04:09:44 UTC 2015
--
[node-4.domain.tld] run: sleep 5 && echo $(date)
[node-4.domain.tld] out: Fri Apr 17 04:09:49 UTC 2015

Command are executed one-by-one, for all nodes.

Shotgun should start executing simultaneously on all nodes.
However, we should carefully test it on big(200+) number of nodes.

Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 6.1
Nikolay Markov (nmarkov)
Changed in fuel:
status: New → Confirmed
milestone: 6.1 → 7.0
importance: Undecided → Medium
Nikolay Markov (nmarkov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Nikolay Markov (nmarkov)
tags: added: qa-agree-7.0
Revision history for this message
Nikolay Markov (nmarkov) wrote :

I would suggest using parallel-ssh project for this purpose. https://github.com/pkittenis/parallel-ssh Moving back to team for now.

Changed in fuel:
assignee: Nikolay Markov (nmarkov) → Fuel Python Team (fuel-python)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

This is feature. Moving to 8.0.

tags: added: feature
Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
no longer affects: fuel/8.0.x
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

We passed SCF in 8.0. Moving the bug to 9.0.

Changed in fuel:
milestone: 8.0 → 9.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.