| Summary: | [Beta 1] When provisioning a VM Notification and Service>Request are not in Sync | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Loic Avenel <lavenel> | ||||
| Component: | Provisioning | Assignee: | Tina Fitzgerald <tfitzger> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.7.0 | CC: | cpelland, dajohnso, gmccullo, jhardy, obarenbo | ||||
| Target Milestone: | GA | Keywords: | TestOnly | ||||
| Target Release: | 5.8.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | notification:service | ||||||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1397076 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-06-12 16:32:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1397076 | ||||||
| Attachments: |
|
||||||
|
Description
Loic Avenel
2016-10-27 12:37:32 UTC
Created attachment 1214585 [details]
Screenshot
This is currently working as designed as the notifications are being driven off of the events. The vm_provisioned event is raised once the VM is created on the provider but before post-provisioning is complete. Tina is looking into possible changes to notifications to improve the messaging. My concern here is: if something breaks in post-provision.. the provisioning with fails but the notification will give the impression it worked ok. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/89ddb9ca803916a4d99d9562eaebc9a730735a92 commit 89ddb9ca803916a4d99d9562eaebc9a730735a92 Author: Tina Fitzgerald <tfitzger> AuthorDate: Thu Nov 3 15:37:38 2016 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Fri Nov 18 15:47:42 2016 -0500 Renamed vm_provisioned and service_provisioned notification_types to prevent them from being used for events. Add notification in task_finished common method. https://bugzilla.redhat.com/show_bug.cgi?id=1389312 .../StateMachineMethods.class/__methods__/task_finished.rb | 2 ++ db/fixtures/notification_types.yml | 4 ++-- spec/automation/unit/method_validation/task_finished_spec.rb | 10 ++++++++-- spec/lib/miq_automation_engine/miq_ae_service_spec.rb | 4 ++-- spec/models/notification_spec.rb | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) Correct order is shown in 5.8.0.10-beta1.20170411212748_e47d319. Request approved , VM provisioned, Service Provisioned. |