| Summary: | Failure to collect metrics on Azure instances created from uploaded image | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | jritenou |
| Component: | C&U Capacity and Utilization | Assignee: | Daniel Berger <dberger> |
| Status: | CLOSED WORKSFORME | QA Contact: | Jeff Teehan <jteehan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7.0 | CC: | dberger, jhardy, jritenou, jteehan, obarenbo |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | azure:c&u | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-08 19:29:20 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: | |
| Attachments: | |||
Jeff, can you would with Nandini to try and reproduce this one please The diagnostic section isn't relevant. You need to have the metrics collection enabled. If you go to your VM, about three items up from diagnostics is metrics. Try configuring it there. If you don't see metrics on the VM overview tab, they are not running. I thought that the "Metrics" blade item just displayed real time monitoring data and wasn't a configuration item? Nothing is checked there by default for instances I built from an uploaded image, or the market place. Metrics are visible in the vm overview tab on the Azure portal for the instance in question that is failing with "no metrics were captured" in CFME. I'm attaching a couple screenshots to confirm I am looking at the right "metrics" component in the Azure portal. Created attachment 1217474 [details]
Screenshot of "metrics" item in azure portal
Created attachment 1217475 [details]
Screenshot of VM overview for instance unable to collect metrics info in CF
I'm doing all the C&U troubleshooting on https://10.16.7.76 I'll make sure it stays running for a while. @jritenou, Please tell us more about the private image. Is it Windows or Linux? Is this the OS Disk or did you attach it as a data disk? What was the command that you used to upload the image? Either the powershell or CLI command? Also, is the storage account that you're uploading the image to in the same resource group and/or region as the VM? I'm reasonably sure this doesn't have anything to do with private vs marketplace images. Will work with DanB on the diags storage logic PR. In the meantime, if you want to check your marketplace vm diags settings and then try to replicate those on your private image VM, maybe that will be a workaround. It is also possible that if you change the diags storage it isn't updating. I'm working on a new suite of test cases to track all these possibilites. Separating the Vm storage location from the diags storage location had no effect for me. It still works. I'm out of ideas without seeing the authors environment. Per informal agreement, we're going to close this as works for me. I'm quite happy to sit in on a bluejeans call and take a look at the users environment and check for obvious issues. |
Created attachment 1216215 [details] EVM log from local appliance - cf-metrics-test is working example instance name, jr-azuredemo is non-working example. Description of problem: Testing expanded Azure metrics collection in CFME 4.2 beta, I found I can get metrics info from instances created from Azure marketplace images without issue. On VMs created from a custom/uploaded image, however, CFME fails to capture metrics data. Basic metrics logging is enabled for instance, and Azure portal shows metrics info. Version-Release number of selected component (if applicable): 5.7.0.7.1 How reproducible: Seems to occur with any image I have created by uploading a local disk. I have not tried deallocating a marketplace spawned VM, converting to an image, and creating a VM from that Steps to Reproduce: 1. Upload custom disk to Azure using Azure CLI or powershell 2. Create VM & enable basic metrics under diagnostic settings 3. Wait for CFME to gather metrics information Actual results: Metrics collection fails with "no metrics were captured" for instance in evm.log Expected results: Metrics data gathered & visible in UI. Additional info: