Hyper v integration with open stack rocky is successful. We are using linux bridge and flat network. But VM is creating without attaching to hyper v switch. we need to manually select virtual switch from instance settings and working fine after that. Anyone faced same issue?
neutronhypervagent.conf
[DEFAULT]
controlexchange=neutron
transporturl=rabbit://user:password@controller:5672
logdir=D:\OpenStack\Log\
logfile=neutron-hyperv-agent.log
[AGENT]
pollinginterval=2
[DEFAULT]
control_exchange=neutron
transport_url=rabbit://user:password@controller:5672
log_dir=D:\OpenStack\Log\
log_file=neutron-hyperv-agent.log
[AGENT]
polling_interval=2
physicalnetworkvswitchmappings=*:hyperv
vswitch_mappings=*:hyperv
enablemetricscollection=false
collection=false
enableqosextension=false
[SECURITYGROUP]
firewalldriver=hyperv
[SECURITYGROUP]
firewall_driver=hyperv
enablesecurity_group=truesecuritygroup=true
nova.conf
[DEFAULT]
[DEFAULT]
computedriver=computehyperv.driver.HyperVDriver
instancespath=D:\OpenStack\Instances
hyperv.driver.HyperVDriver
instances_path=D:\OpenStack\Instances
usecowimages=true
images=true
forceconfigdrive=false
flatinjected=true
mkisofsdrive=false
flat_injected=true
mkisofs_cmd=C:\Program Files\Cloudbase Solutions\OpenStack\Nova\bin\mkisofs.exe
allowresizetosamehost=true
runningdeletedinstancepollinterval=120
resizeconfirmwindow=5
resumeguestsstateonhost_boot=true
transport_url=rabbit://user:password@controller:5672
rpcresponsetimeout=1800
lock_path=D:\OpenStack\Log\
vifpluggingis_fatal=false
vifpluggingtimeout=60
blockdeviceallocate_retries=600
log_dir=D:\OpenStack\Log\
log_file=nova-compute.log
[placement]
auth_strategy=keystone
auth_type=password
auth_url=http://controller:5000/v3
project_name=service
username=placement_user
password=password
projectdomainname=Default
userdomainname=Default
osregionname=RegionOne
[notifications]
[glance]
api_servers=http://controller:9292
[hyperv]
vswitch_name = hyperv
limitcpufeatures=false
configdriveinject_password=false
qemuimgcmd=C:\Program Files\Cloudbase Solutions\OpenStack\Nova\bin\mkisofs.exe
allowresizetosamehost=true
runningdeletedSolutions\OpenStack\Nova\bin\qemu-img.exe
configdrivecdrom=true
dynamicmemoryratio=1
enableinstancepollinterval=120
resizeconfirmwindow=5
resumeguestsstateonhostboot=true
transporturl=rabbit://user:password@controller:5672
rpcresponsetimeout=1800
lockpath=D:\OpenStack\Log\
vifpluggingisfatal=false
vifpluggingtimeout=60
blockdeviceallocateretries=600
logdir=D:\OpenStack\Log\
logfile=nova-compute.log
[placement]
authstrategy=keystone
authtype=password
authurl=http://controller:5000/v3
metrics_collection=false
[os_win]
cachetemporarywmi_objects=false
[rdp]
enabled=true
html5proxybase_url=http://ip:8000/
[neutron]
url=http://controller:9696
auth_strategy=keystone
project_name=service
username=neutron
password=password
auth_url=http://controller:5000/v3
projectname=service
username=placementuser
password=password
projectdomainname=Default
name=Default
userdomainname=Default
name=Default
osregion_name=RegionOne
[notifications]
[glance]
api_servers=http://controller:9292
[hyperv]
vswitchname = hyperv
limitcpufeatures=false
configdriveinjectpassword=false
qemuimgcmd=C:\Program Files\Cloudbase Solutions\OpenStack\Nova\bin\qemu-img.exe
configdrivecdrom=true
dynamicmemoryratio=1
enableinstancemetrics_collection=false
[oswin]
cachetemporarywmiobjects=false
[rdp]
enabled=true
html5proxybase_url=http://ip:8000/
[neutron]
url=http://controller:9696
authstrategy=keystone
projectname=service
username=neutron
password=password
authurl=http://controller:5000/v3
projectdomainname=Default
userdomainname=Default
osregionname=RegionOne
authtype=passwordname=RegionOne
auth_type=password