Error "IP ALLOCATE failed: Action run failed with the following error: "module 'collections' has no attribute 'MutableMapping'"
search cancel

Error "IP ALLOCATE failed: Action run failed with the following error: "module 'collections' has no attribute 'MutableMapping'"

book

Article ID: 369585

calendar_today

Updated On: 04-12-2025

Products

VMware Aria Suite

Issue/Introduction

  • When provisioning IP addresses using Infoblox version < 1.5.1, an error message is produced: Action run failed with the following error: "module 'collections' has no attribute 'MutableMapping'"
  • Data collection for Infoblox integration also fails with these messages in provisioning-service-app.log
    2025-02-10T11:26:44.086Z ERROR provisioning [host='provisioning-service-app-uuid' thread='reactor-http-epoll-8' user='' org='' trace='' parent='' span=''] c.v.a.i.e.IpamEnumerationAdapterService.lambda$handleRequest$1:42 - Error while enumerate EnumerateContext[resourceReference=http://provsioning_POD_ip:8282/resources/compute/5d8ef3ce-a6f3-4585-a59a-2a7266107f64, service=IpamEnumeration
    AdapterService[uri=http://provsioning_POD_ip:8282/provisioning/adapter/ipam/endpoint-enumeration], adapterOperation=Operation[id=6512704, uri=http://provisioning-service.prelude.svc.cluster.local:8282/provisioning/adapter/ipam/endpoint-enumeration, referer=http://provsioning_POD_ip:8282/provisioning/resource-enumeration-tasks/uuid], error=null]
            java.util.concurrent.CompletionException: com.vmware.admiral.ipam.controller.exception.ActionRunFailedException: Execution of action Infoblox_GetIPBlocks failed on provider side: Action run failed with the following error: "module 'collections' has no attribute 'MutableMapping'"
  • Validating the Integration may also fail with the same error: java.util.concurrent.CompletionException: com.vmware.admiral.ipam.controller.exception.ActionRunFailedException: Execution of action Infoblox_GetIPBlocks failed on provider side: Action run failed with the following error: "module 'collections' has no attribute 'MutableMapping'"

Environment

VMware Aria Automation 8.x and Infoblox plugin version < 1.5.1

Cause

Python upgrade from 3.7 for Aria Automation is covered in release notes.

 

Resolution

  • Upgrade Infoblox plugin to version 1.5.2
  • Update of the Infoblox IPAM provider package to 1.5.2 for Aria Automation in case Infoblox is integrated.
  • Follow below steps to update the package.
       
    1. Go to integrations and select the IPAM integration with Infoblox.
    2. Select manage ipam providers
    3. Upload the 1.5.2 package
    4. It will ask if you want to upgrade to 1.5.2
    5. Select yes.
    6. In the integration provide the password
    7. Click validate
    8. Click save
     

Additional Information

https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping