Skip to content
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

Conjur prints its version upon startup #1531

Closed
2 tasks done
orenbm opened this issue May 6, 2020 · 0 comments
Closed
2 tasks done

Conjur prints its version upon startup #1531

orenbm opened this issue May 6, 2020 · 0 comments
Assignees

Comments

@orenbm
Copy link
Member

orenbm commented May 6, 2020

When we start the Conjur server, it prints the following to the log:

authn-local is listening at /run/authn-local/.socket
..../opt/conjur-server/app/domain/authentication/authn_azure/authenticator.rb:7: warning: already initialized constant Authentication::AuthnAzure::Log
/opt/conjur-server/app/domain/authentication/authn_azure/application_identity.rb:4: warning: previous definition of Log was here
/opt/conjur-server/app/domain/authentication/o_auth/fetch_provider_keys.rb:6: warning: already initialized constant Authentication::OAuth::Log
/opt/conjur-server/app/domain/authentication/o_auth/verify_and_decode_token.rb:7: warning: previous definition of Log was here
/opt/conjur-server/app/domain/authentication/o_auth/fetch_provider_keys.rb:7: warning: already initialized constant Authentication::OAuth::Err
/opt/conjur-server/app/domain/authentication/o_auth/verify_and_decode_token.rb:6: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/o_auth/discover_identity_provider.rb:4: warning: already initialized constant Authentication::OAuth::Log
/opt/conjur-server/app/domain/authentication/o_auth/fetch_provider_keys.rb:6: warning: previous definition of Log was here
/opt/conjur-server/app/domain/authentication/o_auth/discover_identity_provider.rb:5: warning: already initialized constant Authentication::OAuth::Err
/opt/conjur-server/app/domain/authentication/o_auth/fetch_provider_keys.rb:7: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/authn_azure/validate_application_identity.rb:6: warning: already initialized constant Authentication::AuthnAzure::Log
/opt/conjur-server/app/domain/authentication/authn_azure/authenticator.rb:7: warning: previous definition of Log was here
/opt/conjur-server/app/domain/authentication/authn_azure/validate_application_identity.rb:7: warning: already initialized constant Authentication::AuthnAzure::Err
/opt/conjur-server/app/domain/authentication/authn_azure/authenticator.rb:6: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/authn_azure/validate_azure_annotations.rb:6: warning: already initialized constant Authentication::AuthnAzure::Log
/opt/conjur-server/app/domain/authentication/authn_azure/validate_application_identity.rb:6: warning: previous definition of Log was here
/opt/conjur-server/app/domain/authentication/authn_azure/validate_azure_annotations.rb:7: warning: already initialized constant Authentication::AuthnAzure::Err
/opt/conjur-server/app/domain/authentication/authn_azure/validate_application_identity.rb:7: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/authn_azure/validate_status.rb:4: warning: already initialized constant Authentication::AuthnAzure::Err
/opt/conjur-server/app/domain/authentication/authn_azure/validate_azure_annotations.rb:7: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/authn_azure/xms_mirid.rb:4: warning: already initialized constant Authentication::AuthnAzure::Err
/opt/conjur-server/app/domain/authentication/authn_azure/validate_status.rb:4: warning: previous definition of Err was here
/opt/conjur-server/app/domain/authentication/authn_k8s/validate_pod_request.rb:8: warning: already initialized constant Authentication::AuthnK8s::Err
/opt/conjur-server/app/domain/authentication/authn_k8s/application_identity.rb:5: warning: previous definition of Err was here
=> Booting Puma
=> Rails 5.2.4.2 application starting in production
=> Run `rails server -h` for more startup options
[21] Puma starting in cluster mode...
[21] * Version 3.12.4 (ruby 2.5.1-p57), codename: Llamas in Pajamas
[21] * Min threads: 5, max threads: 5
[21] * Environment: development
[21] * Process workers: 2
[21] * Preloading application
[21] * Listening on tcp://0.0.0.0:80
[21] Use Ctrl-C to stop
[21] - Worker 0 (pid: 37) booted, phase: 0
[21] - Worker 1 (pid: 46) booted, phase: 0

It will be very helpful for our supportability if the server will print also the version on Conjur. More importantly, this log message should be printed in DAP so it will help us to indicate the Conjur version inside DAP.

DoD:

  • Conjur version is logged upon startup of Conjur OSS
  • Conjur version is logged upon startup of DAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants