Re: [openstack-dev] [zun] Failed to create Container

2018-11-21 Thread Hongbin Lu
;>> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
>>>> 13974 ERROR kuryr NoSuchOptError: no such option driver in group [binding]
>>>> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
>>>> 13974 ERROR kuryr
>>>> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Main
>>>> process exited, code=exited, status=1/FAILURE
>>>> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Unit
>>>> entered failed state.
>>>> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Failed
>>>> with result 'exit-code'.
>>>>
>>>>
>>>> and also the command lsof -iTCP -sTCP:LISTEN -P doesn't show the kuryr
>>>> service :
>>>> COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
>>>> dockerd   1144 root5u  IPv4  20120  0t0  TCP
>>>> compute:2375 (LISTEN)
>>>> sshd  1288 root3u  IPv4  19532  0t0  TCP *:22
>>>> (LISTEN)
>>>> sshd  1288 root4u  IPv6  19534  0t0  TCP *:22
>>>> (LISTEN)
>>>> dnsmasq   1961   nobody6u  IPv4  23450  0t0  TCP
>>>> 192.168.122.1:53 (LISTEN)
>>>> sshd  4163   adouni9u  IPv6  34950  0t0  TCP
>>>> localhost:6010 (LISTEN)
>>>> sshd  4163   adouni   10u  IPv4  34951  0t0  TCP
>>>> localhost:6010 (LISTEN)
>>>> qemu-syst 4621 libvirt-qemu   18u  IPv4  37121  0t0  TCP *:5900
>>>> (LISTEN)
>>>>
>>>> !!!
>>>>
>>>>
>>>> Le mer. 21 nov. 2018 à 01:45, Jacob Burckhardt <
>>>> jburckha...@pdvwireless.com> a écrit :
>>>>
>>>>> Your error message says it cannot connect to port 23750.  That's the
>>>>> kuryr-libnetwork default listen port.  On 192.168.1.10, run:
>>>>>
>>>>>
>>>>>
>>>>> lsof -iTCP -sTCP:LISTEN -P
>>>>>
>>>>>
>>>>>
>>>>> On my compute node, it outputs:
>>>>>
>>>>>
>>>>>
>>>>> COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
>>>>>
>>>>> …
>>>>>
>>>>> kuryr-ser 1976root6u  IPv4  30896  0t0  TCP
>>>>> localhost:23750 (LISTEN)
>>>>>
>>>>>
>>>>>
>>>>> So, you can see that kuryr is listening on 23750.  If lsof does not
>>>>> list a process listening on 23750, then check if kuryr is up by running:
>>>>>
>>>>>
>>>>>
>>>>> systemctl status kuryr-libnetwork
>>>>>
>>>>>
>>>>>
>>>>> You can also try restarting it by running:
>>>>>
>>>>>
>>>>>
>>>>> systemctl restart kuryr-libnetwork
>>>>>
>>>>>
>>>>>
>>>>> I installed that service by following:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
>>>>>
>>>>>
>>>>>
>>>>> That is the queens install guide which might help you since zun has no
>>>>> install guide in pike.
>>>>>
>>>>>
>>>>>
>>>>> If you see it listening, you can try this command:
>>>>>
>>>>>
>>>>>
>>>>> telnet 192.168.1.10 23750
>>>>>
>>>>>
>>>>>
>>>>> If it fails to connect, then try:
>>>>>
>>>>>
>>>>>
>>>>> telnet localhost 23750
>>>>>
>>>>>
>>>>>
>>>>> If it works with localhost but not 192.168.1.10, then I think that
>>>>> means you need to tell docker to connect to localhost instead of
>>>>> 192.168.1.10.
>>>>>
>>>>>
>>>>>
>>>>> Can you get the commands at the following web page to succeed?
>>>>>
>>>>>
>>>>>
>>>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html
>>>>>
>>>>>
>>>>>
>>>>> *Jacob Burckhardt*
>>>>>
>>>>> Senior Software Engineer
>>>>>
>>>>> [image: pdvWireless]
>>>>>
>>>>>
>>>>>
>>>>> *From:* Rania Adouni 
>>>>> *Sent:* Tuesday, November 20, 2018 2:02 PM
>>>>> *To:* openstack-dev@lists.openstack.org
>>>>> *Subject:* [openstack-dev] [zun] Failed to create Container
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi ,
>>>>>
>>>>>
>>>>>
>>>>> I am starting to use zun on openstack pike , and when I try to lunch
>>>>> container with cirros image , I get this reason : Docker internal
>>>>> error: 500 Server Error: Internal Server Error ("legacy plugin: Post
>>>>> http://192.168.1.10:23750/Plugin.Activate: dial tcp 192.168.1.10:23750:
>>>>> connect: connection refused").
>>>>>
>>>>> you can find here the log on my compute node :
>>>>> https://pastebin.com/nZTiTZiV.
>>>>>
>>>>> some help with this will be great .
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Rania Adouni
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> __
>>>>> OpenStack Development Mailing List (not for usage questions)
>>>>> Unsubscribe:
>>>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>
>>>>
>>>> __
>>>> OpenStack Development Mailing List (not for usage questions)
>>>> Unsubscribe:
>>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Rania Adouni
>>> localhost:6010 (LISTEN)
>>> qemu-syst 4621 libvirt-qemu   18u  IPv4  37121  0t0  TCP *:5900
>>> (LISTEN)
>>>
>>> !!!
>>>
>>>
>>> Le mer. 21 nov. 2018 à 01:45, Jacob Burckhardt <
>>> jburckha...@pdvwireless.com> a écrit :
>>>
>>>> Your error message says it cannot connect to port 23750.  That's the
>>>> kuryr-libnetwork default listen port.  On 192.168.1.10, run:
>>>>
>>>>
>>>>
>>>> lsof -iTCP -sTCP:LISTEN -P
>>>>
>>>>
>>>>
>>>> On my compute node, it outputs:
>>>>
>>>>
>>>>
>>>> COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
>>>>
>>>> …
>>>>
>>>> kuryr-ser 1976root6u  IPv4  30896  0t0  TCP
>>>> localhost:23750 (LISTEN)
>>>>
>>>>
>>>>
>>>> So, you can see that kuryr is listening on 23750.  If lsof does not
>>>> list a process listening on 23750, then check if kuryr is up by running:
>>>>
>>>>
>>>>
>>>> systemctl status kuryr-libnetwork
>>>>
>>>>
>>>>
>>>> You can also try restarting it by running:
>>>>
>>>>
>>>>
>>>> systemctl restart kuryr-libnetwork
>>>>
>>>>
>>>>
>>>> I installed that service by following:
>>>>
>>>>
>>>>
>>>>
>>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
>>>>
>>>>
>>>>
>>>> That is the queens install guide which might help you since zun has no
>>>> install guide in pike.
>>>>
>>>>
>>>>
>>>> If you see it listening, you can try this command:
>>>>
>>>>
>>>>
>>>> telnet 192.168.1.10 23750
>>>>
>>>>
>>>>
>>>> If it fails to connect, then try:
>>>>
>>>>
>>>>
>>>> telnet localhost 23750
>>>>
>>>>
>>>>
>>>> If it works with localhost but not 192.168.1.10, then I think that
>>>> means you need to tell docker to connect to localhost instead of
>>>> 192.168.1.10.
>>>>
>>>>
>>>>
>>>> Can you get the commands at the following web page to succeed?
>>>>
>>>>
>>>>
>>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html
>>>>
>>>>
>>>>
>>>> *Jacob Burckhardt*
>>>>
>>>> Senior Software Engineer
>>>>
>>>> [image: pdvWireless]
>>>>
>>>>
>>>>
>>>> *From:* Rania Adouni 
>>>> *Sent:* Tuesday, November 20, 2018 2:02 PM
>>>> *To:* openstack-dev@lists.openstack.org
>>>> *Subject:* [openstack-dev] [zun] Failed to create Container
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi ,
>>>>
>>>>
>>>>
>>>> I am starting to use zun on openstack pike , and when I try to lunch
>>>> container with cirros image , I get this reason : Docker internal
>>>> error: 500 Server Error: Internal Server Error ("legacy plugin: Post
>>>> http://192.168.1.10:23750/Plugin.Activate: dial tcp 192.168.1.10:23750:
>>>> connect: connection refused").
>>>>
>>>> you can find here the log on my compute node :
>>>> https://pastebin.com/nZTiTZiV.
>>>>
>>>> some help with this will be great .
>>>>
>>>> Best Regards,
>>>>
>>>> Rania Adouni
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> __
>>>> OpenStack Development Mailing List (not for usage questions)
>>>> Unsubscribe:
>>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Rania Adouni
o try restarting it by running:
>>>
>>>
>>>
>>> systemctl restart kuryr-libnetwork
>>>
>>>
>>>
>>> I installed that service by following:
>>>
>>>
>>>
>>>
>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
>>>
>>>
>>>
>>> That is the queens install guide which might help you since zun has no
>>> install guide in pike.
>>>
>>>
>>>
>>> If you see it listening, you can try this command:
>>>
>>>
>>>
>>> telnet 192.168.1.10 23750
>>>
>>>
>>>
>>> If it fails to connect, then try:
>>>
>>>
>>>
>>> telnet localhost 23750
>>>
>>>
>>>
>>> If it works with localhost but not 192.168.1.10, then I think that means
>>> you need to tell docker to connect to localhost instead of 192.168.1.10.
>>>
>>>
>>>
>>> Can you get the commands at the following web page to succeed?
>>>
>>>
>>>
>>> https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html
>>>
>>>
>>>
>>> *Jacob Burckhardt*
>>>
>>> Senior Software Engineer
>>>
>>> [image: pdvWireless]
>>>
>>>
>>>
>>> *From:* Rania Adouni 
>>> *Sent:* Tuesday, November 20, 2018 2:02 PM
>>> *To:* openstack-dev@lists.openstack.org
>>> *Subject:* [openstack-dev] [zun] Failed to create Container
>>>
>>>
>>>
>>>
>>>
>>> Hi ,
>>>
>>>
>>>
>>> I am starting to use zun on openstack pike , and when I try to lunch
>>> container with cirros image , I get this reason : Docker internal
>>> error: 500 Server Error: Internal Server Error ("legacy plugin: Post
>>> http://192.168.1.10:23750/Plugin.Activate: dial tcp 192.168.1.10:23750:
>>> connect: connection refused").
>>>
>>> you can find here the log on my compute node :
>>> https://pastebin.com/nZTiTZiV.
>>>
>>> some help with this will be great .
>>>
>>> Best Regards,
>>>
>>> Rania Adouni
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Hongbin Lu
Hi Rania,

The config option 'driver' was recently renamed, so I guess the problem is
the version of kuryr-lib is not right. The Pike release of Zun is matched
to kuryr-lib 0.6.0 so you might want to confirm the version of kuryr-lib.

$ sudo pip freeze | grep kuryr

If the version is not right, uninstall and re-install the kuryr-lib, then
restart kuryr-libnetwork. Let me know if it still doesn't work.

Best regards,
Hongbin

On Tue, Nov 20, 2018 at 8:01 PM Rania Adouni  wrote:

> hi ,
> Thanks for your reply and yes the problem that kuryr-libnetwork  is failed
> to start with the error :
> ● kuryr-libnetwork.service - Kuryr-libnetwork - Docker network plugin for
> Neutron
>Loaded: loaded (/etc/systemd/system/kuryr-libnetwork.service; enabled;
> vendor preset: enabled)
>Active: failed (Result: exit-code) since mer. 2018-11-21 01:48:48 CET;
> 287ms ago
>   Process: 13974 ExecStart=/usr/local/bin/kuryr-server --config-file
> /etc/kuryr/kuryr.conf (code=exited, status=1/FAILURE)
>  Main PID: 13974 (code=exited, status=1/FAILURE)
>
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr value = self._do_get(name, group, namespace)
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr   File
> "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2942, in _
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr info = self._get_opt_info(name, group)
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr   File
> "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3099, in _
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr raise NoSuchOptError(opt_name, group)
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr NoSuchOptError: no such option driver in group [binding]
> nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542
> 13974 ERROR kuryr
> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Main
> process exited, code=exited, status=1/FAILURE
> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Unit
> entered failed state.
> nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Failed with
> result 'exit-code'.
>
>
> and also the command lsof -iTCP -sTCP:LISTEN -P doesn't show the kuryr
> service :
> COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> dockerd   1144 root5u  IPv4  20120  0t0  TCP compute:2375
> (LISTEN)
> sshd  1288 root3u  IPv4  19532  0t0  TCP *:22 (LISTEN)
> sshd  1288 root4u  IPv6  19534  0t0  TCP *:22 (LISTEN)
> dnsmasq   1961   nobody6u  IPv4  23450  0t0  TCP
> 192.168.122.1:53 (LISTEN)
> sshd  4163   adouni9u  IPv6  34950  0t0  TCP
> localhost:6010 (LISTEN)
> sshd  4163   adouni   10u  IPv4  34951  0t0  TCP
> localhost:6010 (LISTEN)
> qemu-syst 4621 libvirt-qemu   18u  IPv4  37121  0t0  TCP *:5900
> (LISTEN)
>
> !!!
>
>
> Le mer. 21 nov. 2018 à 01:45, Jacob Burckhardt <
> jburckha...@pdvwireless.com> a écrit :
>
>> Your error message says it cannot connect to port 23750.  That's the
>> kuryr-libnetwork default listen port.  On 192.168.1.10, run:
>>
>>
>>
>> lsof -iTCP -sTCP:LISTEN -P
>>
>>
>>
>> On my compute node, it outputs:
>>
>>
>>
>> COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
>>
>> …
>>
>> kuryr-ser 1976root6u  IPv4  30896  0t0  TCP
>> localhost:23750 (LISTEN)
>>
>>
>>
>> So, you can see that kuryr is listening on 23750.  If lsof does not list
>> a process listening on 23750, then check if kuryr is up by running:
>>
>>
>>
>> systemctl status kuryr-libnetwork
>>
>>
>>
>> You can also try restarting it by running:
>>
>>
>>
>> systemctl restart kuryr-libnetwork
>>
>>
>>
>> I installed that service by following:
>>
>>
>>
>>
>> https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
>>
>>
>>
>> That is the queens install guide which might help you since zun has no
>> install guide in pike.
>>
>>
>>
>> If you see it listening, you can try this command:
>>
>>
>>
>> telnet 192.168.1.10 23750
>>
>>
>>
>> If it fails to connect, then try:
>>
>>
>>
>> telnet localhost 23750

Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Jacob Burckhardt
The important part of the error message seems to be:

NoSuchOptError: no such option driver in group [binding]

In my /etc/kuryr/kuryr.conf file, all the text is commented out in the 
[binding] section.  Some of the commented options have "driver" in the name.  
Since they are commented, I guess they have defaults.  I suggest commenting any 
option that mentions "driver" and then restart kuryr-libnetwork.

-Jacob Burckhardt

From: Rania Adouni  
Sent: Tuesday, November 20, 2018 4:58 PM
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [zun] Failed to create Container


hi , 
Thanks for your reply and yes the problem that kuryr-libnetwork  is failed to 
start with the error :
● kuryr-libnetwork.service - Kuryr-libnetwork - Docker network plugin for 
Neutron
   Loaded: loaded (/etc/systemd/system/kuryr-libnetwork.service; enabled; 
vendor preset: enabled)
   Active: failed (Result: exit-code) since mer. 2018-11-21 01:48:48 CET; 287ms 
ago
  Process: 13974 ExecStart=/usr/local/bin/kuryr-server --config-file 
/etc/kuryr/kuryr.conf (code=exited, status=1/FAILURE)
 Main PID: 13974 (code=exited, status=1/FAILURE)

nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr     value = self._do_get(name, group, namespace)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 
2942, in _
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr     info = self._get_opt_info(name, group)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 
3099, in _
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr     raise NoSuchOptError(opt_name, group)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr NoSuchOptError: no such option driver in group [binding]
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974 
ERROR kuryr
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Main process 
exited, code=exited, status=1/FAILURE
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Unit entered 
failed state.
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Failed with 
result 'exit-code'.


and also the command lsof -iTCP -sTCP:LISTEN -P doesn't show the kuryr service :
COMMAND    PID         USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dockerd   1144         root    5u  IPv4  20120      0t0  TCP compute:2375 
(LISTEN)
sshd      1288         root    3u  IPv4  19532      0t0  TCP *:22 (LISTEN)
sshd      1288         root    4u  IPv6  19534      0t0  TCP *:22 (LISTEN)
dnsmasq   1961       nobody    6u  IPv4  23450      0t0  TCP 
http://192.168.122.1:53 (LISTEN)
sshd      4163       adouni    9u  IPv6  34950      0t0  TCP localhost:6010 
(LISTEN)
sshd      4163       adouni   10u  IPv4  34951      0t0  TCP localhost:6010 
(LISTEN)
qemu-syst 4621 libvirt-qemu   18u  IPv4  37121      0t0  TCP *:5900 (LISTEN)
 
!!!


Le mer. 21 nov. 2018 à 01:45, Jacob Burckhardt 
<mailto:jburckha...@pdvwireless.com> a écrit :
Your error message says it cannot connect to port 23750.  That's the 
kuryr-libnetwork default listen port.  On 192.168.1.10, run:
 
lsof -iTCP -sTCP:LISTEN -P
 
On my compute node, it outputs:
 
COMMAND    PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
…
kuryr-ser 1976    root    6u  IPv4  30896  0t0  TCP localhost:23750 
(LISTEN)
 
So, you can see that kuryr is listening on 23750.  If lsof does not list a 
process listening on 23750, then check if kuryr is up by running:
 
systemctl status kuryr-libnetwork
 
You can also try restarting it by running:
 
systemctl restart kuryr-libnetwork
 
I installed that service by following:
 
https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
 
That is the queens install guide which might help you since zun has no install 
guide in pike.
 
If you see it listening, you can try this command:
 
telnet 192.168.1.10 23750
 
If it fails to connect, then try:
 
telnet localhost 23750
 
If it works with localhost but not 192.168.1.10, then I think that means you 
need to tell docker to connect to localhost instead of 192.168.1.10.
 
Can you get the commands at the following web page to succeed?
 
https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html
 
Jacob Burckhardt
Senior Software Engineer

 
From: Rania Adouni <mailto:raniaado...@gmail.com> 
Sent: Tuesday, November 20, 2018 2:02 PM
To: mailto:openstack-dev@lists.openstack.org
Subject: [openstack-dev] [zun] Failed to create Container
 

 
Hi ,
 
I am starting to use zun on openstack pike , and when I try to lunch container 
with cirros image , I get this reason : Docker internal error: 500 Server 

Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Rania Adouni
hi ,
Thanks for your reply and yes the problem that kuryr-libnetwork  is failed
to start with the error :
● kuryr-libnetwork.service - Kuryr-libnetwork - Docker network plugin for
Neutron
   Loaded: loaded (/etc/systemd/system/kuryr-libnetwork.service; enabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since mer. 2018-11-21 01:48:48 CET;
287ms ago
  Process: 13974 ExecStart=/usr/local/bin/kuryr-server --config-file
/etc/kuryr/kuryr.conf (code=exited, status=1/FAILURE)
 Main PID: 13974 (code=exited, status=1/FAILURE)

nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr value = self._do_get(name, group, namespace)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 2942, in _
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr info = self._get_opt_info(name, group)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 3099, in _
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr raise NoSuchOptError(opt_name, group)
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr NoSuchOptError: no such option driver in group [binding]
nov. 21 01:48:48 compute kuryr-server[13974]: 2018-11-21 01:48:48.542 13974
ERROR kuryr
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Main process
exited, code=exited, status=1/FAILURE
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Unit entered
failed state.
nov. 21 01:48:48 compute systemd[1]: kuryr-libnetwork.service: Failed with
result 'exit-code'.


and also the command lsof -iTCP -sTCP:LISTEN -P doesn't show the kuryr
service :
COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dockerd   1144 root5u  IPv4  20120  0t0  TCP compute:2375
(LISTEN)
sshd  1288 root3u  IPv4  19532  0t0  TCP *:22 (LISTEN)
sshd  1288 root4u  IPv6  19534  0t0  TCP *:22 (LISTEN)
dnsmasq   1961   nobody6u  IPv4  23450  0t0  TCP
192.168.122.1:53 (LISTEN)
sshd  4163   adouni9u  IPv6  34950  0t0  TCP localhost:6010
(LISTEN)
sshd  4163   adouni   10u  IPv4  34951  0t0  TCP localhost:6010
(LISTEN)
qemu-syst 4621 libvirt-qemu   18u  IPv4  37121  0t0  TCP *:5900 (LISTEN)

!!!


Le mer. 21 nov. 2018 à 01:45, Jacob Burckhardt 
a écrit :

> Your error message says it cannot connect to port 23750.  That's the
> kuryr-libnetwork default listen port.  On 192.168.1.10, run:
>
>
>
> lsof -iTCP -sTCP:LISTEN -P
>
>
>
> On my compute node, it outputs:
>
>
>
> COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
>
> …
>
> kuryr-ser 1976root6u  IPv4  30896  0t0  TCP
> localhost:23750 (LISTEN)
>
>
>
> So, you can see that kuryr is listening on 23750.  If lsof does not list a
> process listening on 23750, then check if kuryr is up by running:
>
>
>
> systemctl status kuryr-libnetwork
>
>
>
> You can also try restarting it by running:
>
>
>
> systemctl restart kuryr-libnetwork
>
>
>
> I installed that service by following:
>
>
>
>
> https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html
>
>
>
> That is the queens install guide which might help you since zun has no
> install guide in pike.
>
>
>
> If you see it listening, you can try this command:
>
>
>
> telnet 192.168.1.10 23750
>
>
>
> If it fails to connect, then try:
>
>
>
> telnet localhost 23750
>
>
>
> If it works with localhost but not 192.168.1.10, then I think that means
> you need to tell docker to connect to localhost instead of 192.168.1.10.
>
>
>
> Can you get the commands at the following web page to succeed?
>
>
>
> https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html
>
>
>
> *Jacob Burckhardt*
>
> Senior Software Engineer
>
> [image: pdvWireless]
>
>
>
> *From:* Rania Adouni 
> *Sent:* Tuesday, November 20, 2018 2:02 PM
> *To:* openstack-dev@lists.openstack.org
> *Subject:* [openstack-dev] [zun] Failed to create Container
>
>
>
>
>
> Hi ,
>
>
>
> I am starting to use zun on openstack pike , and when I try to lunch
> container with cirros image , I get this reason : Docker internal error:
> 500 Server Error: Internal Server Error ("legacy plugin: Post
> http://192.168.1.10:23750/Plugin.Activate: dial tcp 192.168.1.10:23750:
> connect: connection refused").
>
> you can find here the log on my compute 

Re: [openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Jacob Burckhardt
Your error message says it cannot connect to port 23750.  That's the 
kuryr-libnetwork default listen port.  On 192.168.1.10, run:

lsof -iTCP -sTCP:LISTEN -P

On my compute node, it outputs:

COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
…
kuryr-ser 1976root6u  IPv4  30896  0t0  TCP localhost:23750 
(LISTEN)

So, you can see that kuryr is listening on 23750.  If lsof does not list a 
process listening on 23750, then check if kuryr is up by running:

systemctl status kuryr-libnetwork

You can also try restarting it by running:

systemctl restart kuryr-libnetwork

I installed that service by following:

https://docs.openstack.org/kuryr-libnetwork/queens/install/compute-install-ubuntu.html

That is the queens install guide which might help you since zun has no install 
guide in pike.

If you see it listening, you can try this command:

telnet 192.168.1.10 23750

If it fails to connect, then try:

telnet localhost 23750

If it works with localhost but not 192.168.1.10, then I think that means you 
need to tell docker to connect to localhost instead of 192.168.1.10.

Can you get the commands at the following web page to succeed?

https://docs.openstack.org/kuryr-libnetwork/queens/install/verify.html

Jacob Burckhardt
Senior Software Engineer
[pdvWireless]

From: Rania Adouni 
Sent: Tuesday, November 20, 2018 2:02 PM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] [zun] Failed to create Container

[https://mailtrack.io/trace/mail/17bd40a2e38fcf449f8e80fdc1e7d9474dfbed19.png?u=2497697]

Hi ,

I am starting to use zun on openstack pike , and when I try to lunch container 
with cirros image , I get this reason : Docker internal error: 500 Server 
Error: Internal Server Error ("legacy plugin: Post 
http://192.168.1.10:23750/Plugin.Activate: dial tcp 
192.168.1.10:23750<http://192.168.1.10:23750/>: connect: connection refused").
you can find here the log on my compute node :https://pastebin.com/nZTiTZiV.
some help with this will be great .
Best Regards,
Rania Adouni




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [zun] Failed to create Container

2018-11-20 Thread Rania Adouni
Hi ,

I am starting to use zun on openstack pike , and when I try to lunch
container with cirros image , I get this reason : Docker internal error:
500 Server Error: Internal Server Error ("legacy plugin: Post
http://192.168.1.10:23750/Plugin.Activate: dial tcp 192.168.1.10:23750:
connect: connection refused").
you can find here the log on my compute node :https://pastebin.com/nZTiTZiV.
some help with this will be great .
Best Regards,
Rania Adouni
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev