{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17054","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17054/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17054/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17054/events","html_url":"https://github.com/ManageIQ/manageiq/pull/17054","id":300407119,"number":17054,"title":"Fix rake `evm:status` and `evm:status_full`","user":{"login":"NickLaMuro","id":314014,"avatar_url":"https://avatars0.githubusercontent.com/u/314014?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLaMuro","html_url":"https://github.com/NickLaMuro","followers_url":"https://api.github.com/users/NickLaMuro/followers","following_url":"https://api.github.com/users/NickLaMuro/following{/other_user}","gists_url":"https://api.github.com/users/NickLaMuro/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLaMuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLaMuro/subscriptions","organizations_url":"https://api.github.com/users/NickLaMuro/orgs","repos_url":"https://api.github.com/users/NickLaMuro/repos","events_url":"https://api.github.com/users/NickLaMuro/events{/privacy}","received_events_url":"https://api.github.com/users/NickLaMuro/received_events","type":"User","site_admin":false},"labels":[{"id":106615676,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-26T21:42:33Z","updated_at":"2018-02-27T03:37:56Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/17054","html_url":"https://github.com/ManageIQ/manageiq/pull/17054","diff_url":"https://github.com/ManageIQ/manageiq/pull/17054.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/17054.patch"},"body":"After a botched rebase (allegedly), the evm status commands became unusable since the scope for the `mb_usage` and `mb_threshold` was in the incorrect block.\n\nThis fixes that, as well as adds some tests to make this quicker to catch instead of letting our users find out for themselves.\n\n\nLinks\n-----\n* Offending PR:  https://github.com/ManageIQ/manageiq/pull/17016\n\n\nSteps for Testing/QA\n--------------------\n\nConfirm we aren't crazy by trying to run `rake evm:status` on master, then checkout these changes and do the same."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/368736780","html_url":"https://github.com/ManageIQ/manageiq/pull/17054#issuecomment-368736780","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17054","id":368736780,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars1.githubusercontent.com/u/7806257?v=4","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":"2018-02-27T03:37:56Z","updated_at":"2018-02-27T03:37:56Z","author_association":"MEMBER","body":"<rubocop />Checked commit https://github.com/NickLaMuro/manageiq/commit/5b40504b932d93b968fed30aa3d4e129c7924ed7 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0\n2 files checked, 43 offenses detected\n\n**spec/lib/tasks/evm_application_spec.rb**\n- [ ] :exclamation: - [Line 23](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L23), Col 11 - [Performance/StringReplacement](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Performance/StringReplacement) - Use `tr` instead of `gsub`.\n- [ ] :exclamation: - [Line 36](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L36), Col 87 - [Style/NumericLiterals](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Style/NumericLiterals) - Use underscores(_) as decimal mark and separate every 3 digits with them.\n- [ ] :exclamation: - [Line 58](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L58), Col 78 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 59](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L59), Col 14 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 59](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L59), Col 78 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 121 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 14 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 144 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 159 - [Layout/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 41 - [Layout/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 47 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 60](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L60), Col 57 - [Layout/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :exclamation: - [Line 63](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L63), Col 104 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 63](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L63), Col 44 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 63](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L63), Col 70 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 64](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L64), Col 104 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 64](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L64), Col 44 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 64](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L64), Col 70 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 65](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L65), Col 44 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 65](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L65), Col 70 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 88](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L88), Col 78 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 89](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L89), Col 14 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 89](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L89), Col 78 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 90](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L90), Col 122 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 90](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L90), Col 14 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 90](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L90), Col 145 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 90](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L90), Col 47 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 90](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L90), Col 78 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 91](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L91), Col 14 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 91](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L91), Col 145 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 91](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L91), Col 47 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 94](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L94), Col 100 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 94](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L94), Col 135 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 94](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L94), Col 73 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 95](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L95), Col 100 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 95](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L95), Col 135 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 95](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L95), Col 73 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 96](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L96), Col 100 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 96](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L96), Col 135 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 96](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L96), Col 73 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 97](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L97), Col 100 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 97](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L97), Col 135 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n- [ ] :exclamation: - [Line 97](https://github.com/NickLaMuro/manageiq/blob/5b40504b932d93b968fed30aa3d4e129c7924ed7/spec/lib/tasks/evm_application_spec.rb#L97), Col 73 - [Layout/SpaceInsideStringInterpolation](http://rubydoc.info/gems/rubocop/0.52.0/RuboCop/Cop/Layout/SpaceInsideStringInterpolation) - Space inside string interpolation detected.\n"}}
{"actor":{"display_login":"miq-bot"}}