Loading...
Loading...
After Quebec Patch 7, and having migrated from CAPI to Pattern, VM Instance states can be incorrectly updated to 'terminated', and status updated to 'retired', event though the VMs are still active. Steps to Reproduce 1. Login a Quebec patch 7-9 or a Rome patch 0-3 instance 2. Have an Azure Account and make sure it has many VM Instances 3. Configure Cloud discovery for the Above Service account 4. Migrate CAPI to Pattern if still using CAPI 5. Run the Cloud Discovery schedule 6. Run the schedule multiple times and observe that the VMs state flaps
This problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to. If an upgrade is not possible, the workaround will basically revert PRB1441833/KB0862872, so instances on early Quebec or early Rome may encounter PRB1441833 after this workaround: 1. Edit 'Horizontal Discovery Sensor' /nav_to.do?uri=discovery_sensor.do?sys_id=2f32f7899f230200fe2ab0aec32e706a 2. Change lines 75 - 80 FROM: //===================== // PRB1441833: Calling isPagingComplete here to accomplish the following // 1) Check if multipaging is complete // 2) Verify that we ran this function call for updateCounts function if (!resultHandler.isPagingComplete()) this.multipagingIncomplete = true; this.ranPagingComplete = true; //===================== TO: //===================== /** CSTASK260546 Workaround // PRB1441833: Calling isPagingComplete here to accomplish the following // 1) Check if multipaging is complete // 2) Verify that we ran this function call for updateCounts function if (!resultHandler.isPagingComplete()) this.multipagingIncomplete = true; this.ranPagingComplete = true; **/ //===================== 3. Change lines 537 - 548 (527 - 538 for Rome) FROM: //===================== // PRB1441833: Typically called from DiscoverySensor, modifying behavior here // so that we only update counts once multipaging is complete (or if just single page) updateCounts: function() { if (!this.multipagingIncomplete && this.ranPagingComplete) this.updateDeviceCount(); else if (!this.ranPagingComplete) { // This is only ran if we somehow reached here without ever running the isPagingComplete function var resultHandler = new SNC.HorizontalDiscoveryResultHandler(g_probe, g_device, this.type, this.getEccQueueId()); if (resultHandler.isPagingComplete()) this.updateDeviceCount(); } }, //===================== TO: //===================== /** CSTASK260546 Workaround // PRB1441833: Typically called from DiscoverySensor, modifying behavior here // so that we only update counts once multipaging is complete (or if just single page) updateCounts: function() { if (!this.multipagingIncomplete && this.ranPagingComplete) this.updateDeviceCount(); else if (!this.ranPagingComplete) { // This is only ran if we somehow reached here without ever running the isPagingComplete function var resultHandler = new SNC.HorizontalDiscoveryResultHandler(g_probe, g_device, this.type, this.getEccQueueId()); if (resultHandler.isPagingComplete()) this.updateDeviceCount(); } }, **/ //=====================
PRB1541731
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.