Error raised when stack-create

Bug #1691355 reported by huangtianhua
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
huangtianhua

Bug Description

1. create a stack with template:
*****************************
heat_template_version: ocata
resources:
  my_rbac:
    type: OS::Neutron::RBACPolicy
    properties:
      object_type: network
      action: access_as_shared
      object_id: {get_resource: my_net}
      target_tenant: 8dcdb07e7bb94bd5bb8bce4e78dd3045
  my_net:
    type: OS::Neutron::Net
2. the stack create failed;
root@hth:/usr/hth# heat stack-create -f rbac.yaml s4
WARNING (shell) "heat stack-create" is deprecated, please use "openstack stack create" instead
ERROR: Multiple network matches found for name '', use an ID to be more specific.

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
importance: Undecided → High
milestone: none → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/465471

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/465471
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=5bfca467514d07a1ca41539bc1e48ce04318c2b9
Submitter: Jenkins
Branch: master

commit 5bfca467514d07a1ca41539bc1e48ce04318c2b9
Author: huangtianhua <email address hidden>
Date: Wed May 17 16:54:03 2017 +0800

    Fix validate() of rbac resource

    Rbac can not be create if property 'object_id' is
    reference with other resource, a validation error
    raised when the reference resource not created yet.
    This change will fix that.

    Change-Id: I30c1cbf139ef1e94cc168730750e5af03d55d957
    Closes-Bug: #1691355

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 9.0.0.0b2

This issue was fixed in the openstack/heat 9.0.0.0b2 development milestone.

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.