<div>I got this error when I run stack.sh in devstack:<br></div><div><br></div><div>2018-01-19 16:05:11.744 | + /opt/stack/ironic/devstack/tools/ironic/scripts/setup-network.sh::L24:   sudo ip link set dev brbm up</div>2018-01-19 16:05:11.757 | + /opt/stack/ironic/devstack/tools/ironic/scripts/setup-network.sh::L27:   virsh net-list<br>2018-01-19 16:05:11.757 | + /opt/stack/ironic/devstack/tools/ironic/scripts/setup-network.sh::L27:   grep 'brbm '<br>2018-01-19 16:05:11.852 | Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)<br>2018-01-19 16:05:11.866 | error: failed to connect to the hypervisor<br>2018-01-19 16:05:11.866 | error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'<br>2018-01-19 16:05:11.869 | + /opt/stack/ironic/devstack/tools/ironic/scripts/setup-network.sh::L28:   virsh net-list --inactive<br>2018-01-19 16:05:11.869 | + /opt/stack/ironic/devstack/tools/ironic/scripts/setup-network.sh::L28:   grep 'brbm '<br>2018-01-19 16:05:11.906 | Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)<br><div><br></div><div>And here is my local.conf:</div><div>[stack@localhost devstack]$ cat local.conf <br>[[local|localrc]]<br><br>PIP_UPGRADE=True<br>FORCE=yes<br><br># Credentials<br>ADMIN_PASSWORD=123456<br>DATABASE_PASSWORD=123456<br>RABBIT_PASSWORD=123456<br>SERVICE_PASSWORD=123456<br>SERVICE_TOKEN=123456<br>SWIFT_HASH=123456<br>SWIFT_TEMPURL_KEY=123456<br><br># Enable Ironic plugin<br>enable_plugin ironic git://git.openstack.org/openstack/ironic<br><br># Enable Mogan plugin<br>enable_plugin mogan git://git.openstack.org/openstack/mogan<br><br>## Install networking-generic-switch Neutron ML2 driver that interacts with OVS<br>enable_plugin networking-generic-switch https://git.openstack.org/openstack/networking-generic-switch<br><br>ENABLED_SERVICES=g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy,tempest<br><br># Swift temp URL's are required for agent_* drivers.<br>SWIFT_ENABLE_TEMPURLS=True<br><br># Add link local info when registering Ironic node<br>IRONIC_USE_LINK_LOCAL=True<br>IRONIC_ENABLED_NETWORK_INTERFACES=flat,neutron<br>IRONIC_NETWORK_INTERFACE=neutron<br><br>#Networking configuration<br>OVS_PHYSICAL_BRIDGE=brbm<br>PHYSICAL_NETWORK=mynetwork<br>IRONIC_PROVISION_NETWORK_NAME=ironic-provision<br>IRONIC_PROVISION_SUBNET_PREFIX=10.0.5.0/24<br>IRONIC_PROVISION_SUBNET_GATEWAY=10.0.5.1<br>Q_PLUGIN=ml2<br>ENABLE_TENANT_VLANS=True<br>Q_ML2_TENANT_NETWORK_TYPE=vlan<br>TENANT_VLAN_RANGE=100:150<br>Q_USE_PROVIDERNET_FOR_PUBLIC=False<br><br># Set resource_classes for nodes to use placement service<br>IRONIC_USE_RESOURCE_CLASSES=True<br><br># Create 3 virtual machines to pose as Ironic's baremetal nodes.<br>IRONIC_VM_COUNT=3<br>IRONIC_VM_SSH_PORT=22<br>IRONIC_BAREMETAL_BASIC_OPS=True<br><br># Enable Ironic drivers.<br>IRONIC_ENABLED_DRIVERS=fake,agent_ipmitool,pxe_ipmitool<br><br># Change this to alter the default driver for nodes created by devstack.<br># This driver should be in the enabled list above.<br>IRONIC_DEPLOY_DRIVER=agent_ipmitool<br><br># Using Ironic agent deploy driver by default, so don't use whole disk<br># image in tempest.<br>IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False<br><br># The parameters below represent the minimum possible values to create<br># functional nodes.<br>IRONIC_VM_SPECS_RAM=1024<br>IRONIC_VM_SPECS_DISK=10<br><br># To build your own IPA ramdisk from source, set this to True<br>IRONIC_BUILD_DEPLOY_RAMDISK=False<br><br>#RECLONE=True<br>RECLONE=False<br><br># Log all output to files<br>LOGFILE=/home/stack/logs/stack.sh.log<br>VERBOSE=True<br>LOG_COLOR=True<br>SCREEN_LOGDIR=/home/stack/logs<br>IRONIC_VM_LOG_DIR=/home/stack/ironic-bm-logs<br><div><br></div><div>What maybe is the reason? Thans you!<br></div><br></div>