{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7852","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7852/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7852/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7852/events","html_url":"https://github.com/ManageIQ/manageiq/pull/7852","id":147323585,"number":7852,"title":"Openshift deployment automation provision","user":{"login":"alongoldboim","id":11405684,"avatar_url":"https://avatars.githubusercontent.com/u/11405684?v=3","gravatar_id":"","url":"https://api.github.com/users/alongoldboim","html_url":"https://github.com/alongoldboim","followers_url":"https://api.github.com/users/alongoldboim/followers","following_url":"https://api.github.com/users/alongoldboim/following{/other_user}","gists_url":"https://api.github.com/users/alongoldboim/gists{/gist_id}","starred_url":"https://api.github.com/users/alongoldboim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongoldboim/subscriptions","organizations_url":"https://api.github.com/users/alongoldboim/orgs","repos_url":"https://api.github.com/users/alongoldboim/repos","events_url":"https://api.github.com/users/alongoldboim/events{/privacy}","received_events_url":"https://api.github.com/users/alongoldboim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-11T05:56:07Z","updated_at":"2016-04-12T10:33:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/7852","html_url":"https://github.com/ManageIQ/manageiq/pull/7852","diff_url":"https://github.com/ManageIQ/manageiq/pull/7852.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/7852.patch"},"body":"depends on : #7021 "},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/208839031","html_url":"https://github.com/ManageIQ/manageiq/pull/7852#issuecomment-208839031","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7852","id":208839031,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T10:33:06Z","updated_at":"2016-04-12T10:33:06Z","body":"<rubocop />Checked commits https://github.com/alongoldboim/manageiq/compare/1626359b0b72e8fbe105ccbc64b12ca31886150e~...949be6c08d14936b530e8350ec41d466ded85e69 with ruby 2.2.3, rubocop 0.37.2, and haml-lint 0.16.1\n10 files checked, 24 offenses detected\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/add_provider.rb**\n- [ ] :small_blue_diamond: - [Line 24](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/add_provider.rb#L24), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for add_provider is too high. [54.17/15]\n- [ ] :small_blue_diamond: - [Line 24](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/add_provider.rb#L24), Col 1 - [Metrics/MethodLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/MethodLength) - Method has too many lines. [31/25]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/analyze_deployment.rb**\n- [ ] :small_blue_diamond: - [Line 1](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/analyze_deployment.rb#L1), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for analyze_deployment is too high. [113.3/15]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/check_ssh.rb**\n- [ ] :small_blue_diamond: - [Line 12](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/check_ssh.rb#L12), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for check_ssh is too high. [46.67/15]\n- [ ] :small_blue_diamond: - [Line 12](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/check_ssh.rb#L12), Col 1 - [Metrics/MethodLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/MethodLength) - Method has too many lines. [30/25]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/create_ansible_inventory.rb**\n- [ ] :small_blue_diamond: - [Line 6](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/create_ansible_inventory.rb#L6), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for create_ansible_inventory_file is too high. [27.93/15]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb**\n- [ ] :large_orange_diamond: - [Line 47](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L47), Col 95 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :small_blue_diamond: - [Line 22](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L22), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [183/120]\n- [ ] :small_blue_diamond: - [Line 35](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L35), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for assign_vms_to_deployment_nodes is too high. [30.27/15]\n- [ ] :small_blue_diamond: - [Line 36](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L36), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [133/120]\n- [ ] :small_blue_diamond: - [Line 47](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L47), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [149/120]\n- [ ] :small_blue_diamond: - [Line 54](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L54), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for subscribe_if_rhel is too high. [33.78/15]\n- [ ] :small_blue_diamond: - [Line 88](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L88), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for wait_for_ip_adresses is too high. [26.94/15]\n- [ ] :small_blue_diamond: - [Line 110](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/post_provision.rb#L110), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [152/120]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb**\n- [ ] :small_blue_diamond: - [Line 4](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L4), Col 124 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [131/120]\n- [ ] :small_blue_diamond: - [Line 14](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L14), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for ssh_exec! is too high. [19.24/15]\n- [ ] :small_blue_diamond: - [Line 14](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L14), Col 1 - [Metrics/MethodLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/MethodLength) - Method has too many lines. [27/25]\n- [ ] :small_blue_diamond: - [Line 49](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L49), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for pre_deployment is too high. [55.76/15]\n- [ ] :small_blue_diamond: - [Line 49](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L49), Col 1 - [Metrics/CyclomaticComplexity](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/CyclomaticComplexity) - Cyclomatic complexity for pre_deployment is too high. [8/6]\n- [ ] :small_blue_diamond: - [Line 49](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L49), Col 1 - [Metrics/MethodLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/MethodLength) - Method has too many lines. [41/25]\n- [ ] :small_blue_diamond: - [Line 49](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L49), Col 1 - [Metrics/PerceivedComplexity](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/PerceivedComplexity) - Perceived complexity for pre_deployment is too high. [9/7]\n- [ ] :small_blue_diamond: - [Line 59](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/pre_deployment.rb#L59), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [121/120]\n\n**db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb**\n- [ ] :large_orange_diamond: - [Line 19](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb#L19), Col 7 - [Style/MultilineOperationIndentation](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Style/MultilineOperationIndentation) - Align the operands of a condition in an `unless` statement spanning multiple lines.\n- [ ] :small_blue_diamond: - [Line 61](https://github.com/alongoldboim/manageiq/blob/949be6c08d14936b530e8350ec41d466ded85e69/db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb#L61), Col 1 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for provision is too high. [18.33/15]\n"}}