There are multiply processes of chef_client_run.sh in client nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compass |
Confirmed
|
Undecided
|
Xiaodong Wang |
Bug Description
I tried to deploy an openstack cluster with Compass and the progress was hung on the 95%. Ssh to the hanging server n142, checked chef-client process and found multiply processes of chef_client_run.sh.
Here is the result:
[root@test-n142 ~]# ps -ef|grep chef
root 3111 3110 0 Nov26 ? 00:00:03 /bin/bash /etc/chef/
root 4643 4642 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 5337 5334 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 7294 7293 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 8433 8432 0 Nov26 ? 00:00:03 /bin/bash /etc/chef/
root 14551 3111 4 08:13 ? 00:00:00 /opt/chef/
root 14626 14551 20 08:13 ? 00:00:03 chef-client worker: ppid=14551;
root 14848 13058 0 08:13 pts/0 00:00:00 grep chef
root 15363 15362 0 Nov26 ? 00:00:03 /bin/bash /etc/chef/
root 15525 15524 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 15964 15963 0 Nov26 ? 00:00:03 /bin/bash /etc/chef/
root 16564 16563 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 17290 17289 0 Nov26 ? 00:00:03 /bin/bash /etc/chef/
root 20445 20444 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 21509 21508 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 21968 21967 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 29012 29011 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
root 30389 30388 0 Nov26 ? 00:00:02 /bin/bash /etc/chef/
[root@test-n142 ~]#
We should not allow multiply processes of chef_client_run.sh running in the same time.
Changed in compass: | |
status: | New → Confirmed |
Changed in compass: | |
assignee: | nobody → Xiaodong Wang (xiaodongwang) |