Hey everybody
I'm trying to setup dashboard between some machines. When I try to add a machine to the dashboard it gives me *A compatible version of Cockpit is not installed on <ADDRESS>. *I'm trying to figure out what is happening, I tracked the code up here: https://github.com/cockpit-project/cockpit/blob/master/pkg/lib/machine-dialo...
I fireup a tcpdump at target and didn't see any noise from the source, so my guess is that something is going wrong on the source side. Also I tried to connect from the target to source and it worked like a charm.
How *cockpit.channel(...)* works. They are a websocket based connection, how can I troubleshoot this? Is there any command line to test cockpit machines connection?
I'm using cockpit from centos7 repositories, version 176. cockpit-dashboard and bridge is installed on both ends and also started. I can connect to cockpit in the target and even add source in its dashboard, is only source -> target that isn't working.
Any help would be appreciated!
Regards,
Okay, I got something but I need to help to interpret this, I got the WS messages:
[image: image.png]
{"payload":"echo","host":"192.168.123.3","command":"open","channel":"1:2!18","flow-control":true,"group":"cockpit1:localhost/dashboard"} 1:2!18 x 8 {"command":"close","channel":"1:2!18","problem":"not-supported"}
This *cockpit1/localhost* seems strange to me :/
Em ter, 23 de abr de 2019 às 18:09, Daniel Hilst daniel@versatushpc.com.br escreveu:
Hey everybody
I'm trying to setup dashboard between some machines. When I try to add a machine to the dashboard it gives me *A compatible version of Cockpit is not installed on <ADDRESS>. *I'm trying to figure out what is happening, I tracked the code up here: https://github.com/cockpit-project/cockpit/blob/master/pkg/lib/machine-dialo...
I fireup a tcpdump at target and didn't see any noise from the source, so my guess is that something is going wrong on the source side. Also I tried to connect from the target to source and it worked like a charm.
How *cockpit.channel(...)* works. They are a websocket based connection, how can I troubleshoot this? Is there any command line to test cockpit machines connection?
I'm using cockpit from centos7 repositories, version 176. cockpit-dashboard and bridge is installed on both ends and also started. I can connect to cockpit in the target and even add source in its dashboard, is only source -> target that isn't working.
Any help would be appreciated!
Regards,
This is strange.
I'd suggest you look at the journal logs and see if cockpit-ssh or cockpit-bridge is posting any explanatory messages.
It may be that the credentials you're using to connect to the other host don't allow cockpit-bridge to be executed (for some strange reason).
Cheers,
Stef
On 23.04.19 23:21, Daniel Hilst wrote:
Okay, I got something but I need to help to interpret this, I got the WS messages:
image.png
{"payload":"echo","host":"192.168.123.3","command":"open","channel":"1:2!18","flow-control":true,"group":"cockpit1:localhost/dashboard"} 1:2!18 x8 {"command":"close","channel":"1:2!18","problem":"not-supported"}
This /cockpit1/localhost/ seems strange to me :/
Em ter, 23 de abr de 2019 às 18:09, Daniel Hilst <daniel@versatushpc.com.br mailto:daniel@versatushpc.com.br> escreveu:
Hey everybody I'm trying to setup dashboard between some machines. When I try to add a machine to the dashboard it gives me /A compatible version of Cockpit is not installed on <ADDRESS>. /I'm trying to figure out what is happening, I tracked the code up here: https://github.com/cockpit-project/cockpit/blob/master/pkg/lib/machine-dialogs.js#L140 I fireup a tcpdump at target and didn't see any noise from the source, so my guess is that something is going wrong on the source side. Also I tried to connect from the target to source and it worked like a charm. How /cockpit.channel(...)/ works. They are a websocket based connection, how can I troubleshoot this? Is there any command line to test cockpit machines connection? I'm using cockpit from centos7 repositories, version 176. cockpit-dashboard and bridge is installed on both ends and also started. I can connect to cockpit in the target and even add source in its dashboard, is only source -> target that isn't working. Any help would be appreciated! Regards,
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedorahoste...
There is no cockpit-ssh running! Thank you so much Stef! I'll try to find out why is not running,
Em qua, 24 de abr de 2019 às 05:32, Stef Walter swalter@redhat.com escreveu:
This is strange.
I'd suggest you look at the journal logs and see if cockpit-ssh or cockpit-bridge is posting any explanatory messages.
It may be that the credentials you're using to connect to the other host don't allow cockpit-bridge to be executed (for some strange reason).
Cheers,
Stef
On 23.04.19 23:21, Daniel Hilst wrote:
Okay, I got something but I need to help to interpret this, I got the WS messages:
image.png
{"payload":"echo","host":"192.168.123.3","command":"open","channel":"1:2!18","flow-control":true,"group":"cockpit1:localhost/dashboard"}
1:2!18 x8 {"command":"close","channel":"1:2!18","problem":"not-supported"}
This /cockpit1/localhost/ seems strange to me :/
Em ter, 23 de abr de 2019 às 18:09, Daniel Hilst <daniel@versatushpc.com.br mailto:daniel@versatushpc.com.br> escreveu:
Hey everybody I'm trying to setup dashboard between some machines. When I try to add a machine to the dashboard it gives me /A compatible version of Cockpit is not installed on <ADDRESS>. /I'm trying to figure out what is happening, I tracked the code up here:
https://github.com/cockpit-project/cockpit/blob/master/pkg/lib/machine-dialo...
I fireup a tcpdump at target and didn't see any noise from the source, so my guess is that something is going wrong on the source side. Also I tried to connect from the target to source and it worked like a charm. How /cockpit.channel(...)/ works. They are a websocket based connection, how can I troubleshoot this? Is there any command line to test cockpit machines connection? I'm using cockpit from centos7 repositories, version 176. cockpit-dashboard and bridge is installed on both ends and also started. I can connect to cockpit in the target and even add source in its dashboard, is only source -> target that isn't working. Any help would be appreciated! Regards,
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to
cockpit-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives:
https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedorahoste...
Thanks again Stef, my libssh was corrupted, this is verifiable by `rpm -qV libssh`, no output means okay. I just reinstalled with yum reinstall and now everything works like a charm!
Cheers
Em qua, 24 de abr de 2019 às 11:23, Daniel Hilst daniel@versatushpc.com.br escreveu:
There is no cockpit-ssh running! Thank you so much Stef! I'll try to find out why is not running,
Em qua, 24 de abr de 2019 às 05:32, Stef Walter swalter@redhat.com escreveu:
This is strange.
I'd suggest you look at the journal logs and see if cockpit-ssh or cockpit-bridge is posting any explanatory messages.
It may be that the credentials you're using to connect to the other host don't allow cockpit-bridge to be executed (for some strange reason).
Cheers,
Stef
On 23.04.19 23:21, Daniel Hilst wrote:
Okay, I got something but I need to help to interpret this, I got the WS messages:
image.png
{"payload":"echo","host":"192.168.123.3","command":"open","channel":"1:2!18","flow-control":true,"group":"cockpit1:localhost/dashboard"}
1:2!18 x8 {"command":"close","channel":"1:2!18","problem":"not-supported"}
This /cockpit1/localhost/ seems strange to me :/
Em ter, 23 de abr de 2019 às 18:09, Daniel Hilst <daniel@versatushpc.com.br mailto:daniel@versatushpc.com.br>
escreveu:
Hey everybody I'm trying to setup dashboard between some machines. When I try to add a machine to the dashboard it gives me /A compatible version of Cockpit is not installed on <ADDRESS>. /I'm trying to figure out what is happening, I tracked the code up here:
https://github.com/cockpit-project/cockpit/blob/master/pkg/lib/machine-dialo...
I fireup a tcpdump at target and didn't see any noise from the source, so my guess is that something is going wrong on the source side. Also I tried to connect from the target to source and it worked like a charm. How /cockpit.channel(...)/ works. They are a websocket based connection, how can I troubleshoot this? Is there any command line to test cockpit machines connection? I'm using cockpit from centos7 repositories, version 176. cockpit-dashboard and bridge is installed on both ends and also started. I can connect to cockpit in the target and even add source in its dashboard, is only source -> target that isn't working. Any help would be appreciated! Regards,
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to
cockpit-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives:
https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedorahoste...
cockpit-devel@lists.fedorahosted.org