-
Notifications
You must be signed in to change notification settings - Fork 61
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
Password Fail #79
Comments
First of all, which specific version of VmBackup is this, or I cannot try to connect the errors with the line numbers? My guess is that the password contains characters being misinterpreted somehow as part of the command line. You can try enclosing the password in single quotes or creating a password that doesn't contain a "!" or "$"character. The "Authentication failure" error is of course indicating that the attempt to log onto root failed. I get the same error with this password, which of course won't work on my servers. Did you already edit the configuration file to match your environment? |
I change the Password , get the same Authentication Error |
I have never seen this happen for the standard root password on a server, so I'm not sure what to suggest. Does test.cfg have any entries in it that might be confusing things? Again, I need to ask which version of VmBackup are you running: 3.21, 3.22, etc. ? |
NAUbackup Version is v3.22 , and my xenserver version is 7.1 uc1 |
Could you perhaps post your entire test.cfg file (sanitized, as necessary)? |
pool_db_backup=0 run Message [root@xenserver7-hds snapshots]# ./VmBackup.py password test.cfg preview |
There are no VMs or VDIs specified either on the command line or in the file. Could you add one in and try again, please, like: vm-export=Tocloud-ERP-220 You might also try adding onto the end of the command line: |
Sorry , I have already added |
I cannot reproduce the error with the same configuration file with the only difference being that I am using one of my own VMs. I'm not sure what else to suggest! |
Think's I will try other xenserver version |
Hellol,, I have the same issue, im running v.3.25 2019-09-09-(12:24:01) - VmBackup config loaded from: config.cfg |
I made one small change just the other day, changing one dangling https back to http. Try and see if that might help, please. |
the only two occurrences in the script are already http. I forgot to mention I am using xcp-ng v8 sorry for this |
Hmmm... I'd be curious if a different, perhaps shorter, password works? |
Hi, just changed the password to 5 lowercase letters.. same result |
I really have no way to test under XCP-ng, unfortunately, so I'm not sure if its a compatibility issue or what. It seems to work fine under various versions of XenServer. I assume putting the password in double quotes makes no difference, either? |
got it to work.!!! I sent in the clear password instead of the encrypted file. and it is working ./VmBackup.py 'mycurrentlongpassword' config.cfg cheers! |
Ah, great to hear! Maybe the encryption algorithm isn't working right? Could someone else test this on XenServer/CitrixHypervisor with V3.25? |
Hi there, im trying this on Citrix Hypervisor 8.0 standard fully patched and getting the same error. If i provide the password as argument it works but not when using password file. I was also using the latest SDK XenAPI which might be the issue? |
I got the same Message form two Xenserver 7.1 CU1 。
[root@xenserver7-hds snapshots]# ./VmBackup.py password test.cfg preview
2018-05-28-(16:17:24) - VmBackup config loaded from: test.cfg
2018-05-28-(16:17:24) - VmBackup.py running with these settings:
2018-05-28-(16:17:24) - backup_dir = /snapshots/BACKUPS
2018-05-28-(16:17:24) - status_log = /snapshots/NAUbackup/status.log
2018-05-28-(16:17:24) - compress = False
2018-05-28-(16:17:24) - max_backups = 3
2018-05-28-(16:17:24) - vdi_export_format = raw
2018-05-28-(16:17:24) - pool_db_backup = 1
2018-05-28-(16:17:24) - exclude (cnt)= 0
2018-05-28-(16:17:24) - exclude:
2018-05-28-(16:17:24) - vdi-export (cnt)= 0
2018-05-28-(16:17:24) - vdi-export:
2018-05-28-(16:17:24) - vm-export (cnt)= 1
2018-05-28-(16:17:24) - vm-export: Tocloud-ERP-220
['SESSION_AUTHENTICATION_FAILED', 'root', 'Authentication failure']
ERROR - XenAPI authentication error
[root@xenserver7-hds snapshots]#
[root@xenserver7-hds snapshots]# ./VmBackup.py 1qaz$!QAZ test.cfg preview
2018-05-28-(16:19:51) - VmBackup config loaded from: test.cfg
2018-05-28-(16:19:51) - VmBackup.py running with these settings:
2018-05-28-(16:19:51) - backup_dir = /snapshots/BACKUPS
2018-05-28-(16:19:51) - status_log = /snapshots/NAUbackup/status.log
2018-05-28-(16:19:51) - compress = False
2018-05-28-(16:19:51) - max_backups = 3
2018-05-28-(16:19:51) - vdi_export_format = raw
2018-05-28-(16:19:51) - pool_db_backup = 1
2018-05-28-(16:19:51) - exclude (cnt)= 0
2018-05-28-(16:19:51) - exclude:
2018-05-28-(16:19:51) - vdi-export (cnt)= 0
2018-05-28-(16:19:51) - vdi-export:
2018-05-28-(16:19:51) - vm-export (cnt)= 1
2018-05-28-(16:19:51) - vm-export: Tocloud-ERP-220
['SESSION_AUTHENTICATION_FAILED', 'root', 'Authentication failure']
ERROR - XenAPI authentication error
[root@xenserver7-hds snapshots]#
The text was updated successfully, but these errors were encountered: