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

Print version on server startup #1556

Merged
merged 1 commit into from
May 31, 2020
Merged

Print version on server startup #1556

merged 1 commit into from
May 31, 2020

Conversation

moticless
Copy link
Contributor

Connected to #1539

On Conjur startup, adding printout of "Conjur Version: XXXX", Based on file 'VERSION'. The new printout will be:
Conjur Version: 1.6.0

And in the context of other printouts:

  API key for admin: 1pc4ves3bba8091vn2fvt11454za1k7f1z41a44g7a1m3yg0r1tks6fr
  Creating socket: audit_test_1_47298905114040.sock
  Conjur Version: 1.6.0

@moticless moticless requested a review from orenbm May 18, 2020 17:49
@orenbm
Copy link
Member

orenbm commented May 19, 2020

@moticless can you share the log of the server after your addition?
Also - where do we print the admin's API key? it is not in the Conjur server, right?

In addition, I would like to verify that the appliance has this message as well in its log. Can you trigger an appliance build that has your change and add its log to the issue description?

app/domain/logs.rb Outdated Show resolved Hide resolved
@orenbm
Copy link
Member

orenbm commented May 20, 2020

Thanks @moticless !

Can you please:

  1. Share the log of Conjur to show how your message fits in it.
  2. Build an appliance that contains your changes and share its log.

I'd like to see that in both cases it looks good.

@moticless
Copy link
Contributor Author

New INFO printout in other printouts context:

DEBUG 2020/05/24 05:51:31 +0000 [pid=673] ^[[1m^[[36mSequel::Postgres::Database (0.5ms)^[[0m ^[[1mSELECT pg_advisory_unlock(767003715) AS "v" LIMIT 1^[[0m

INFO 2020/05/24 05:51:31 +0000 [pid=727] CONJ00037I Conjur v1.6.0 starting up...

DEBUG 2020/05/24 05:51:32 +0000 [pid=287] ^[[1m^[[35mSequel::Postgres::Database (0.4ms)^[[0m SELECT pg_try_advisory_lock(767003715) AS "v" LIMIT 1

@moticless moticless requested a review from orenbm May 26, 2020 06:21
@orenbm
Copy link
Member

orenbm commented May 26, 2020

@moticless please share the whole log of the startup so i can see the context. For example, on master the startup log looks like this:

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

To get this i ran ./start from conjur/dev and inside the container ran conjurctl server.

@moticless
Copy link
Contributor Author

moticless commented May 31, 2020

Conjur logs along with CONJ000037I printout:

DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  SET standard_conforming_strings = ON
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  SET client_min_messages = 'WARNING'
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  SET DateStyle = 'ISO'
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (1.0ms)  SELECT "typarray", "oid" FROM "pg_type" WHERE ("typname" = 'macaddr') LIMIT 1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.3ms)  SELECT "oid", "typname" FROM "pg_type" WHERE (("typtype" IN ('b', 'e')) AND ("typname" IN ('hstore')))
 INFO 2020/05/26 09:26:50 +0000 [pid=9] CONJ00037I Conjur v1.6.0 starting up...
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.3ms)  SET standard_conforming_strings = ON
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.4ms)  SET client_min_messages = 'WARNING'
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.3ms)  SET DateStyle = 'ISO'
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.7ms)  SELECT NULL AS "nil" FROM "schema_migrations" LIMIT 1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (13.5ms)  CREATE TABLE "schema_migrations" ("filename" text PRIMARY KEY)
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.9ms)  SELECT NULL AS "nil" FROM "schema_info" LIMIT 1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.5ms)  SELECT "filename" FROM "schema_migrations" ORDER BY "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (7.0ms)  CREATE TABLE IF NOT EXISTS "slosilo_keystore" ("id" text PRIMARY KEY, "key" bytea NOT NULL, "fingerprint" text NOT NULL UNIQUE)
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.9ms)  SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute, pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't' AND pg_class.oid = CAST(CAST('"schema_migrations"' AS regclass) AS oid)
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  INSERT INTO "schema_migrations" ("filename") VALUES ('20121215032820_create_keystore.rb') RETURNING "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.9ms)  COMMIT
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (5.2ms)  CREATE TABLE "roles" ("role_id" text PRIMARY KEY, "created_at" Timestamp DEFAULT transaction_timestamp() NOT NULL)
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  INSERT INTO "schema_migrations" ("filename") VALUES ('20160628212347_create_roles.rb') RETURNING "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.8ms)  COMMIT
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.3ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (4.9ms)  CREATE TABLE "resources" ("resource_id" text PRIMARY KEY, "owner_id" text NOT NULL REFERENCES "roles" ON DELETE CASCADE, "created_at" Timestamp DEFAULT transaction_timestamp() NOT NULL)
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  INSERT INTO "schema_migrations" ("filename") VALUES ('20160628212349_create_resources.rb') RETURNING "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.7ms)  COMMIT
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (4.6ms)  CREATE TABLE "role_memberships" ("role_id" text NOT NULL REFERENCES "roles" ON DELETE CASCADE, "member_id" text NOT NULL REFERENCES "roles" ON DELETE CASCADE, "admin_option" boolean DEFAULT false NOT NULL, "ownership" boolean DEFAULT false NOT NULL, PRIMARY KEY ("role_id", "member_id", "ownership"))
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  SAVEPOINT autopoint_1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (1.9ms)  CREATE INDEX "role_memberships_member" ON "role_memberships" ("member_id")
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  RELEASE SAVEPOINT autopoint_1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  INSERT INTO "schema_migrations" ("filename") VALUES ('20160628212358_create_role_memberships.rb') RETURNING "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.8ms)  COMMIT
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (4.6ms)  CREATE TABLE "permissions" ("privilege" text NOT NULL, "resource_id" text NOT NULL REFERENCES "resources" ON DELETE CASCADE, "role_id" text NOT NULL REFERENCES "roles" ON DELETE CASCADE, PRIMARY KEY ("privilege", "resource_id", "role_id"))
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.2ms)  INSERT INTO "schema_migrations" ("filename") VALUES ('20160628212428_create_permissions.rb') RETURNING "filename"
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.8ms)  COMMIT
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  BEGIN
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (4.5ms)  CREATE TABLE "annotations" ("resource_id" text NOT NULL REFERENCES "resources" ON DELETE CASCADE, "name" text NOT NULL, "value" text NOT NULL, PRIMARY KEY ("resource_id", "name"))
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  SAVEPOINT autopoint_1
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (1.8ms)  CREATE INDEX "annotations_name_index" ON "annotations" ("name")
DEBUG 2020/05/26 09:26:50 +0000 [pid=9]   Sequel::Postgres::Database (0.1ms)  RELEASE SAVEPOINT autopoint_1

DAP logs along with CONJ000037I printout:

<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -   * service[enable conjur] action enable
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -     ^[[32m- enable service service[enable conjur]^[[0m
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - - ^[[0m  * service[start conjur] action start (up to date)
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - - Recipe: conjur::_ui_placeholder^[[0m
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -   * file_stash[/etc/conjur/nginx.d/80_ui.conf] action restore (up to date)
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -   * cookbook_file[/etc/conjur/nginx.d/80_ui_placeholder.conf] action delete (up to date)
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -   * directory[/etc/nginx/html/ui/] action create
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -     ^[[32m- create new directory /etc/nginx/html/ui/^[[0m
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - - ^[[0m  * link[/etc/nginx/html/ui/placeholder.html] action delete (up to date)
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - -   * link[/etc/nginx/html/ui/placeholder.html] action delete (up to date)
<13>1 2020-05-31T08:39:45.011+00:00 37d591e61934 conjur-evoke - - - Recipe: conjur::configure^[[0m
<134>1 2020-05-31T08:39:44.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="16"] [3876] Puma starting in cluster mode...
<134>1 2020-05-31T08:39:45.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="17"] [3876] * Version 3.12.6 (ruby 2.5.7-p206), codename: Llamas in Pajamas
<134>1 2020-05-31T08:39:45.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="18"] [3876] * Min threads: 0, max threads: 16
<134>1 2020-05-31T08:39:45.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="19"] [3876] * Environment: appliance
<134>1 2020-05-31T08:39:45.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="20"] [3876] * Process workers: 2
<134>1 2020-05-31T08:39:45.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="21"] [3876] * Preloading application
<134>1 2020-05-31T08:39:44.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="22"] Joined session keyring: 817416639
<14>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum 3876 - [meta sequenceId="23"] CONJ00037I Conjur v1.6.0 starting up...
<14>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum 3872 - [meta sequenceId="24"] CONJ00037I Conjur v1.6.0 starting up...
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="25"] `/opt/conjur/ui` is not writable.
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="26"] Bundler will use `/tmp/bundler/home/unknown' as your home directory temporarily.
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="27"] /opt/conjur/possum/app/domain/authentication/authn_azure/authenticator.rb:7: warning: already initialized constant Authentication::AuthnAzure::Log
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="28"] /opt/conjur/possum/app/domain/authentication/authn_azure/application_identity.rb:4: warning: previous definition of Log was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="29"] /opt/conjur/possum/app/domain/authentication/o_auth/fetch_provider_keys.rb:6: warning: already initialized constant Authentication::OAuth::Log
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="30"] /opt/conjur/possum/app/domain/authentication/o_auth/verify_and_decode_token.rb:7: warning: previous definition of Log was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="31"] /opt/conjur/possum/app/domain/authentication/o_auth/fetch_provider_keys.rb:7: warning: already initialized constant Authentication::OAuth::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="32"] /opt/conjur/possum/app/domain/authentication/o_auth/verify_and_decode_token.rb:6: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="33"] /opt/conjur/possum/app/domain/authentication/o_auth/discover_identity_provider.rb:4: warning: already initialized constant Authentication::OAuth::Log
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="34"] /opt/conjur/possum/app/domain/authentication/o_auth/fetch_provider_keys.rb:6: warning: previous definition of Log was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="35"] /opt/conjur/possum/app/domain/authentication/o_auth/discover_identity_provider.rb:5: warning: already initialized constant Authentication::OAuth::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="36"] /opt/conjur/possum/app/domain/authentication/o_auth/fetch_provider_keys.rb:7: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="37"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_application_identity.rb:6: warning: already initialized constant Authentication::AuthnAzure::Log
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="38"] /opt/conjur/possum/app/domain/authentication/authn_azure/authenticator.rb:7: warning: previous definition of Log was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="39"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_application_identity.rb:7: warning: already initialized constant Authentication::AuthnAzure::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="40"] /opt/conjur/possum/app/domain/authentication/authn_azure/authenticator.rb:6: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="41"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_azure_annotations.rb:6: warning: already initialized constant Authentication::AuthnAzure::Log
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="42"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_application_identity.rb:6: warning: previous definition of Log was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="43"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_azure_annotations.rb:7: warning: already initialized constant Authentication::AuthnAzure::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="44"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_application_identity.rb:7: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="45"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_status.rb:4: warning: already initialized constant Authentication::AuthnAzure::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="46"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_azure_annotations.rb:7: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="47"] /opt/conjur/possum/app/domain/authentication/authn_azure/xms_mirid.rb:4: warning: already initialized constant Authentication::AuthnAzure::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="48"] /opt/conjur/possum/app/domain/authentication/authn_azure/validate_status.rb:4: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="49"] /opt/conjur/possum/app/domain/authentication/authn_k8s/validate_pod_request.rb:8: warning: already initialized constant Authentication::AuthnK8s::Err
<134>1 2020-05-31T08:39:48.000+00:00 37d591e61934 conjur-possum - - [meta sequenceId="50"] /opt/conjur/possum/app/domain/authentication/authn_k8s/application_identity.rb:7: warning: previous definition of Err was here
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="51"] [3881] Puma starting in cluster mode...
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="52"] [3881] * Version 4.3.3 (ruby 2.5.7-p206), codename: Mysterious Traveller
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="53"] [3881] * Min threads: 5, max threads: 5
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="54"] [3881] * Environment: appliance
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="55"] [3881] * Process workers: 2
<134>1 2020-05-31T08:39:49.000+00:00 37d591e61934 conjur-ui - - [meta sequenceId="56"] [3881] * Preloading application

orenbm
orenbm previously approved these changes May 31, 2020
We would like to get the Conjur version from the logs to have a better
supportability experience. Upon startup, we will write to the log the
message: `Conjur v{0-conjur-version} starting up...`
@moticless moticless changed the title On Conjur startup, adding printout of "Conjur Version: XXXX" Print version on server startup May 31, 2020
@codeclimate
Copy link

codeclimate bot commented May 31, 2020

Code Climate has analyzed commit 71dc05b and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 85.6% (0.0% change).

View more on Code Climate.

@orenbm orenbm merged commit 872b67b into master May 31, 2020
@orenbm orenbm deleted the startup_print_version branch May 31, 2020 10:01
@izgeri izgeri mentioned this pull request Jun 3, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants