This is an archive of the ONOS 1.4 wiki. For the current ONOS wiki, look here.

  1. VM creation error

    Please check the error message in compute node, /opt/stack/logs/n-cpu.log. If the error message is like below, then it is caused by the libvirtd mode issue.

    .....
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]     rv = execute(f, *args, **kwargs)
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]     six.reraise(c, e, tb)
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]     rv = meth(*args, **kwargs)
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]   File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 900, in createWithFlags
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31] libvirtError: Unable to add port tap47188ecf-b2 to OVS bridge br-int: Operation not permitted
    2015-12-08 08:08:23.924 TRACE nova.compute.manager [instance: 9c3f2a76-9ff6-4b47-81ad-8812ae0aad31] 

    Then, please do the following.

    sudo aa-complain /etc/apparmor.d/*

    If the apparmor tool is not installed, you can install it using apt-get.

    sudo apt-get install apparmor-utils

    Ref: https://www.redhat.com/archives/libvirt-users/2013-April/msg00077.html

     

  2. /usr/local/bin/keystone-manage db_sync error

    If the devstack installation stops in the step, you will have to check if you can access to the mysql db using the IP address you set in the local.conf. It can happens when you install a VM with multiple network interfaces.
    If you have set up the second interface for internal communication of VMs and set up the IP address manually, then you will have to check if the IP address attached to the second interface is gone or not.

     

  3. VM creation error with "Authentication Required"

    If VM creation fails and the n-cpu.log says "Authentication Required", then it could be a timestamp problem of the token. Please check you have the same time zone and time between C nodes and control nodes. If they are different, the token issued from the control node is valid in a node but not valid in the other nodes because of the time difference.

 

 

 

  • No labels