[openstack-dev] [Mistral] Mistral with IPV6

Paz, Guy (Nokia - IL) guy.paz at nokia.com
Wed Mar 9 13:15:00 UTC 2016



Hello,

We are trying to deploy mistral with IPV6 (Keystone is IPV6, the VM that we are installing on is IPV6 too, all OS Endpoints IPV6) – by changing In the ‘mistral.conf’ -> ‘bind_host=::’ .
In Murano it was working pretty straight forward by changing this param.. but unfortanly for now for Mistral not.

A little but searching in the internet we found this for Ceilometer : https://bugs.launchpad.net/ceilometer/+bug/1269243 maybe same implementation needed here too.

So we are wondering If in high level if Mistral can support IPV6 and if someone can advise here ?

This is the exception when we are trying to start the mistral with ‘bind_host=::’
[root at test3 ~(keystone_admin)]#  /usr/bin/python /usr/bin/mistral-server --server api --config-file /etc/mistral/mistral.conf --log-file /var/log/mistral/mistral-api.log
/usr/lib/python2.7/site-packages/novaclient/client.py:784: UserWarning: 'get_client_class' is deprecated. Please use `novaclient.client.Client` instead.
  warnings.warn(_LW("'get_client_class' is deprecated. "

|\\    //| //   // |||||| |||\\       /\      ||
||\\  //||    //     ||   ||  ||     //\\     ||  \\// || || ||     ||   
|||| //     //  \\    ||
||  \/  || ||  \\    ||   || \\    //-||-\\   ||
||      || ||   ||   ||   ||  ||  //      \\  ||
||      || || _//    ||   ||  || //        \\ |||||

Mistral Workflow Service, version 1.0.1

Launching server components ['api']...
2016-03-06 12:28:37.950 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('qpid = oslo_messaging._drivers.impl_qpid:QpidDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
2016-03-06 12:28:37.951 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('amqp = oslo_messaging._drivers.protocols.amqp.driver:ProtonDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
2016-03-06 12:28:37.951 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
2016-03-06 12:28:37.952 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
2016-03-06 12:28:37.975 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('fake = oslo_messaging._drivers.impl_fake:FakeDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
2016-03-06 12:28:37.975 12246 DEBUG stevedore.extension [-] found extension EntryPoint.parse('zmq = oslo_messaging._drivers.impl_zmq:ZmqDriver') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:156
Server started.
2016-03-06 12:28:37.994 12246 DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:256
2016-03-06 12:28:38.001 12246 DEBUG oslo_concurrency.lockutils [-] Lock "service_coordinator" acquired by "mistral.coordination.register_membership" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:253
2016-03-06 12:28:38.002 12246 DEBUG oslo_concurrency.lockutils [-] Lock "service_coordinator" released by "mistral.coordination.register_membership" :: held 0.001s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:265
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
    timer()
  File "/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
  File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
    result = function(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mistral/cmd/launch.py", line 138, in launch_api
    app.setup_app()
  File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 144, in make_server
    server = server_class((host, port), handler_class)
  File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 48, in server_bind
    HTTPServer.server_bind(self)
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
   SocketServer.TCPServer.server_bind(self)
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -9] Address family for hostname not supported
2016-03-06 12:28:38.119 12246 DEBUG oslo_service.periodic_task [-] Running periodic task MistralPeriodicTasks.process_cron_triggers_v2 run_periodic_tasks /usr/lib/python2.7/site-packages/oslo_service/periodic_task.py:213
2016-03-06 12:28:38.162 12246 CRITICAL Mistral [-] gaierror: [Errno -9] Address family for hostname not supported
2016-03-06 12:28:38.162 12246 ERROR Mistral Traceback (most recent call last):



Guy Paz
Software Engineer, CloudBand
Application & Analytics , Nokia
Contact number: +972 9793 3087




More information about the OpenStack-dev mailing list