Bug 1215812
Summary: | Calling prov.vm.scan is failing with uninitialized constant error | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
Component: | Automate | Assignee: | Lucy Fu <lufu> | |
Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.3.0 | CC: | cpelland, jhardy, mfalesni, mfeifer, mkanoor, obarenbo, tfitzger | |
Target Milestone: | GA | |||
Target Release: | 5.4.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1216139 (view as bug list) | Environment: | ||
Last Closed: | 2015-06-16 13:00:20 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1216139 |
Description
Josh Carter
2015-04-27 19:34:19 UTC
Lucy - The service model for VmScan is missing for automate. This model is sub-classed from the Job model which is already an automate service model. New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/b9ff1547539c0ff070d01d7ef1e52b5032ef1618 commit b9ff1547539c0ff070d01d7ef1e52b5032ef1618 Author: Lucy Fu <lufu> AuthorDate: Mon Apr 27 16:58:51 2015 -0400 Commit: Lucy Fu <lufu> CommitDate: Mon Apr 27 16:58:51 2015 -0400 Add service model for VmScan in to automate. https://bugzilla.redhat.com/show_bug.cgi?id=1215812 .../miq_automation_engine/service_models/miq_ae_service_vm_scan.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vmdb/lib/miq_automation_engine/service_models/miq_ae_service_vm_scan.rb New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=116ab4d6e44815eb1b88e5c76d1e9d9c8c372002 commit 116ab4d6e44815eb1b88e5c76d1e9d9c8c372002 Author: Lucy Fu <lufu> AuthorDate: Mon Apr 27 16:58:51 2015 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue Apr 28 11:12:33 2015 -0400 Add service model for VmScan in to automate. https://bugzilla.redhat.com/show_bug.cgi?id=1215812 .../miq_automation_engine/service_models/miq_ae_service_vm_scan.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vmdb/lib/miq_automation_engine/service_models/miq_ae_service_vm_scan.rb New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=47201d5b030f9c8b3750a6851f9cc5f468a9ae2c commit 47201d5b030f9c8b3750a6851f9cc5f468a9ae2c Merge: 2e04074 116ab4d Author: Greg McCullough <gmccullo> AuthorDate: Tue Apr 28 13:02:13 2015 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Tue Apr 28 13:02:13 2015 -0400 Merge branch 'expose_vm_scan_to_automate_1216139' into '5.3.z' Add service model for VmScan in to automate. https://bugzilla.redhat.com/show_bug.cgi?id=1215812 Upstream PR https://github.com/ManageIQ/manageiq/pull/2761 See merge request !38 .../miq_automation_engine/service_models/miq_ae_service_vm_scan.rb | 4 ++++ 1 file changed, 4 insertions(+) Verified in 5.4.0.1, I was able to launch vm scan from the automation model in postprovision step. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1100.html |