Red Hat Bugzilla – Bug 1463780
Smart state analysis on a running vm on Azure doesn't work
Last modified: 2017-12-18 19:18:07 EST
Description of problem:
When we launch a smart state analysis on a running vm on Azure, we are getting an error and the smart state analysis doesn't retrieve vm information. If we shutdown the vm, the smart state analysis works.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Launch a RHEL vm on Azure
2. In Cloudforms, launch a smart state analysis
The error we are getting is :
Unable to mount filesystem. Reason:[ <?xml version="1.0" encoding="utf-8"?> <Error><Code>SystemInUse</Code><Message>This blob is being used by the system. RequestId:33b30ab1-001c-0065-3098-eaba42000000 Time:2017-06-21T14:16:00.6238188Z</Message></Error> (cause: 409 Conflict) - https://mlessarddisks645.blob.core.windows.net/vhds/RHEL7320170621095236.vhd
This should run without any error
support fixing this issue. They are in the process of being reviewed.
The last PR above should be https://github.com/ManageIQ/manageiq/pull/15960
All PRs are merged. This fix will be back-ported to Fine and a Hotfix released.
Putting back to ON_DEV as new version of manageiq-smartstate gem needs to be released for this.
We also need to put similar wait functionality in for the blob snapshot as in the managed disk scenario. Testing now.
https://github.com/ManageIQ/manageiq/pull/15970 bumps the manageiq-smartstate gem version to 0.1.4. Not needed for FINE since that functionality lives in manageiq-gems-pending at that point. Already merged.
https://github.com/ManageIQ/manageiq-providers-azure/pull/125 has been pushed to add the wait functionality specified above. Waiting for review and merge.
New commit detected on ManageIQ/manageiq-providers-azure/master:
Author: Richard Oliveri <firstname.lastname@example.org>
AuthorDate: Fri Sep 15 16:36:34 2017 -0400
Commit: Richard Oliveri <email@example.com>
CommitDate: Fri Sep 15 16:36:34 2017 -0400
Changes to wait for snapshot completion.
Loosened check for success. Added debugging to help determine the problem.
app/models/manageiq/providers/azure/cloud_manager.rb | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Able to perform SSA on Power ON as well as Power OFF instance.
Verified Version: 22.214.171.124.20171127204214_e316988