Reply

The action is not allowed. A parent was not found

Techie
Posts: 5
2404     0

Hi All,

 

Getting this error message

{ "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:The action is not allowed. A parent was not found.)",
"code": "Client.Ibap.Data.Conflict",
"text": "The action is not allowed. A parent was not found."

 

Any clue what went wrong? However, the I set DNS to FALSE (configure_for_dns=false) it works. But I need the DNS set to TRUE. 

Any work around? is it possible to select the zone manually via WAPI? Instead of put it this way  "name": "test.test.loc"?

 

Cheers,

Sofia

Re: The action is not allowed. A parent was not found

Community Manager
Community Manager
Posts: 191
2404     0

It would be hard to understand without digging in further...  You are specifying that the host record has a DNS name, however the gridmaster cannot find a zone where that DNS name can be stored (either "test.loc" or "loc" would work).  You might have to specify the correct DNS veiew or network view so it's obvious where it should look for the zone.

Re: The action is not allowed. A parent was not found

Techie
Posts: 5
2404     0

Hi 

 

 

Re: The action is not allowed. A parent was not found

Member
Posts: 1
2404     0

Hello All,

 

I am trying create a host via REST API, using json format. My infoblox version is 8.0.6.

 

When a sent a POST  https://infoblox.domain.net/wapi/v1.2/record:host

 

The json content: 

 

{
"name":"host001.des.domain.net",
"ipv4addrs": [
{
"ipv4addr":"10.1.1.1"
}
]
}

 

The DNS domain des.domain.net exist, however I receive the same error:  

 

{
"Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:The action is not allowed. A parent was not found.)",
"code": "Client.Ibap.Data.Conflict",
"text": "The action is not allowed. A parent was not found."
}

 

 

 

Re: The action is not allowed. A parent was not found

Community Manager
Community Manager
Posts: 191
2404     0

As mentioned above, you should define the dns view so you know where it lands.  Also define whether or not it should be used for DHCP.  If it is used for DHCP, that DHCP network must also be defined.

 

For example,

 

{ "name": "host001.des.domain.net",
  "view": "Internal",
  "ipv4addrs": [  {"ipv4addr": "10.1.1.1",  "configure_for_dhcp": false} ]
}

Re: The action is not allowed. A parent was not found

[ Edited ]
Not applicable
Posts: 3
2404     0

Facing a similar problem and not sure how to use network view.

 

curl -k -u admin:Infoblox -H 'content-type: application/json' -X POST "https://<IP>/wapi/v2.7/record:host?_return_fields=name,ipv4addrs&_return_as_object=1" -d '{"name":"host2.info.com","ipv4addrs":[{"ipv4addr":"172.26.1.20","mac":"aa:bb:cc:11:22:21"}],"network_view":"automationNV1"}'

 

{ "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:The action is not allowed. A parent was not found.)",

  "code": "Client.Ibap.Data.Conflict",

  "text": "The action is not allowed. A parent was not found."

}

Re: The action is not allowed. A parent was not found

Not applicable
Posts: 3
2404     0

Same problem with DHCP Range

{ "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Cannot find the parent network for the DHCP range 14.14.14.2 - 14.14.14.10.)",

  "code": "Client.Ibap.Data.Conflict",

  "text": "Cannot find the parent network for the DHCP range 14.14.14.2 - 14.14.14.10."

}

Re: The action is not allowed. A parent was not found

Community Manager
Community Manager
Posts: 191
2404     0

A network view is a complete compartmentalization of dns & dhcp data.  In order for a DNS-enabled host to be created, there must be a parent zone in that network view that can contain the host.  In order for the range to be created, there must be a parent network within that view that can contain the range.

Re: The action is not allowed. A parent was not found

[ Edited ]
Not applicable
Posts: 3
2404     0

Hi MRichard, thanks for the quick response. Can you please provide an example with curl? I really appreciate your help. Ths is what I've been trying:

 

curl -k -u admin:Infoblox -H 'content-type: application/json' -X POST "https://<IP>/wapi/v2.7/range?_return_fields=start_addr,end_addr,member&_return_as_object=1" -d '{"start_addr": “14.14.14.2","end_addr": “ 14.14.14.23","server_association_type": "MEMBER","member":{"_struct": "dhcpmember","ipv4addr" : “172.28.11.56"}}’

Re: The action is not allowed. A parent was not found

Posts: 5
2405     0

Hello, 

 

I created a new post because I get the exact same error even after configuring the view:

https://community.infoblox.com/t5/API-Integration/The-action-is-not-allowed-A-parent-was-not-found/m... 

 

Thanks

Showing results for 
Search instead for 
Did you mean: 

Recommended for You