admin user can create tacker's resoure in Undefined projectId

Bug #1845295 reported by Hiroya Nakaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Won't Fix
Low
Yasufumi Ogawa

Bug Description

Tacker can create vnfd, vnf, ns and vnffg in Undefined project by admin user

The next is an example of creating vnfd in Undefined project

```
$ openstack vnf descriptor create --tenant-id aaaa --vnfd-file samples/tosca-templates/vnfd/tosca-vnfd-hello-world.yaml hello-world
+-----------------+-----------------------------------------------------------------------------+
| Field | Value |
+-----------------+-----------------------------------------------------------------------------+
| attributes | { |
| | "vnfd": { |
| | "tosca_definitions_version": "tosca_simple_profile_for_nfv_1_0_0", |
| | "description": "Demo example", |
| | "topology_template": { |
| | "node_templates": { |
| | "VDU1": { |
| | "type": "tosca.nodes.nfv.VDU.Tacker", |
| | "properties": { |
| | "image": "cirros-0.4.0-x86_64-disk", |
| | "mgmt_driver": "noop", |
| | "config": "param0: key1\nparam1: key2\n", |
| | "availability_zone": "nova" |
| | }, |
| | "capabilities": { |
| | "nfv_compute": { |
| | "properties": { |
| | "mem_size": "512 MB", |
| | "num_cpus": 1, |
| | "disk_size": "1 GB" |
| | } |
| | } |
| | } |
| | }, |
| | "VL2": { |
| | "type": "tosca.nodes.nfv.VL", |
| | "properties": { |
| | "vendor": "Tacker", |
| | "network_name": "net0" |
| | } |
| | }, |
| | "VL1": { |
| | "type": "tosca.nodes.nfv.VL", |
| | "properties": { |
| | "vendor": "Tacker", |
| | "network_name": "net_mgmt" |
| | } |
| | }, |
| | "CP1": { |
| | "type": "tosca.nodes.nfv.CP.Tacker", |
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL1" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_protection": false, |
| | "management": true, |
| | "order": 0 |
| | } |
| | }, |
| | "CP2": { |
| | "type": "tosca.nodes.nfv.CP.Tacker", |
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL2" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_protection": false, |
| | "order": 1 |
| | } |
| | }, |
| | "CP3": { |
| | "type": "tosca.nodes.nfv.CP.Tacker", |
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL3" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_protection": false, |
| | "order": 2 |
| | } |
| | }, |
| | "VL3": { |
| | "type": "tosca.nodes.nfv.VL", |
| | "properties": { |
| | "vendor": "Tacker", |
| | "network_name": "net1" |
| | } |
| | } |
| | } |
| | }, |
| | "metadata": { |
| | "template_name": "sample-tosca-vnfd" |
| | } |
| | } |
| | } |
| created_at | 2019-09-25 06:59:06.320273 |
| description | Demo example |
| id | 660f3b88-7226-4d0f-91ea-84c34d32ff08 |
| name | hello-world |
| project_id | aaaa |
| service_types | [u'vnfd'] |
| template_source | onboarded |
| updated_at | None |
+-----------------+-----------------------------------------------------------------------------+
```

Hiroya Nakaya (nakkay)
description: updated
Yasufumi Ogawa (yasufum)
Changed in tacker:
assignee: nobody → Yasufumi Ogawa (yasufum)
Revision history for this message
Hiromu Asahina (h-asahina) wrote :

Hi,

As it's been a long time since this bug was reported, I'd like to confirm the current status. Are you still having trouble? or you have solved the problem by simply updating Tacker?

Yasufumi Ogawa (yasufum)
Changed in tacker:
importance: Undecided → Low
Yasufumi Ogawa (yasufum)
Changed in tacker:
status: New → 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.