Validating a stack fails as one nested stack can't find an id from another

Bug #1799006 reported by Brett Osteen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
High
Brett Osteen

Bug Description

Upstream bug report.

In this example, a parent stack is creating a subnet in one nested stack and a loadbalancer in another:

resources:

  network:
    type: Test::Network

  load_balancer:
    type: Test::LoadBalancer
    properties:
      private_subnet: {get_attr: [network, private_subnet_id]}
    depends_on: network

Validation will fail in this case (and stack will not start creating) with this error:

RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "Failed to validate: : resources.load_balancer: : At least one of the following properties must be specified: subnet, subnet_id", "traceback": null, "type": "StackValidationFailed"}, "title": "Bad Request"}

This was tested on version 0.8.0 and it was working on previous versions (I'm using the same templates for the past 2 major openstack versions)

tags: added: customer-found
tags: added: support
description: updated
tags: added: ct2
Revision history for this message
Javier Diaz Jr (javierdiazcharles) wrote :
Changed in mos:
assignee: nobody → Oleksiy Molchanov (omolchanov)
milestone: none → 9.x-updates
importance: Undecided → High
status: New → In Progress
Changed in mos:
status: In Progress → Confirmed
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Brett, is this procedure somehow documented in Mirantis' docs?

Changed in mos:
assignee: Oleksiy Molchanov (omolchanov) → Brett Osteen (brett8528c)
Changed in mos:
status: Confirmed → Incomplete
Revision history for this message
Josue Palmerin (jpalmerin) wrote :

@oleksiy Is there any updates on this issue? Can you please give some explanation as to why it was moved to incomplete?

Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

All the patches are already present in 9.2

Changed in mos:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.