Strange that you don't reproduce this problem. Edouard Thuleau has also
reproduced it today.
Antoine.
Sachin Bansal <email address hidden> writes:
> Which neutron plugin are you using? I just tried it on the latest build
> and it is working as expected:
>
> root@b4s9:/usr/lib/python2.7/dist-packages/schema_transformer# neutron net-create n1
> Created a new network:
> +-------------------------+-----------------------------------------+
> | Field | Value |
> +-------------------------+-----------------------------------------+
> | admin_state_up | True |
> | contrail:fq_name | default-domain |
> | | admin |
> | | n1-7f17c558-84a2-4e4e-be27-dca56775134 |
> | contrail:instance_count | 0 |
> | id | 7f17c558-84a2-4e4e-be27-ddca56775134 |
> | name | n1 |
> | router:external | False |
> | shared | False |
> | status | ACTIVE |
> | subnets | |
> | tenant_id | 618d3788d8e34d548d5465e668b3ab18 |
> +-------------------------+-----------------------------------------+
> root@b4s9:/usr/lib/python2.7/dist-packages/schema_transformer# neutron net-create n1
> \Created a new network:
> +-------------------------+-----------------------------------------+
> | Field | Value |
> +-------------------------+-----------------------------------------+
> | admin_state_up | True |
> | contrail:fq_name | default-domain |
> | | admin |
> | | n1-80bac5da-a3e3-45e2-a720-e16a24764313 |
> | contrail:instance_count | 0 |
> | id | 80bac5da-a3e3-45e2-a720-e16a24764313 |
> | name | n1 |
> | router:external | False |
> | shared | False |
> | status | ACTIVE |
> | subnets | |
> | tenant_id | 618d3788d8e34d548d5465e668b3ab18 |
> +-------------------------+-----------------------------------------+
>
> ** Changed in: opencontrail
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1505229
>
> Title:
> Create two resources with the same name fails
>
> Status in OpenContrail:
> Incomplete
>
> Bug description:
> Two networks with the same name in the same tenant can not be created
> while this is allowed by neutron. This is also true for routers and
> maybe for some other kinds of resources.
>
> It fails because fq_name of these two resources are identical.
>
> For instance, we create a first network 'net-default'
> $ neutron net-create net-default
> If we create a second network with the same name
> $ neutron net-create net-default
> the following exception is raised:
> RefsExistError: ['default-domain', 'demo', 'net-default'] already exists with uuid: 9236330e-8f05-49c7-9a5b-f4343e9638af
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/opencontrail/+bug/1505229/+subscriptions
Hello Sachin,
I'm using the commit ID 9da9fae96090a29 9974be5609978c5 b05085d6c5 (in /github. com/juniper/ contrail- neutron- plugin).
repository https:/
Strange that you don't reproduce this problem. Edouard Thuleau has also
reproduced it today.
Antoine.
Sachin Bansal <email address hidden> writes:
> Which neutron plugin are you using? I just tried it on the latest build /usr/lib/ python2. 7/dist- packages/ schema_ transformer# neutron net-create n1 ------- ------- -----+- ------- ------- ------- ------- ------- -----+ ------- ------- -----+- ------- ------- ------- ------- ------- -----+ 84a2-4e4e- be27-dca5677513 4 | instance_ count | 0 | 84a2-4e4e- be27-ddca567751 34 | 48d5465e668b3ab 18 | ------- ------- -----+- ------- ------- ------- ------- ------- -----+ /usr/lib/ python2. 7/dist- packages/ schema_ transformer# neutron net-create n1 ------- ------- -----+- ------- ------- ------- ------- ------- -----+ ------- ------- -----+- ------- ------- ------- ------- ------- -----+ a3e3-45e2- a720-e16a247643 13 | instance_ count | 0 | a3e3-45e2- a720-e16a247643 13 | 48d5465e668b3ab 18 | ------- ------- -----+- ------- ------- ------- ------- ------- -----+ /bugs.launchpad .net/bugs/ 1505229 8f05-49c7- 9a5b-f4343e9638 af /bugs.launchpad .net/opencontra il/+bug/ 1505229/ +subscriptions
> and it is working as expected:
>
> root@b4s9:
> Created a new network:
> +------
> | Field | Value |
> +------
> | admin_state_up | True |
> | contrail:fq_name | default-domain |
> | | admin |
> | | n1-7f17c558-
> | contrail:
> | id | 7f17c558-
> | name | n1 |
> | router:external | False |
> | shared | False |
> | status | ACTIVE |
> | subnets | |
> | tenant_id | 618d3788d8e34d5
> +------
> root@b4s9:
> \Created a new network:
> +------
> | Field | Value |
> +------
> | admin_state_up | True |
> | contrail:fq_name | default-domain |
> | | admin |
> | | n1-80bac5da-
> | contrail:
> | id | 80bac5da-
> | name | n1 |
> | router:external | False |
> | shared | False |
> | status | ACTIVE |
> | subnets | |
> | tenant_id | 618d3788d8e34d5
> +------
>
> ** Changed in: opencontrail
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Create two resources with the same name fails
>
> Status in OpenContrail:
> Incomplete
>
> Bug description:
> Two networks with the same name in the same tenant can not be created
> while this is allowed by neutron. This is also true for routers and
> maybe for some other kinds of resources.
>
> It fails because fq_name of these two resources are identical.
>
> For instance, we create a first network 'net-default'
> $ neutron net-create net-default
> If we create a second network with the same name
> $ neutron net-create net-default
> the following exception is raised:
> RefsExistError: ['default-domain', 'demo', 'net-default'] already exists with uuid: 9236330e-
>
> To manage notifications about this bug go to:
> https:/