Last Modified: Apr 28, 2025
Affected Product(s):
BIG-IQ Platform
Opened: Feb 13, 2019 Severity: 3-Major
During upgrade, if a device is PENDING or UNDISCOVERED rather then ACTIVE, device upgrade will fail and throw a TypeError: Cannot call method 'split' of undefined
Upgrade Failure
This issue occurs during an upgrade when there is/are Device(s) that do not have a valid Active Software Version. This can happen when the device is in either a Pending or Undiscovered state. Other conditions may apply.
Rollback to previous version, remove the affected device(s), upgrade and then add the device back in as needed. Use the following commands to find the affected IDs and group: 1) mongo bigiqDb 2) at the bigiq0:PRIMARY> prompt, past the following: db.bigiqLiveObjects.find({"_value.kind":"shared:resolver:device-groups:restdeviceresolverdevicestate","_value.version":null}, {"_value.groupName":1, "_value.address":1, "_value.state":1,"_value.uuid":1}).pretty() 3) For each uuid listed, identify all of the device groups that contain that uuid using the following query substituting <uuid> with the appropriate uuid: db.bigiqLiveObjects.find({"_value.kind":"shared:resolver:device-groups:restdeviceresolverdevicestate","_value.uuid":"<uuid>"}, {"_value.groupName":1,"_value.uuid":1}).pretty() 4) quit() From the output in step 3 you should be able to remove all of the offending entries using restcurl: restcurl -X DELETE /shared/resolver/device-groups/<_value.groupName>/devices/<_value.uuid>
None