admin user can create tacker's resoure in Undefined projectId
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/
+------
| Field | Value |
+------
| attributes | { |
| | "vnfd": { |
| | "tosca_
| | "description": "Demo example", |
| | "topology_
| | "node_templates": { |
| | "VDU1": { |
| | "type": "tosca.
| | "properties": { |
| | "image": "cirros-
| | "mgmt_driver": "noop", |
| | "config": "param0: key1\nparam1: key2\n", |
| | "availability_
| | }, |
| | "capabilities": { |
| | "nfv_compute": { |
| | "properties": { |
| | "mem_size": "512 MB", |
| | "num_cpus": 1, |
| | "disk_size": "1 GB" |
| | } |
| | } |
| | } |
| | }, |
| | "VL2": { |
| | "type": "tosca.
| | "properties": { |
| | "vendor": "Tacker", |
| | "network_name": "net0" |
| | } |
| | }, |
| | "VL1": { |
| | "type": "tosca.
| | "properties": { |
| | "vendor": "Tacker", |
| | "network_name": "net_mgmt" |
| | } |
| | }, |
| | "CP1": { |
| | "type": "tosca.
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL1" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_
| | "management": true, |
| | "order": 0 |
| | } |
| | }, |
| | "CP2": { |
| | "type": "tosca.
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL2" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_
| | "order": 1 |
| | } |
| | }, |
| | "CP3": { |
| | "type": "tosca.
| | "requirements": [ |
| | { |
| | "virtualLink": { |
| | "node": "VL3" |
| | } |
| | }, |
| | { |
| | "virtualBinding": { |
| | "node": "VDU1" |
| | } |
| | } |
| | ], |
| | "properties": { |
| | "anti_spoofing_
| | "order": 2 |
| | } |
| | }, |
| | "VL3": { |
| | "type": "tosca.
| | "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-
| name | hello-world |
| project_id | aaaa |
| service_types | [u'vnfd'] |
| template_source | onboarded |
| updated_at | None |
+------
```
description: | updated |
Changed in tacker: | |
assignee: | nobody → Yasufumi Ogawa (yasufum) |
Changed in tacker: | |
importance: | Undecided → Low |
Changed in tacker: | |
status: | New → Won't Fix |
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?