Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MiqException prefix to vm snapshot exceptions #16186

Merged
merged 1 commit into from
Oct 13, 2017

Conversation

agrare
Copy link
Member

@agrare agrare commented Oct 12, 2017

The MiqVm* exceptions need to be prefixed with MiqException::

[----] E, [2017-10-12T12:22:39.387424 #19551:2b22230730d0] ERROR -- : MIQ(MiqQueue#deliver) Message id: [611], Error: [uninitialized constant VmOrTemplate::Operations::Snapshot::MiqVmError]
[----] E, [2017-10-12T12:22:39.387587 #19551:2b22230730d0] ERROR -- : [NameError]: uninitialized constant VmOrTemplate::Operations::Snapshot::MiqVmError  Method:[block in method_missing]
[----] E, [2017-10-12T12:22:39.387650 #19551:2b22230730d0] ERROR -- : /home/agrare/workspace/redhat/manageiq/app/models/vm_or_template/operations/snapshot.rb:62:in `raw_remove_snapshot'
/home/agrare/workspace/redhat/manageiq/app/models/vm_or_template/operations/snapshot.rb:86:in `remove_snapshot'

https://bugzilla.redhat.com/show_bug.cgi?id=1501306

The MiqVm* exceptions need to be prefixed with MiqException::

```
[----] E, [2017-10-12T12:22:39.387424 ManageIQ#19551:2b22230730d0] ERROR -- : MIQ(MiqQueue#deliver) Message id: [611], Error: [uninitialized constant VmOrTemplate::Operations::Snapshot::MiqVmError]
[----] E, [2017-10-12T12:22:39.387587 ManageIQ#19551:2b22230730d0] ERROR -- : [NameError]: uninitialized constant VmOrTemplate::Operations::Snapshot::MiqVmError  Method:[block in method_missing]
[----] E, [2017-10-12T12:22:39.387650 ManageIQ#19551:2b22230730d0] ERROR -- : /home/agrare/workspace/redhat/manageiq/app/models/vm_or_template/operations/snapshot.rb:62:in `raw_remove_snapshot'
/home/agrare/workspace/redhat/manageiq/app/models/vm_or_template/operations/snapshot.rb:86:in `remove_snapshot'
```

https://bugzilla.redhat.com/show_bug.cgi?id=1501306
@miq-bot
Copy link
Member

miq-bot commented Oct 12, 2017

Checked commit agrare@e9ab821 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@chessbyte chessbyte assigned chessbyte and unassigned blomquisg Oct 13, 2017
@chessbyte chessbyte merged commit cfe8257 into ManageIQ:master Oct 13, 2017
@chessbyte chessbyte added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 13, 2017
@agrare agrare deleted the bz_1501306_vm_snapshot_exceptions branch October 13, 2017 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants