The HIDDEN properties are still showing up in heat resource-type-show

Bug #1599093 reported by Guoping Jia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Oleksii Chuprykov

Bug Description

Since Mitaka, several properties from some Heat resources, e.g, router_id & subnet_id in OS::Neutron::RouterInterface, have been changed into HIDDEN. However, the heat resource-type-show is still showing up those properties:

$ heat resource-type-show OS::Neutron::RouterInterface
{
  "support_status": {
    "status": "SUPPORTED",
    "message": null,
    "version": null,
    "previous_status": null
  },
  "attributes": {
    "show": {
      "type": "map",
      "description": "Detailed information about resource."
    }
  },
  "properties": {
    "router_id": { <-----
      "description": "ID of the router.",
      "required": false,
      "update_allowed": false,
      "type": "string",
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.router"
        }
      ]
    },
    "subnet": {
      "description": "The subnet, either subnet or port should be specified.",
      "required": false,
      "update_allowed": false,
      "type": "string",
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.subnet"
        }
      ]
    },
    "subnet_id": { <-----
      "type": "string",
      "required": false,
      "update_allowed": false,
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.subnet"
        }
      ]
    },
    "router": {
      "description": "The router.",
      "required": true,
      "update_allowed": false,
      "type": "string",
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.router"
        }
      ]
    },
    "port_id": {
      "description": "The port id, either subnet or port_id should be specified.",
      "required": false,
      "update_allowed": false,
      "type": "string",
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.port"
        }
      ]
    },
    "port": {
      "description": "The port, either subnet or port should be specified.",
      "required": false,
      "update_allowed": false,
      "type": "string",
      "immutable": false,
      "constraints": [
        {
          "custom_constraint": "neutron.port"
        }
      ]
    }
  },
  "resource_type": "OS::Neutron::RouterInterface"
}

Changed in heat:
status: New → Confirmed
assignee: nobody → Oleksii Chuprykov (ochuprykov)
Changed in heat:
importance: Undecided → Low
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/338300

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

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

commit fa33a1d4e3fbb77c7891324f29584f69e047849a
Author: Oleksii Chuprykov <email address hidden>
Date: Wed Jul 6 17:20:47 2016 +0300

    Do not show HIDDEN props in res type show

    Also do not display hidden attributes.

    Closes-Bug: #1599093

    Change-Id: I5fae1708c8140cd61436f80cdf595f05f4a2b2a4

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/340765

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/heat 7.0.0.0b2

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/mitaka)

Reviewed: https://review.openstack.org/340765
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=81ba9a6e6850ba7273e8f652a65affd38632b5c7
Submitter: Jenkins
Branch: stable/mitaka

commit 81ba9a6e6850ba7273e8f652a65affd38632b5c7
Author: Oleksii Chuprykov <email address hidden>
Date: Wed Jul 6 17:20:47 2016 +0300

    Do not show HIDDEN props in res type show

    Also do not display hidden attributes.

    Closes-Bug: #1599093

    Change-Id: I5fae1708c8140cd61436f80cdf595f05f4a2b2a4
    (cherry picked from commit fa33a1d4e3fbb77c7891324f29584f69e047849a)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 6.1.0

This issue was fixed in the openstack/heat 6.1.0 release.

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.