Nova does not currently have support for neutron ports without an ip.
when support was added for the neutron port ip_allocation polices only support
for intimidate and defer where implemented.
i believe work is planned to add support for addresses port in train but
i am close this as invalid as it had never been supported.
** Tags added: neutr
** Tags removed: neutr
** Tags added: libvirt neutron
** Changed in: nova
Importance: Undecided => Wishlist
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1802973
Title:
Failed to create VM with no IP assigned to SR-IOV port
Status in OpenStack Compute (nova):
Invalid
Bug description:
Description
===========
Failed to create an instance because of a port attached with no IP address
assigned. The port is created over a flat network mapped to a SR-IOV interface.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
1. Create network
openstack network create --provider-physical-network physnet1
--provider-network-type flat sriov-net
2. Create port
openstack port create --network ******** --vnic-type macvtap (direct)
--no-fixed-ip sriov-port
3. Create
openstack server create --image cloud.img --flavor your_flavor --key-name
ssh-key --port sriov-port vm_name
Expected result
===============
The instance should start with a layer 2 interface configured over a sr-iov
virtual function.
Actual result
=============
Port 6dca94cb-1ed5-4131-bc69-4736db5f9f18 requires a FixedIP in order to be
used. (HTTP 400)
Environment
===========
1. Openstack Rocky managed via Juju and deployed using MAAS.
2. Which hypervisor did you use?
Libvirt + KVM
2. Which storage type did you use?
Ceph
3. Which networking type did you use?
Neutron
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1802973/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp