Revision history [back]

click to hide/show revision 1
initial version

Stderr: u'sudo: no tty present and no askpass program specified\n'

Hi, I'm deploying three node architecture and followed through OpenstackGuideMitaka for Ubuntu. My cloud is up and running very well. Now I'm trying to put manila into my cloud and I'm stuck. When I try to create a manila share which would create an instance with a network connected to it, it fails. Debug and Error following debug is like below. I think this part:

  2016-08-29 15:49:17.705 2393 DEBUG oslo_concurrency.processutils [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] u'sudo manil
    a-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interface tapff49575b-96 type=internal -- set Interface tapff49575b-96 external-ids:iface-id
    =ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- set Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:4e:bd' failed. Not  Retrying

is causing the problem, but can't find any solution for this.. I did some googling and many said it's about authorization issue with sudoers file, so i checked..

vi /etc/sudoers.d/manila_sudoers
    Defaults:manila !requiretty

    manila ALL = (root) NOPASSWD: /usr/bin/manila-rootwrap /etc/manila/rootwrap.conf *

and also tried sudoers manually..

visudo
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # Please consider adding local content in /etc/sudoers.d/ instead of
    # directly modifying this file.
    #
    # See the man page for details on how to write a sudoers file.
    #
    Defaults        env_reset
    Defaults        mail_badpass
    Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

    # Host alias specification

    # User alias specification

    # Cmnd alias specification

    # User privilege specification
    root    ALL=(ALL:ALL) ALL

    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL

    # Allow members of group sudo to execute any command
    %sudo   ALL=(ALL:ALL) ALL

    # See sudoers(5) for more information on "#include" directives:

    #includedir /etc/sudoers.d
    Defaults:manila !requiretty

    manila ALL = (root) NOPASSWD: /usr/bin/manila-rootwrap /etc/manila/rootwrap.conf *

still not working.. I tried the command it fails to proceed on root, and it works and creates the tabff49575b-96 on ovs, but still fails to create the share. Any help on this issue? What or where should I be looking into?

Error Log

2016-08-29 15:49:18.237 2393 ERROR manila.share.manager [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] Creation of share ins
tance 5abe427a-159e-489c-8391-c28b5722b7bc failed: failed to get share server.
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] Exception du
ring message handling: Unexpected error while running command.
Command: sudo manila-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interface tapff49575b-96 type=internal -- set Interface tapff49575b-96 ex
ternal-ids:iface-id=ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- set Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:
4e:bd
Exit code: 1
Stdout: u''
Stderr: u'sudo: no tty present and no askpass program specified\n'
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 146, in wrapped
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/utils.py", line 616, in wrapper
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return func(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 986, in create_share_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     {'status': constants.STATUS_ERROR}
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.force_reraise()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 976, in create_share_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     consistency_group=consistency_group_ref
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 456, in _provide_share_server_for_share
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return _provide_share_server_for_share()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 448, in _provide_share_server_for_share
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     context, compatible_share_server)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 2390, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.driver.deallocate_network(context, share_server['id'])
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.force_reraise()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 2344, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     network_info, metadata=metadata)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/driver.py", line 625, in setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return self._setup_server(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/generic.py", line 903, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.admin_context, network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 421, in set_up_service_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     context, instance_name, network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 528, in _create_service_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     network_data = self.network_helper.setup_network(network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 897, in setup_network
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.setup_connectivity_with_service_instances()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 937, in setup_connectivity_with_
service_instances
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self._plug_interface_in_host(interface_name, device, port)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 952, in _plug_interface_in_host
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.vif_driver.plug(interface_name, port['id'], port['mac_address'])
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 54, in wrapped_func
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return source_func(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 52, in source_func
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 150, in plug
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self._ovs_add_port(bridge, tap_name, port_id, mac_address)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 133, in _ovs_add_port
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     utils.execute(*cmd, run_as_root=True)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/utils.py", line 65, in execute
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return processutils.execute(*cmd, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 389, in execute
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     cmd=sanitized_cmd)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command.
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Command: sudo manila-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interfac
e tapff49575b-96 type=internal -- set Interface tapff49575b-96 external-ids:iface-id=ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- se
t Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:4e:bd
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Exit code: 1
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Stderr: u'sudo: no tty present and no askpass program specified\n'
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher

Stderr: u'sudo: no tty present and no askpass program specified\n'

Hi, I'm deploying three node architecture and followed through OpenstackGuideMitaka for Ubuntu. My cloud is up and running very well. Now I'm trying to put manila into my cloud and I'm stuck. When I try to create a manila share which would create an instance with a network connected to it, it fails. Debug and Error following debug is like below. I think this part:

  2016-08-29 15:49:17.705 2393 DEBUG oslo_concurrency.processutils [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] u'sudo manil
    a-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interface tapff49575b-96 type=internal -- set Interface tapff49575b-96 external-ids:iface-id
    =ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- set Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:4e:bd' failed. Not  Retrying

is causing the problem, but can't find any solution for this.. I did some googling and many said it's about authorization issue with sudoers file, so i checked..

vi /etc/sudoers.d/manila_sudoers
    Defaults:manila !requiretty

    manila ALL = (root) NOPASSWD: /usr/bin/manila-rootwrap /etc/manila/rootwrap.conf *

and also tried sudoers manually..

visudo
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # Please consider adding local content in /etc/sudoers.d/ instead of
    # directly modifying this file.
    #
    # See the man page for details on how to write a sudoers file.
    #
    Defaults        env_reset
    Defaults        mail_badpass
    Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

    # Host alias specification

    # User alias specification

    # Cmnd alias specification

    # User privilege specification
    root    ALL=(ALL:ALL) ALL

    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL

    # Allow members of group sudo to execute any command
    %sudo   ALL=(ALL:ALL) ALL

    # See sudoers(5) for more information on "#include" directives:

    #includedir /etc/sudoers.d
    Defaults:manila !requiretty

    manila ALL = (root) NOPASSWD: /usr/bin/manila-rootwrap /etc/manila/rootwrap.conf *

still not working.. I tried the command it fails to proceed on root, root previlege, and it works and creates the tabff49575b-96 on ovs, but still fails to create the share. Any help on this issue? What or where should I be looking into?

Error Log

2016-08-29 15:49:18.237 2393 ERROR manila.share.manager [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] Creation of share ins
tance 5abe427a-159e-489c-8391-c28b5722b7bc failed: failed to get share server.
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher [req-d6e3c066-fd48-4c29-bb51-119e74f59507 6abfef77e9984fc58bb5decc566d12c2 fda14487a68f436da7b55fe218798ea2 - - -] Exception du
ring message handling: Unexpected error while running command.
Command: sudo manila-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interface tapff49575b-96 type=internal -- set Interface tapff49575b-96 ex
ternal-ids:iface-id=ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- set Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:
4e:bd
Exit code: 1
Stdout: u''
Stderr: u'sudo: no tty present and no askpass program specified\n'
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 146, in wrapped
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/utils.py", line 616, in wrapper
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return func(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 986, in create_share_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     {'status': constants.STATUS_ERROR}
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.force_reraise()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 976, in create_share_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     consistency_group=consistency_group_ref
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 456, in _provide_share_server_for_share
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return _provide_share_server_for_share()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 448, in _provide_share_server_for_share
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     context, compatible_share_server)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 2390, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.driver.deallocate_network(context, share_server['id'])
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.force_reraise()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/manager.py", line 2344, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     network_info, metadata=metadata)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/driver.py", line 625, in setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return self._setup_server(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/generic.py", line 903, in _setup_server
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.admin_context, network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 421, in set_up_service_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     context, instance_name, network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 528, in _create_service_instance
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     network_data = self.network_helper.setup_network(network_info)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 897, in setup_network
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.setup_connectivity_with_service_instances()
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 937, in setup_connectivity_with_
service_instances
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self._plug_interface_in_host(interface_name, device, port)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 952, in _plug_interface_in_host
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self.vif_driver.plug(interface_name, port['id'], port['mac_address'])
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 54, in wrapped_func
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return source_func(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 52, in source_func
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return f(self, *args, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 150, in plug
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     self._ovs_add_port(bridge, tap_name, port_id, mac_address)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/network/linux/interface.py", line 133, in _ovs_add_port
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     utils.execute(*cmd, run_as_root=True)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/manila/utils.py", line 65, in execute
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     return processutils.execute(*cmd, **kwargs)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 389, in execute
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher     cmd=sanitized_cmd)
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command.
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Command: sudo manila-rootwrap /etc/manila/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int tapff49575b-96 -- set Interfac
e tapff49575b-96 type=internal -- set Interface tapff49575b-96 external-ids:iface-id=ff49575b-963c-4c7b-b4e2-d7cc11a8fc83 -- set Interface tapff49575b-96 external-ids:iface-status=active -- se
t Interface tapff49575b-96 external-ids:attached-mac=fa:16:3e:57:4e:bd
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Exit code: 1
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher Stderr: u'sudo: no tty present and no askpass program specified\n'
2016-08-29 15:49:18.261 2393 ERROR oslo_messaging.rpc.dispatcher