vmware-archive / cfops

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry
http://www.cfops.io
Apache License 2.0
35 stars 24 forks source link

CFOPS error "invalid director credentials" #95

Open awstaples opened 8 years ago

awstaples commented 8 years ago

Running PCF 1.6. CFOPS backup works for my test PCF instance. However, when I attempt a backup of the QA instance, ops-manager tile backs up ok, but elastic-runtime fails with the "invalid director credentials" error.
I have tried setting the variable ER_VERSION=1.6, but that did not help. I am running ER v1.6.4-build1 in test foundation and ER v1.6.20-build1 in QA

Here's the cmd and output.

cfops backup --omh X.X.X.X --du webuser --dp webpass --omu sshuser --omp sshpass -d . -t elastic-runtime 2016/06/22 13:41:07 I0622 13:41:07.780727 24471 opsmanager.go:133] falling back to basic auth for legacy system 2016/06/22 13:42:11 E0622 13:42:11.226177 24471 createCliCommand.go:47] there was an error: invalid director credentials running backup on elastic-runtime tile:tile

thanks.

xchapter7x commented 8 years ago

what version of cfops is this?

for more details on the issue you could also try adding the LOG_LEVEL=debug env var when running. Be careful though as this is extremely verbose and might output creds.

2016-06-22 13:50 GMT-04:00 awstaples notifications@github.com:

Running PCF 1.6. CFOPS backup works for my test PCF instance. However, when I attempt a backup of the QA instance, ops-manager tile backs up ok, but elastic-runtime fails with the "invalid director credentials" error.

I have tried setting the variable ER_VERSION=1.6, but that did not help. I am running ER v1.6.4-build1 in test foundation and ER v1.6.20-build1 in QA

Here's the cmd and output.

cfops backup --omh X.X.X.X --du webuser --dp webpass --omu sshuser --omp sshpass -d . -t elastic-runtime 2016/06/22 13:41:07 I0622 13:41:07.780727 24471 opsmanager.go:133] falling back to basic auth for legacy system 2016/06/22 13:42:11 E0622 13:42:11.226177 24471 createCliCommand.go:47] there was an error: invalid director credentials running backup on elastic-runtime tile:tile

thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pivotalservices/cfops/issues/95, or mute the thread https://github.com/notifications/unsubscribe/AAqI06hhlSh-dIPxdGH3ZlQNrfUKasrXks5qOXX9gaJpZM4I8C7G .

awstaples commented 8 years ago

VERSION: v2.2.26

Regards,

Anthony Staples, RHCSA | Technical Architect | Humana Inc. 123 E. Main St., Louisville, KY 40202 • Office:(502) 476-2870 | • Mobile(502) 435-4146 @ Email:astaples@humana.commailto:astaples@humana.com

From: John Calabrese [mailto:notifications@github.com] Sent: Wednesday, June 22, 2016 2:13 PM To: pivotalservices/cfops Cc: Anthony Staples; Author Subject: Re: [pivotalservices/cfops] CFOPS error "invalid director credentials" (#95)

what version of cfops is this?

for more details on the issue you could also try adding the LOG_LEVEL=debug env var when running. Be careful though as this is extremely verbose and might output creds.

2016-06-22 13:50 GMT-04:00 awstaples notifications@github.com<mailto:notifications@github.com>:

Running PCF 1.6. CFOPS backup works for my test PCF instance. However, when I attempt a backup of the QA instance, ops-manager tile backs up ok, but elastic-runtime fails with the "invalid director credentials" error.

I have tried setting the variable ER_VERSION=1.6, but that did not help. I am running ER v1.6.4-build1 in test foundation and ER v1.6.20-build1 in QA

Here's the cmd and output.

cfops backup --omh X.X.X.X --du webuser --dp webpass --omu sshuser --omp sshpass -d . -t elastic-runtime 2016/06/22 13:41:07 I0622 13:41:07.780727 24471 opsmanager.go:133] falling back to basic auth for legacy system 2016/06/22 13:42:11 E0622 13:42:11.226177 24471 createCliCommand.go:47] there was an error: invalid director credentials running backup on elastic-runtime tile:tile

thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pivotalservices/cfops/issues/95, or mute the thread https://github.com/notifications/unsubscribe/AAqI06hhlSh-dIPxdGH3ZlQNrfUKasrXks5qOXX9gaJpZM4I8C7G .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pivotalservices/cfops/issues/95#issuecomment-227830368, or mute the threadhttps://github.com/notifications/unsubscribe/AQJ9W9504yD9vV3rxOTRqfXIQ2PtJdy-ks5qOXshgaJpZM4I8C7G.

The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.

androyamamoto commented 8 years ago

I am using Version 3.0.2 and I get the same error. What was the solution?

kdudala1 commented 8 years ago

Hi, please take a look at the troubleshooting section on cfops.io and let us know if the steps described there do not work for you.

On Sep 9, 2016 11:07 AM, "androyamamoto" notifications@github.com wrote:

I am using Version 3.0.2 and I get the same error. What was the solution?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pivotalservices/cfops/issues/95#issuecomment-245873658, or mute the thread https://github.com/notifications/unsubscribe-auth/APBCsMpgQ_gjxrFnRK888Z7xddI9BVrAks5qoS_lgaJpZM4I8C7G .