[openstack-dev] Quesion about Openstack Magnum

Ton Ngo ton at us.ibm.com
Wed Jul 6 02:29:51 UTC 2016


Hi Wally,
    You can try using an IP address instead of the name "controller" for
the "host" attribute.  This should be in /etc/magnum/magnum.conf in the
section [api].
Ton Ngo,



From:	zhihao wang <wangzhihaocom at hotmail.com>
To:	"openstack at lists.openstack.org"
            <openstack at lists.openstack.org>,
            "openstack-dev at lists.openstack.org"
            <openstack-dev at lists.openstack.org>
Date:	07/05/2016 11:52 AM
Subject:	[openstack-dev] Quesion about Openstack Magnum



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 --version
2.0.0
root at controller:/var/lib/magnum/magnum# magnum servie-list
ERROR: 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.ini
2016-07-05 11:45:47.303 85426 CRITICAL magnum [-] ConfigFileValueError:
Value for option host is not valid: controller is not IPv4 or IPv6 address
2016-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 main
2016-07-05 11:45:47.303 85426 ERROR magnum     host, port =
cfg.CONF.api.host, cfg.CONF.api.port
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 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 _get
2016-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_get
2016-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 address
2016-07-05 11:45:47.303 85426 ERROR magnum
^C

I am wondering is there anything for configure the magnum?

thanks so much

wally
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160705/bd9b22c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160705/bd9b22c2/attachment.gif>


More information about the OpenStack-dev mailing list