yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58571
[Bug 1640835] [NEW] neutron doesn't report invalid values passed to it
Public bug reported:
[stack@undercloud ~]$ neutron port-list | grep 699107e1-bdf7-4044-83fc-65201fb28f57
| 699107e1-bdf7-4044-83fc-65201fb28f57 | | 00:6e:03:64:5d:ad | {"subnet_id": "06e61421-520b-4afb-ad15-1e31e1503e44", "ip_address": "192.0.2.9"} |
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.9 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
[stack@undercloud ~]$ nova stop 9751809b-5033-43ca-bc8d-334e9acf2d4e
Request to stop server 9751809b-5033-43ca-bc8d-334e9acf2d4e has been accepted.
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | SHUTOFF | - | Shutdown | ctlplane=192.0.2.9 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
[stack@undercloud ~]$ neutron port-update --fixed-ip subnet_id=06e61421-520b-4afb-ad15-1e31e1503e44,ip=192.0.2.26 699107e1-bdf7-4044-83fc-65201fb28f57
Updated port: 699107e1-bdf7-4044-83fc-65201fb28f57
[stack@undercloud ~]$ nova start 9751809b-5033-43ca-bc8d-334e9acf2d4e
Request to start server 9751809b-5033-43ca-bc8d-334e9acf2d4e has been accepted.
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.10 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
- If used with ip=192.0.2.26 it won't report any issues, but will
automatically +1 on the IP from the pool.
Would be nice if the neutron has some input checks on whether the value
is one of the known ones.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1640835
Title:
neutron doesn't report invalid values passed to it
Status in neutron:
New
Bug description:
[stack@undercloud ~]$ neutron port-list | grep 699107e1-bdf7-4044-83fc-65201fb28f57
| 699107e1-bdf7-4044-83fc-65201fb28f57 | | 00:6e:03:64:5d:ad | {"subnet_id": "06e61421-520b-4afb-ad15-1e31e1503e44", "ip_address": "192.0.2.9"} |
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.9 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+--------+------------+-------------+--------------------+
[stack@undercloud ~]$ nova stop 9751809b-5033-43ca-bc8d-334e9acf2d4e
Request to stop server 9751809b-5033-43ca-bc8d-334e9acf2d4e has been accepted.
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | SHUTOFF | - | Shutdown | ctlplane=192.0.2.9 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+---------+------------+-------------+--------------------+
[stack@undercloud ~]$ neutron port-update --fixed-ip subnet_id=06e61421-520b-4afb-ad15-1e31e1503e44,ip=192.0.2.26 699107e1-bdf7-4044-83fc-65201fb28f57
Updated port: 699107e1-bdf7-4044-83fc-65201fb28f57
[stack@undercloud ~]$ nova start 9751809b-5033-43ca-bc8d-334e9acf2d4e
Request to start server 9751809b-5033-43ca-bc8d-334e9acf2d4e has been accepted.
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
| 9751809b-5033-43ca-bc8d-334e9acf2d4e | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.10 |
| 74a6b21a-db53-492d-bb36-9d05a70ef8d2 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.0.2.6 |
+--------------------------------------+------------------------+--------+------------+-------------+---------------------+
- If used with ip=192.0.2.26 it won't report any issues, but will
automatically +1 on the IP from the pool.
Would be nice if the neutron has some input checks on whether the
value is one of the known ones.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1640835/+subscriptions
Follow ups