internal tosca definitions overwrite custom definitions

Bug #1883562 reported by Валерия Валерьевна Швецова
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TOSCA Parser
New
Undecided
Unassigned

Bug Description

The user can't make any changes in OpenStack TOSCA definition, for example of tosca.nodes.Compute type.

The template example isn't working, but is expected to be successfully validated

tosca_definitions_version: tosca_simple_yaml_1_0

capability_types:
  tosca.capabilities.Endpoint:
    description: > <...>
    derived_from: tosca.capabilities.Root
    properties:
      protocol:
        type: string
        required: true
        default: tcp
      port:
        type: string
        required: false
      <...>

topology_template:
  node_templates:
    server_kube_master:
      type: tosca.nodes.Compute
      capabilities:
        endpoint:
          properties:
            protocol: tcp
            port: "{{ port }}"
            initiator: target
          attributes:
            ip_address: 0.0.0.0

information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Валерия Валерьевна Швецова (versus-vv) wrote :

Yasufumi Ogawa, I have proposed some changes for this bug (https://review.opendev.org/#/c/735623/) and wait for reviewer.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tosca-parser 2.4.0

This issue was fixed in the openstack/tosca-parser 2.4.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.