{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9325","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9325/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9325/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9325/events","html_url":"https://github.com/ManageIQ/manageiq/pull/9325","id":161462053,"number":9325,"title":"Move boot_with_cloudinit logic from provision to rhevm vm","user":{"login":"bdunne","id":651659,"avatar_url":"https://avatars.githubusercontent.com/u/651659?v=3","gravatar_id":"","url":"https://api.github.com/users/bdunne","html_url":"https://github.com/bdunne","followers_url":"https://api.github.com/users/bdunne/followers","following_url":"https://api.github.com/users/bdunne/following{/other_user}","gists_url":"https://api.github.com/users/bdunne/gists{/gist_id}","starred_url":"https://api.github.com/users/bdunne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdunne/subscriptions","organizations_url":"https://api.github.com/users/bdunne/orgs","repos_url":"https://api.github.com/users/bdunne/repos","events_url":"https://api.github.com/users/bdunne/events{/privacy}","received_events_url":"https://api.github.com/users/bdunne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/darga/yes","name":"darga/yes","color":"000000"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/providers/rhevm","name":"providers/rhevm","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/provisioning","name":"provisioning","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"gmcculloug","id":2591569,"avatar_url":"https://avatars.githubusercontent.com/u/2591569?v=3","gravatar_id":"","url":"https://api.github.com/users/gmcculloug","html_url":"https://github.com/gmcculloug","followers_url":"https://api.github.com/users/gmcculloug/followers","following_url":"https://api.github.com/users/gmcculloug/following{/other_user}","gists_url":"https://api.github.com/users/gmcculloug/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcculloug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcculloug/subscriptions","organizations_url":"https://api.github.com/users/gmcculloug/orgs","repos_url":"https://api.github.com/users/gmcculloug/repos","events_url":"https://api.github.com/users/gmcculloug/events{/privacy}","received_events_url":"https://api.github.com/users/gmcculloug/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-06-21T15:06:32Z","updated_at":"2016-06-21T15:17:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9325","html_url":"https://github.com/ManageIQ/manageiq/pull/9325","diff_url":"https://github.com/ManageIQ/manageiq/pull/9325.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/9325.patch"},"body":"In some cases during a provision, the provisioner does not want to use the\r\nautostart destination logic of the provisioning state machine. Unfortunately\r\nfor rhevm vms, we need to set use_cloud_init = true when booting for the\r\ncloud-init data to be attached. So we move this logic to the vm istelf by\r\nsetting a custom attribute on the vm, then modifying the raw_start method\r\nto check for the custom attribute and conditionally set the flag and remove\r\nthe custom attribute.\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1348614"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/227473460","html_url":"https://github.com/ManageIQ/manageiq/pull/9325#issuecomment-227473460","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9325","id":227473460,"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-06-21T15:17:58Z","updated_at":"2016-06-21T15:17:58Z","body":"<rubocop />Checked commit https://github.com/bdunne/manageiq/commit/d17f96468ee213076862890b67d46a2e5f46cdbf with ruby 2.2.4, rubocop 0.37.2, and haml-lint 0.16.1\n3 files checked, 2 offenses detected\n\n**app/models/manageiq/providers/redhat/infra_manager/provision/state_machine.rb**\n- [ ] :small_blue_diamond: - [Line 48](https://github.com/bdunne/manageiq/blob/d17f96468ee213076862890b67d46a2e5f46cdbf/app/models/manageiq/providers/redhat/infra_manager/provision/state_machine.rb#L48), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [128/120]\n\n**spec/models/manageiq/providers/redhat/infra_manager/provision/state_machine_spec.rb**\n- [ ] :small_blue_diamond: - [Line 9](https://github.com/bdunne/manageiq/blob/d17f96468ee213076862890b67d46a2e5f46cdbf/spec/models/manageiq/providers/redhat/infra_manager/provision/state_machine_spec.rb#L9), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [183/120]\n"}}
{"actor":{"display_login":"miq-bot"}}