If add server=None in this pyghmi function, I can then successfully create many virtualbmc instances.
def _assignsocket(cls, server=None): global iothread global iothreadready global iosockets global ipv6support global myself server=None <===
root 28860 0.0 0.0 454308 18248 ? Sl 20:31 0:00 /usr/bin/python /usr/bin/vbmc start ceph-0-rhosp8 root 29333 0.0 0.0 454440 18432 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-0-rhosp8 root 29342 0.0 0.0 454308 18428 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-1-rhosp8 root 29393 0.0 0.0 454440 18364 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-2-rhosp8
The problem I now face is that I can successfully start many virtualbmc instances per IP address which is not really wanted.
If add server=None in this pyghmi function, I can then successfully create many virtualbmc instances.
def _assignsocket(cls, server=None):
global iothread
global iothreadready
global iosockets
global ipv6support
global myself
server=None <===
root 28860 0.0 0.0 454308 18248 ? Sl 20:31 0:00 /usr/bin/python /usr/bin/vbmc start ceph-0-rhosp8
root 29333 0.0 0.0 454440 18432 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-0-rhosp8
root 29342 0.0 0.0 454308 18428 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-1-rhosp8
root 29393 0.0 0.0 454440 18364 ? Sl 20:36 0:00 /usr/bin/python /usr/bin/vbmc start ceph-2-rhosp8
The problem I now face is that I can successfully start many virtualbmc instances per IP address which is not really wanted.