[openstack-dev] Quesion about Openstack Magnum

zhihao wang wangzhihaocom at hotmail.com
Tue Jul 5 18:47:29 UTC 2016


Dear Magnum team member

May I ask you some question about Magnum 
I have Openstack mistaka (1 controller and 2 compute nodes(I have installed all the components for Magnum, also install the lbaaS V2.
I have install the Magnum followed this guide http://docs.openstack.org/developer/magnum/install-guide-from-source.html
and then I try to use Magnum, but I am not sure how to use it to create k8s
when I try to list the bay model list, it return this, I source admin-openrc, but still the same..
root at controller:/var/lib/magnum/magnum# magnum --version2.0.0root at controller:/var/lib/magnum/magnum# magnum servie-listERROR: You must provide a tenant name or tenant id via --os-tenant-name, --os-tenant-id, env[OS_TENANT_NAME] or env[OS_TENANT_ID]root at controller:/var/lib/magnum/magnum# 
also , I saw lots of error from the magnum-api.log
2016-07-05 11:45:47.239 85426 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.2016-07-05 11:45:47.240 85426 INFO magnum.api.app [-] Full WSGI config used: /etc/magnum/api-paste.ini2016-07-05 11:45:47.303 85426 CRITICAL magnum [-] ConfigFileValueError: Value for option host is not valid: controller is not IPv4 or IPv6 address2016-07-05 11:45:47.303 85426 ERROR magnum Traceback (most recent call last):2016-07-05 11:45:47.303 85426 ERROR magnum   File "/var/lib/magnum/env/bin/magnum-api", line 10, in <module>2016-07-05 11:45:47.303 85426 ERROR magnum     sys.exit(main())2016-07-05 11:45:47.303 85426 ERROR magnum   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/magnum/cmd/api.py", line 46, in main2016-07-05 11:45:47.303 85426 ERROR magnum     host, port = cfg.CONF.api.host, cfg.CONF.api.port2016-07-05 11:45:47.303 85426 ERROR magnum   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 3004, in __getattr__2016-07-05 11:45:47.303 85426 ERROR magnum     return self._conf._get(name, self._group)2016-07-05 11:45:47.303 85426 ERROR magnum   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2615, in _get2016-07-05 11:45:47.303 85426 ERROR magnum     value = self._do_get(name, group, namespace)2016-07-05 11:45:47.303 85426 ERROR magnum   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2658, in _do_get2016-07-05 11:45:47.303 85426 ERROR magnum     % (opt.name, str(ve)))2016-07-05 11:45:47.303 85426 ERROR magnum ConfigFileValueError: Value for option host is not valid: controller is not IPv4 or IPv6 address2016-07-05 11:45:47.303 85426 ERROR magnum ^C
I am wondering is there anything for configure the magnum?
thanks so much
wally 

















 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160705/7ba9a50f/attachment.html>


More information about the OpenStack-dev mailing list