No service restart actions are available from Actions menu on cluster or simple node

Bug #684733 reported by Pablo Saavedra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
COMODA
Fix Released
Medium
Pablo Saavedra

Bug Description

It is very neccesary allow restart options for several services autodetect by the Agent. Services related to Aka, for example.

Also, it could be useful allow complex restart operations which need to do several actions beetween many cluster/nodes (complex restart actions)

summary: - No service restart accions are available from Actions menú on cluster
+ No service restart acctions are available from Actions menu on cluster
or simple node
description: updated
Changed in comoda:
milestone: none → 0.1
description: updated
Changed in comoda:
status: New → In Progress
Revision history for this message
Pablo Saavedra (saavedra-pablo) wrote : Re: No service restart acctions are available from Actions menu on cluster or simple node

Sometimes, Actions are not available because a known problem releted to use runcgi and paramiko at the same time:

  PID check failed. RNG must be re-initialized after fork()

In this case we need execute atfork function before to execute SSH connection.

=== modified file 'comoda/fileclusters/models.py'
--- comoda/fileclusters/models.py 2010-11-30 13:54:01 +0000
+++ comoda/fileclusters/models.py 2010-12-16 13:34:52 +0000
@@ -98,6 +98,7 @@

     def save_file(self, filename, lines):
        try:
+ atfork()
          self.ssh.connect(self.hostname, port=self.port, username=str(self.username),
                 password=str(self.password))
          sftp = self.ssh.open_sftp()
@@ -119,6 +120,7 @@

     def execute_command(self, command):
        try:
+ atfork()
          self.ssh.connect(self.hostname, port=self.port, username=str(self.username),
                 password=str(self.password))

Changed in comoda:
status: In Progress → Fix Committed
assignee: nobody → Pablo Saavedra (saavedra-pablo)
summary: - No service restart acctions are available from Actions menu on cluster
+ No service restart actions are available from Actions menu on cluster
or simple node
Changed in comoda:
status: Fix Committed → Fix Released
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.