{"action":"opened","issue":{"url":"https://api.github.com/repos/intel-hpdd/intel-manager-for-lustre/issues/346","repository_url":"https://api.github.com/repos/intel-hpdd/intel-manager-for-lustre","labels_url":"https://api.github.com/repos/intel-hpdd/intel-manager-for-lustre/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/intel-hpdd/intel-manager-for-lustre/issues/346/comments","events_url":"https://api.github.com/repos/intel-hpdd/intel-manager-for-lustre/issues/346/events","html_url":"https://github.com/intel-hpdd/intel-manager-for-lustre/issues/346","id":265638201,"number":346,"title":"fence_chroma Behaviour change in CentOS 7.4","user":{"login":"malk271","id":4723198,"avatar_url":"https://avatars0.githubusercontent.com/u/4723198?v=4","gravatar_id":"","url":"https://api.github.com/users/malk271","html_url":"https://github.com/malk271","followers_url":"https://api.github.com/users/malk271/followers","following_url":"https://api.github.com/users/malk271/following{/other_user}","gists_url":"https://api.github.com/users/malk271/gists{/gist_id}","starred_url":"https://api.github.com/users/malk271/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malk271/subscriptions","organizations_url":"https://api.github.com/users/malk271/orgs","repos_url":"https://api.github.com/users/malk271/repos","events_url":"https://api.github.com/users/malk271/events{/privacy}","received_events_url":"https://api.github.com/users/malk271/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-16T03:38:37Z","updated_at":"2017-10-16T03:38:37Z","closed_at":null,"author_association":"NONE","body":"### Description \r\n\r\nWhen trying to create the `st-fencing` STONITH resource in Pacemaker, the `pcs` command fails:\r\n\r\n```bash\r\n[root@ct68-mds1 ~]# pcs stonith create st-fencing fence_chroma\r\nError: required resource option 'port' is missing, use --force to override\r\n```\r\n\r\nThis is new behaviour, although the affected part of the code has not been changed recently. In previous releases of the OS, no additional parameters were required to set up the st-fencing resource.\r\n\r\nThe issue stems from the following XML fragment:\r\n\r\n```xml\r\n<parameters>\r\n    <parameter name=\"port\">\r\n        <getopt mixed=\"-p\" />\r\n        <content type=\"string\" />\r\n        <shortdesc lang=\"en\">Storage Server (machine name) to fence</shortdesc>\r\n    </parameter>\r\n    <parameter name=\"action\">\r\n        <getopt mixed=\"-o\" />\r\n        <content type=\"string\" />\r\n        <shortdesc lang=\"en\">Fencing action (%s)</shortdesc>\r\n    </parameter>\r\n    <parameter name=\"port\" unique=\"0\" required=\"1\">\r\n        <getopt mixed=\"-H, --plug=&lt;id&gt;\" />\r\n        <content type=\"string\" />\r\n        <shortdesc lang=\"en\">Storage Server (machine name) to fence</shortdesc>\r\n    </parameter>\r\n</parameters>\r\n```\r\n\r\nThe \"port\" parameter is defined twice, once without a mandatory requirement, and once with the mandatory requirement. It looks like the parsing of these parameters has changed between Pacemaker / PCS releases such that the second definition overrides the first.\r\n\r\n### Repro\r\n\r\n```bash\r\n[root@ct68-mds1 ~]# pcs stonith create st-fencing fence_chroma\r\nError: required resource option 'port' is missing, use --force to override\r\n```\r\n\r\n### Version\r\n\r\nWhat version of IML?\r\n\r\n4.0.0 RC1 (Oct 3 2017)\r\n\r\nWhat Operating System?\r\n\r\nCentOS\r\n\r\nWhat Operating System version?\r\n\r\n7.4\r\n"}}
{"actor":{"display_login":"malk271"}}