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