FYI…
Seems that it is an issue. A LP was opened:
https://bugs.launchpad.net/starlingx/+bug/1835115
Regards.
Juan Carlos Alonso
Hello,
Yes, now the commands are:
$ system datanetwork-add physnet2 vlan
$ system host-if-modify -m 1500 -n sriov0 -N 5 -c pci-sriov compute-0 eno1
$ system interface-datanetwork-assign compute-0 sriov0 physnet2
Then when I tried to create a network attached to
physnet2, to create ports attached to this network I got the following error:
controller-0:~$ openstack network create --mtu 1500 --provider-network-type vlan --provider-physical-network physnet2 sriov-net
Error while executing command: BadRequestException: 400, Invalid input for operation: physical_network 'physnet2' unknown for VLAN provider network.
I am not sure why this error, I create data network as vlan. Maybe should be a different type since it is created for SRIOV.
Do you have any idea?
Regards.
Juan Carlos Alonso
From: Legacy, Allain [mailto:Allain.Legacy@windriver.com]
Sent: Tuesday, July 2, 2019 9:57 AM
To: Alonso, Juan Carlos <juan.carlos.alonso@intel.com>; 'starlingx-discuss@lists.starlingx.io' <starlingx-discuss@lists.starlingx.io>
Subject: RE: system host-if-modify error
The commands related to creating and modifying interface was changed recently. Please refer to the mailing list post with subject: “Provisioning changes to host interface commands” which I have attached to
this message.
Regards,
Allain
Allain Legacy, Software Developer, Wind River
direct 613.270.2279 fax 613.492.7870 skype allain.legacy
350 Terry Fox Drive, Suite 200, Ottawa, Ontario, K2K 2W5
From: Alonso, Juan Carlos [mailto:juan.carlos.alonso@intel.com]
Sent: Monday, July 01, 2019 10:14 AM
To: 'starlingx-discuss@lists.starlingx.io'
Subject: [Starlingx-discuss] system host-if-modify error
Hi,
I have been using the below command to set a SRIOV interface:
$ system host-if-modify -m <MTU> -n <new interface name> -N <number of VFs> -p <data network> -c pci-sriov <host> <interface>
$ system host-if-modify -m 1500 -n sriov1 -N 5 -p physnet0 -c pci-sriov compute-0 38922809-dec1-4e55-9f58-5db4b0859ae5
Command works correctly from ISO 20190627 and older. But now I got the following error:
system: error: unrecognized arguments: -p 47569880-3225-4a96-b897-b7bf1d114b8d
Seems that there is an error in the structure or syntax of command, but –p flag and interface UUID are separated by other parameters. I also try to use –d flag and interface name instead of uuid but got the same
error.
Do you know if this SRIOV command have changed?
Regards.
Juan Carlos Alonso