ibm-spectrum-scale-install-infra icon indicating copy to clipboard operation
ibm-spectrum-scale-install-infra copied to clipboard

[nfs/common : configure | Setting server licenses on protocol nodes is run on all nodes

Open olemyk opened this issue 5 years ago • 0 comments

looks like the task Setting server licenses on protocol nodes is run on all nodes, so delegate to is not working.

- name: configure | Setting server licenses on protocol nodes
  command: "{{ scale_command_path }}mmchlicense server --accept -N {{ scale_server_nodes[1:] }}"
  delegate_to: "{{ scale_protocol_node_list.0 }}"
changed: [scale-test1 -> scale-test1.domain.com] => {"changed": true, "cmd": ["/usr/lpp/mmfs/bin/mmchlicense", "server", "--accept", "-N", "scale-test1.domain.com,scale-test2.domain.com,scale-test3.domain.com,scale-test4.domain.com"], "delta": "0:00:04.092706", "end": "2020-10-06 21:30:23.608019", "rc": 0, "start": "2020-10-06 21:30:19.515313", "stderr": "mmchlicense: Command successfully completed\nmmchlicense: Propagating the cluster configuration data to all\n  affected nodes.  This is an asynchronous process.", "stderr_lines": ["mmchlicense: Command successfully completed", "mmchlicense: Propagating the cluster configuration data to all", "  affected nodes.  This is an asynchronous process."], "stdout": "\nThe following nodes will be designated as possessing server licenses:\n\tscale-test3.domain.com\n\tscale-test2.domain.com\n\tscale-test1.domain.com\n\tscale-test4.domain.com", "stdout_lines": ["", "The following nodes will be designated as possessing server licenses:", "\tscale-test3.domain.com", "\tscale-test2.domain.com", "\tscale-test1.domain.com", "\tscale-test4.domain.com"]}
changed: [scale-test2 -> scale-test1.domain.com] => {"changed": true, "cmd": ["/usr/lpp/mmfs/bin/mmchlicense", "server", "--accept", "-N", "scale-test1.domain.com,scale-test2.domain.com,scale-test3.domain.com,scale-test4.domain.com"], "delta": "0:00:08.591404", "end": "2020-10-06 21:30:28.121226", "rc": 0, "start": "2020-10-06 21:30:19.529822", "stderr": "mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...\nmmchlicense: Lock creation successful.\nmmchlicense: Command successfully completed\nmmchlicense: Propagating the cluster configuration data to all\n  affected nodes.  This is an asynchronous process.", "stderr_lines": ["mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...", "mmchlicense: Lock creation successful.", "mmchlicense: Command successfully completed", "mmchlicense: Propagating the cluster configuration data to all", "  affected nodes.  This is an asynchronous process."], "stdout": "\nThe following nodes will be designated as possessing server licenses:\n\tscale-test3.domain.com\n\tscale-test2.domain.com\n\tscale-test1.domain.com\n\tscale-test4.domain.com", "stdout_lines": ["", "The following nodes will be designated as possessing server licenses:", "\tscale-test3.domain.com", "\tscale-test2.domain.com", "\tscale-test1.domain.com", "\tscale-test4.domain.com"]}
changed: [scale-test3 -> scale-test1.domain.com] => {"changed": true, "cmd": ["/usr/lpp/mmfs/bin/mmchlicense", "server", "--accept", "-N", "scale-test1.domain.com,scale-test2.domain.com,scale-test3.domain.com,scale-test4.domain.com"], "delta": "0:00:14.149134", "end": "2020-10-06 21:30:33.674898", "rc": 0, "start": "2020-10-06 21:30:19.525764", "stderr": "mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...\nmmchlicense: Lock creation successful.\nmmchlicense: Command successfully completed\nmmchlicense: Propagating the cluster configuration data to all\n  affected nodes.  This is an asynchronous process.", "stderr_lines": ["mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...", "mmchlicense: Lock creation successful.", "mmchlicense: Command successfully completed", "mmchlicense: Propagating the cluster configuration data to all", "  affected nodes.  This is an asynchronous process."], "stdout": "\nThe following nodes will be designated as possessing server licenses:\n\tscale-test3.domain.com\n\tscale-test2.domain.com\n\tscale-test1.domain.com\n\tscale-test4.domain.com", "stdout_lines": ["", "The following nodes will be designated as possessing server licenses:", "\tscale-test3.domain.com", "\tscale-test2.domain.com", "\tscale-test1.domain.com", "\tscale-test4.domain.com"]}
changed: [scale-test4 -> scale-test1.domain.com] => {"changed": true, "cmd": ["/usr/lpp/mmfs/bin/mmchlicense", "server", "--accept", "-N", "scale-test1.domain.com,scale-test2.domain.com,scale-test3.domain.com,scale-test4.domain.com"], "delta": "0:00:20.183470", "end": "2020-10-06 21:30:39.708990", "rc": 0, "start": "2020-10-06 21:30:19.525520", "stderr": "mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...\nmmchlicense: Lock creation successful.\nmmchlicense: Command successfully completed\nmmchlicense: Propagating the cluster configuration data to all\n  affected nodes.  This is an asynchronous process.", "stderr_lines": ["mmchlicense: The main GPFS cluster configuration file is locked.  Retrying ...", "mmchlicense: Lock creation successful.", "mmchlicense: Command successfully completed", "mmchlicense: Propagating the cluster configuration data to all", "  affected nodes.  This is an asynchronous process."], "stdout": "\nThe following nodes will be designated as possessing server licenses:\n\tscale-test3.domain.com\n\tscale-test2.domain.com\n\tscale-test1.domain.com\n\tscale-test4.domain.com", "stdout_lines": ["", "The following nodes will be designated as possessing server licenses:", "\tscale-test3.domain.com", "\tscale-test2.domain.com", "\tscale-test1.domain.com", "\tscale-test4.domain.com"]}

olemyk avatar Oct 06 '20 19:10 olemyk