[magnum] [stein] kubernetes stack does not terminate

Ignazio Cassano ignaziocassano at gmail.com
Mon Dec 2 15:49:02 UTC 2019


Hello, the stack went fine with paramenter you suggested....many many
thanks.

I have got further issues :

1) /var/log/magnum on controllers in emply.

Logs are sent on /var/log/messages

2)  in var log messages I have a lot of errors like the following:

ec  2 16:47:15 tst2-osctrl01 magnum-api: Traceback (most recent call last):
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/SocketServer.py", line 568, in process_request
Dec  2 16:47:15 tst2-osctrl01 magnum-api: self.finish_request(request,
client_address)
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request
Dec  2 16:47:15 tst2-osctrl01 magnum-api: self.RequestHandlerClass(request,
client_address, self)
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/SocketServer.py", line 651, in __init__
Dec  2 16:47:15 tst2-osctrl01 magnum-api: self.finish()
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/SocketServer.py", line 710, in finish
Dec  2 16:47:15 tst2-osctrl01 magnum-api: self.wfile.close()
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/socket.py", line 279, in close
Dec  2 16:47:15 tst2-osctrl01 magnum-api: self.flush()
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib64/python2.7/socket.py", line 303, in flush
Dec  2 16:47:15 tst2-osctrl01 magnum-api:
self._sock.sendall(view[write_offset:write_offset+buffer_size])
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 401, in
sendall
Dec  2 16:47:15 tst2-osctrl01 magnum-api: tail = self.send(data, flags)
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 395, in
send
Dec  2 16:47:15 tst2-osctrl01 magnum-api: return
self._send_loop(self.fd.send, data, flags)
Dec  2 16:47:15 tst2-osctrl01 magnum-api: File
"/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 382, in
_send_loop
Dec  2 16:47:15 tst2-osctrl01 magnum-api: return send_method(data, *args)
Dec  2 16:47:15 tst2-osctrl01 magnum-api: error: [Errno 32] Broken pipe

I deplpyed magnum on 3 controllers with a pacemaker cluster and haproxy.
I can use dashboard and command line for magnum so I do not understand why
I got the above errors.


Regards
Ignazio

Il giorno lun 2 dic 2019 alle ore 16:29 Bharat Kunwar <bharat at stackhpc.com>
ha scritto:

> Yes you can specify comma separated `labels` when you create a cluster
> template/cluster from the dashboard.
>
> e.g. heat_container_agent_tag=train-stable,kube_tag=v1.14.8.
>
> Also make sure cluster_user_trust=True inside your magnum.conf.
>
> On 2 Dec 2019, at 15:26, Ignazio Cassano <ignaziocassano at gmail.com> wrote:
>
> The network plugin is flannel .
> I do not kow what is kube_tag . I read  that with it I can specify the
> kubernetes version, right ?
> I am using openstack dashboard for creating my cluster: where I can
> specify heat_container_agent_tag: train-stable in the dashboard ?
> Thanks
> Ignazio
>
> Il giorno lun 2 dic 2019 alle ore 16:11 Bharat Kunwar <bharat at stackhpc.com>
> ha scritto:
>
>> Hi Ignazio,
>>
>> What version of kube_tag are you trying to run? What network plugin? I
>> suggest using `heat_container_agent_tag: train-stable` as its easier to
>> debug.
>>
>>
>> Best
>>
>> bharat
>>
>> > On 2 Dec 2019, at 15:08, Ignazio Cassano <ignaziocassano at gmail.com>
>> wrote:
>> >
>> > hello, I've just installed stein with magnum on centos 7. I am creating
>> a kubernetes cluster but it is running since 22 minutes and I think it will
>> not work because the heat stack is waiting OSSoftwareDeployment completes
>> > I presume something is not working on heat with magnum. I ran several
>> stack with Software Deployment without magnum, and they worked fine
>> >
>> > Thanks
>> > Ignazio
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191202/39401a53/attachment.html>


More information about the openstack-discuss mailing list