Virtual Functions not coming up after reboot in Red Hat OpenStack Platform
Issue
OSP creates an ifup-local script to handle vitual functions but the script does not run:
$cat /sbin/ifup-local
#!/bin/bash
/etc/sysconfig/allocate_vfs $1
$ cat /etc/sysconfig/allocate_vfs
#!/bin/bash
[ "p2p1" == "$1" ] && echo 10 > /sys/class/net/p2p1/device/sriov_numvfs
[ "p2p2" == "$1" ] && echo 10 > /sys/class/net/p2p2/device/sriov_numvfs
The problem is the interfaces are controlled by Network Manager. Hence the allocated_vfs script should be in /etc/NetworkManager/dispatcher.d/?
Environment
Red Hat OpenStack Platform 10
Red Hat OpenStack Platform 13
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
