-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create Cluster over WebUI - SSH Keys Ids exchange failed #103
Comments
Maybe some strange character in the password? If you could confirm we can
have a use case to reproduce.
Thanks!
El mar, 24 ago 2021 a las 9:08, BaraCoding ***@***.***>)
escribió:
… Hello,
i have changed my password on both machines first to -TestLB1111-L0T!
After that i have configured my Network for the Cluster and than i have
tryed to connect the cluster over the WebUI (Zevenet 6.1).
I got the following error:
Aug 24 08:42:56 LB1 enterprise.bin[2100]: (INFO) Login successful for
user: root
Aug 24 08:42:56 LB1 enterprise.bin[2100]: (INFO) STATUS: 200 REQUEST: POST
/zapi/v4.0/zapi.cgi/session
Aug 24 08:42:56 LB1 enterprise.bin[2116]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/rbac/menus
Aug 24 08:42:56 LB1 enterprise.bin[2117]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/certificates/activation/info
Aug 24 08:42:56 LB1 enterprise.bin[2192]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/system/info
Aug 24 08:42:56 LB1 enterprise.bin[2195]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/system/dns
Aug 24 08:43:01 LB1 enterprise.bin[2236]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/system/cluster
Aug 24 08:43:01 LB1 enterprise.bin[2236]: (INFO) webgui :: There is no
cluster configured on this node.
Aug 24 08:43:02 LB1 enterprise.bin[2258]: (INFO) webgui :: STATUS: 200
REQUEST: GET /zapi/v4.0/zapi.cgi/interfaces
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) api :: POST DATA:
{"local_ip":"192.168.0.109","remote_ip":"192.168.0.110","remote_password":"*******"}
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) rbac :: Request from root
to POST /system/cluster. Action allowed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) system :: enterprise.bin
running: HOME="/root" /usr/local/zevenet/bin/ssh-copy-id.sh
-TestLB1111-L0T! ***@***.***
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) error :: out:
/usr/bin/expect: invalid option -- 'Z'
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) error :: usage: expect
[-div] [-c cmds] [[-f] cmdfile] [args]
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) system :: last command
failed!
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) cluster :: An error
happened copying the Id key to the host 192.168.0.110
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) cluster :: SSH Keys Ids
exchange failed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) webgui :: Enabling
cluster: SSH Keys Ids exchange failed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) webgui :: STATUS: 400
REQUEST: POST /zapi/v4.0/zapi.cgi/system/cluster
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) webgui :: SSH Keys Ids
exchange failed
If i changed my Passwort back to admin1234 the process work like a charm.
There is an errror in the SSH-Key creating script that does not work with
my previeus password.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#103>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBQEPBZJ3H5E4Y7EVEFUL3T6NAPPANCNFSM5CWFZNJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Emilio CamposZEVENET Teamwww.zevenet.com
Review ZEVENET Product at Gartner Insights <https://gtnr.io/LfXtqnsSr>
<https://www.linkedin.com/company/zevenet> <https://twitter.com/zevenet>
<https://www.facebook.com/zevenet> <https://github.com/zevenet>
[image: ZEVENET] <https://www.zevenet.com/signature/>
DISCLAIMER: This message contains confidential information and is intended
only for the individual named. If you
are not the named addressee please notify the sender immediately by email
if you have received it by mistake and
delete it from your system, you should not disseminate, distribute or copy
this email in whole or in part.
|
Hi, i have figured out that the first hyphen (-) caused the problem. The script "/usr/local/zevenet/bin/ssh-copy-id.sh" interpretes with the hyphen the first letter as an option for the script. |
Thanks for the update.
El mié, 25 ago 2021 a las 12:14, BaraCoding ***@***.***>)
escribió:
… Hi,
i have figured out that the first hyphen (-) caused the problem. The
script "/usr/local/zevenet/bin/ssh-copy-id.sh" interpretes with the hyphen
the first letter as an option for the script.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#103 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBQEPHGWGJPWZWODA4ILADT6S67PANCNFSM5CWFZNJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Emilio CamposZEVENET Teamwww.zevenet.com
Review ZEVENET Product at Gartner Insights <https://gtnr.io/LfXtqnsSr>
<https://www.linkedin.com/company/zevenet> <https://twitter.com/zevenet>
<https://www.facebook.com/zevenet> <https://github.com/zevenet>
[image: ZEVENET] <https://www.zevenet.com/signature/>
DISCLAIMER: This message contains confidential information and is intended
only for the individual named. If you
are not the named addressee please notify the sender immediately by email
if you have received it by mistake and
delete it from your system, you should not disseminate, distribute or copy
this email in whole or in part.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
i have changed my password on both machines first to -TestLB1111-L0T!
After that i have configured my Network for the Cluster and than i have tryed to connect the cluster over the WebUI (Zevenet 6.1).
I got the following error:
Aug 24 08:42:56 LB1 enterprise.bin[2100]: (INFO) Login successful for user: root
Aug 24 08:42:56 LB1 enterprise.bin[2100]: (INFO) STATUS: 200 REQUEST: POST /zapi/v4.0/zapi.cgi/session
Aug 24 08:42:56 LB1 enterprise.bin[2116]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/rbac/menus
Aug 24 08:42:56 LB1 enterprise.bin[2117]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/certificates/activation/info
Aug 24 08:42:56 LB1 enterprise.bin[2192]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/system/info
Aug 24 08:42:56 LB1 enterprise.bin[2195]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/system/dns
Aug 24 08:43:01 LB1 enterprise.bin[2236]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/system/cluster
Aug 24 08:43:01 LB1 enterprise.bin[2236]: (INFO) webgui :: There is no cluster configured on this node.
Aug 24 08:43:02 LB1 enterprise.bin[2258]: (INFO) webgui :: STATUS: 200 REQUEST: GET /zapi/v4.0/zapi.cgi/interfaces
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) api :: POST DATA: {"local_ip":"192.168.0.109","remote_ip":"192.168.0.110","remote_password":"*******"}
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) rbac :: Request from root to POST /system/cluster. Action allowed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) system :: enterprise.bin running: HOME="/root" /usr/local/zevenet/bin/ssh-copy-id.sh -TestLB1111-L0T! root@192.168.0.110
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) error :: out: /usr/bin/expect: invalid option -- 'T'
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) error :: usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) system :: last command failed!
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) cluster :: An error happened copying the Id key to the host 192.168.0.110
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) cluster :: SSH Keys Ids exchange failed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (ERROR) webgui :: Enabling cluster: SSH Keys Ids exchange failed
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) webgui :: STATUS: 400 REQUEST: POST /zapi/v4.0/zapi.cgi/system/cluster
Aug 24 08:43:32 LB1 enterprise.bin[2430]: (INFO) webgui :: SSH Keys Ids exchange failed
If i changed my Passwort back to admin1234 the process work like a charm.
There is an errror in the SSH-Key creating script that does not work with my previeus password.
The text was updated successfully, but these errors were encountered: