Secretless Broker: "Error: Conjur provider unable to log in to Conjur:" when trying to start secretless broker

Secretless Broker: "Error: Conjur provider unable to log in to Conjur:" when trying to start secretless broker

89
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM


Symptom


When starting secretless broker, the broker fails to start. The following appears in the logs: 
2019/05/30 16:06:00 Secretless starting up...
2019/05/30 16:06:00 WARN: Config file and config manager specified - forcing 'configfile' configuration manager!
2019/05/30 16:06:00 Loading internal plugins...
2019/05/30 16:06:00 - ConfigurationManagers: [configfile k8s/crd]
2019/05/30 16:06:00 - ConnectionManagers: []
2019/05/30 16:06:00 - Providers: [keychain kubernetes literal vault aws conjur env file]
2019/05/30 16:06:00 - Handlers: [sshagent http/aws http/basic_auth http/conjur mysql pg ssh]
2019/05/30 16:06:00 - Listeners: [mysql pg ssh ssh-agent http]
2019/05/30 16:06:00 Completed loading internal plugins.
2019/05/30 16:06:00 Loading external library plugins...
2019/05/30 16:06:00 Registering shutdown signal listeners...
2019/05/30 16:06:00 Initializing configuration manager 'configfile'...
2019/05/30 16:06:00 Trying to load configuration file: /etc/secretless/secretless.yml
2019/05/30 16:06:00 Configuration manager 'configfile' initialized (configSpec: '/etc/secretless/secretless.yml').
2019/05/30 16:06:00 Initializing connection managers...
2019/05/30 16:06:00 Initialization of plugins done.
2019/05/30 16:06:00 Initializing the proxy...
2019/05/30 16:06:00 Initializing health check on :5335...
2019/05/30 16:06:00 Initialization of health check done. You can access the endpoint at `/live` and `/ready`.
2019/05/30 16:06:00 Waiting for valid configuration to be provided...
2019/05/30 16:06:00 Configuration manager 'configfile' provided new configuration...
2019/05/30 16:06:00 Reloading...
2019/05/30 16:06:00 ----------------------------
2019/05/30 16:06:00 Registering reload signal listeners...
2019/05/30 16:06:00 Starting all listeners and handlers...
2019/05/30 16:06:00 pg listener 'test-app-pg-listener' listening at: [::]:5432
2019/05/30 16:06:00 mysql listener 'test-app-mysql-listener' listening at: [::]:3306
2019/05/30 16:06:14 Instantiating provider 'conjur'
2019/05/30 16:06:14 Info: Conjur provider using Kubernetes authenticator-based authentication
2019/05/30 16:06:14 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:14 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:06:16 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:16 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:06:21 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:21 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:06:26 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:26 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:06:42 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:42 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:06:55 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:06:55 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:07:17 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:07:17 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:07:36 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:07:36 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:07:43 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:07:43 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:07:53 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:07:53 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:08:13 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:08:13 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:08:23 logging in as host/conjur/authn-k8s/dev/apps/sgnn7-demo/service_account/test-app-secretless.
2019/05/30 16:08:23 making login request to http://nopehttps://conjur-follower.conjur-0xx9.svc.cluster.local/api/authn-k8s/dev/inject_client_cert
2019/05/30 16:08:23 ERROR: Provider 'conjur' could not be used! ERROR: Conjur provider could not retrieve access token using the authenticator client: Error: Conjur provider unable to log in to Conjur: Post http://nopehttps//conjur-follower.conjur.svc.cluster.local/api/authn-k8s/dev/inject_client_cert: dial tcp: lookup nopehttps on x.x.x.x: no such host


Environment


Secretless Broker 1.0

Cause


Secretless broker has invalid credentials or URL for Conjur server

Resolution


  • Ensure that CONJUR_APPLIANCE_URL and CONJUR_AUTHN_URL are valid in Secretless sidecar configuration.
  • Ensure that there is network connectivity between sidecar containers and Conjur


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000019HOCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail