[lnie@localhost-live server]$ docker-compose up Creating network "server_default" with the default driver Creating server_postgres_1 ... done Creating server_rabbit_1 ... done Creating server_redis_1 ... done Attaching to server_redis_1, server_postgres_1, server_rabbit_1 postgres_1 | The files belonging to this database system will be owned by user "postgres". postgres_1 | This user must also own the server process. postgres_1 | postgres_1 | The database cluster will be initialized with locale "en_US.utf8". postgres_1 | The default database encoding has accordingly been set to "UTF8". postgres_1 | The default text search configuration will be set to "english". postgres_1 | postgres_1 | Data page checksums are disabled. postgres_1 | postgres_1 | fixing permissions on existing directory /var/lib/pgsql/data/userdata ... ok postgres_1 | creating subdirectories ... ok postgres_1 | selecting dynamic shared memory implementation ... posix postgres_1 | selecting default max_connections ... 100 redis_1 | 1:C 16 Aug 2023 08:13:57.706 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 16 Aug 2023 08:13:57.706 # Redis version=7.0.12, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 16 Aug 2023 08:13:57.706 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1 | 1:M 16 Aug 2023 08:13:57.706 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. redis_1 | 1:M 16 Aug 2023 08:13:57.706 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. redis_1 | 1:M 16 Aug 2023 08:13:57.706 # Current maximum open files is 1024. maxclients has been reduced to 992 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. redis_1 | 1:M 16 Aug 2023 08:13:57.706 * monotonic clock: POSIX clock_gettime redis_1 | 1:M 16 Aug 2023 08:13:57.707 * Running mode=standalone, port=6379. redis_1 | 1:M 16 Aug 2023 08:13:57.707 # Server initialized redis_1 | 1:M 16 Aug 2023 08:13:57.707 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis_1 | 1:M 16 Aug 2023 08:13:57.708 * Ready to accept connections postgres_1 | selecting default shared_buffers ... 128MB postgres_1 | selecting default time zone ... UTC postgres_1 | creating configuration files ... ok postgres_1 | running bootstrap script ... ok postgres_1 | performing post-bootstrap initialization ... ok rabbit_1 | 2023-08-16 08:13:59.958340+00:00 [notice] <0.44.0> Application syslog exited with reason: stopped rabbit_1 | 2023-08-16 08:13:59.961462+00:00 [notice] <0.230.0> Logging: switching to configured handler(s); following messages may not be visible in this log output rabbit_1 | 2023-08-16 08:13:59.962858+00:00 [notice] <0.230.0> Logging: configured log handlers are now ACTIVE rabbit_1 | 2023-08-16 08:14:00.105500+00:00 [info] <0.230.0> ra: starting system quorum_queues rabbit_1 | 2023-08-16 08:14:00.105551+00:00 [info] <0.230.0> starting Ra system: quorum_queues in directory: /var/lib/rabbitmq/mnesia/rabbit@e0ff7a7aed12/quorum/rabbit@e0ff7a7aed12 rabbit_1 | 2023-08-16 08:14:00.140732+00:00 [info] <0.261.0> ra system 'quorum_queues' running pre init for 0 registered servers rabbit_1 | 2023-08-16 08:14:00.153027+00:00 [info] <0.262.0> ra: meta data store initialised for system quorum_queues. 0 record(s) recovered rabbit_1 | 2023-08-16 08:14:00.161057+00:00 [notice] <0.267.0> WAL: ra_log_wal init, open tbls: ra_log_open_mem_tables, closed tbls: ra_log_closed_mem_tables rabbit_1 | 2023-08-16 08:14:00.179751+00:00 [info] <0.230.0> ra: starting system coordination rabbit_1 | 2023-08-16 08:14:00.179811+00:00 [info] <0.230.0> starting Ra system: coordination in directory: /var/lib/rabbitmq/mnesia/rabbit@e0ff7a7aed12/coordination/rabbit@e0ff7a7aed12 rabbit_1 | 2023-08-16 08:14:00.181144+00:00 [info] <0.274.0> ra system 'coordination' running pre init for 0 registered servers rabbit_1 | 2023-08-16 08:14:00.181841+00:00 [info] <0.275.0> ra: meta data store initialised for system coordination. 0 record(s) recovered rabbit_1 | 2023-08-16 08:14:00.182102+00:00 [notice] <0.280.0> WAL: ra_coordination_log_wal init, open tbls: ra_coordination_log_open_mem_tables, closed tbls: ra_coordination_log_closed_mem_tables rabbit_1 | 2023-08-16 08:14:00.201097+00:00 [info] <0.230.0> rabbit_1 | 2023-08-16 08:14:00.201097+00:00 [info] <0.230.0> Starting RabbitMQ 3.12.2 on Erlang 25.3.2.5 [jit] rabbit_1 | 2023-08-16 08:14:00.201097+00:00 [info] <0.230.0> Copyright (c) 2007-2023 VMware, Inc. or its affiliates. rabbit_1 | 2023-08-16 08:14:00.201097+00:00 [info] <0.230.0> Licensed under the MPL 2.0. Website: https://rabbitmq.com rabbit_1 | rabbit_1 | ## ## RabbitMQ 3.12.2 rabbit_1 | ## ## rabbit_1 | ########## Copyright (c) 2007-2023 VMware, Inc. or its affiliates. rabbit_1 | ###### ## rabbit_1 | ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com rabbit_1 | rabbit_1 | Erlang: 25.3.2.5 [jit] rabbit_1 | TLS Library: OpenSSL - OpenSSL 3.1.2 1 Aug 2023 rabbit_1 | Release series support status: supported rabbit_1 | rabbit_1 | Doc guides: https://rabbitmq.com/documentation.html rabbit_1 | Support: https://rabbitmq.com/contact.html rabbit_1 | Tutorials: https://rabbitmq.com/getstarted.html rabbit_1 | Monitoring: https://rabbitmq.com/monitoring.html rabbit_1 | rabbit_1 | Logs: rabbit_1 | rabbit_1 | Config file(s): /etc/rabbitmq/conf.d/10-defaults.conf rabbit_1 | /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf rabbit_1 | rabbit_1 | Starting broker...2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> node : rabbit@e0ff7a7aed12 rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> home dir : /var/lib/rabbitmq rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> config file(s) : /etc/rabbitmq/conf.d/10-defaults.conf rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> : /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> cookie hash : bjX8T3VVDy+Vz6UhV24c+w== rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> log(s) : rabbit_1 | 2023-08-16 08:14:00.206296+00:00 [info] <0.230.0> data dir : /var/lib/rabbitmq/mnesia/rabbit@e0ff7a7aed12 rabbit_1 | 2023-08-16 08:14:01.422582+00:00 [info] <0.230.0> Running boot step pre_boot defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.422647+00:00 [info] <0.230.0> Running boot step rabbit_global_counters defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.423119+00:00 [info] <0.230.0> Running boot step rabbit_osiris_metrics defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.423247+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.423572+00:00 [info] <0.230.0> Running boot step rabbit_alarm defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.425987+00:00 [info] <0.299.0> Memory high watermark set to 1553 MiB (1628517171 bytes) of 3882 MiB (4071292928 bytes) total rabbit_1 | 2023-08-16 08:14:01.427920+00:00 [info] <0.301.0> Enabling free disk space monitoring (disk free space: 12760821760, total memory: 4071292928) rabbit_1 | 2023-08-16 08:14:01.427954+00:00 [info] <0.301.0> Disk free limit set to 50MB rabbit_1 | 2023-08-16 08:14:01.428812+00:00 [info] <0.230.0> Running boot step code_server_cache defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.428858+00:00 [info] <0.230.0> Running boot step file_handle_cache defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.428961+00:00 [info] <0.304.0> Limiting to approx 927 file handles (832 sockets) rabbit_1 | 2023-08-16 08:14:01.429009+00:00 [info] <0.305.0> FHC read buffering: OFF rabbit_1 | 2023-08-16 08:14:01.429029+00:00 [info] <0.305.0> FHC write buffering: ON rabbit_1 | 2023-08-16 08:14:01.429429+00:00 [info] <0.230.0> Running boot step worker_pool defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.429479+00:00 [info] <0.282.0> Will use 2 processes for default worker pool rabbit_1 | 2023-08-16 08:14:01.429511+00:00 [info] <0.282.0> Starting worker pool 'worker_pool' with 2 processes in it rabbit_1 | 2023-08-16 08:14:01.429679+00:00 [info] <0.230.0> Running boot step database defined by app rabbit rabbit_1 | 2023-08-16 08:14:01.430109+00:00 [info] <0.230.0> Node database directory at /var/lib/rabbitmq/mnesia/rabbit@e0ff7a7aed12 is empty. Assuming we need to join an existing cluster or initialise from scratch... rabbit_1 | 2023-08-16 08:14:01.430144+00:00 [info] <0.230.0> Configured peer discovery backend: rabbit_peer_discovery_classic_config rabbit_1 | 2023-08-16 08:14:01.430185+00:00 [info] <0.230.0> Will try to lock with peer discovery backend rabbit_peer_discovery_classic_config rabbit_1 | 2023-08-16 08:14:01.430242+00:00 [info] <0.230.0> All discovered existing cluster peers: rabbit_1 | 2023-08-16 08:14:01.430254+00:00 [info] <0.230.0> Discovered no peer nodes to cluster with. Some discovery backends can filter nodes out based on a readiness criteria. Enabling debug logging might help troubleshoot. rabbit_1 | 2023-08-16 08:14:01.431575+00:00 [notice] <0.44.0> Application mnesia exited with reason: stopped rabbit_1 | 2023-08-16 08:14:01.955404+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2023-08-16 08:14:01.955514+00:00 [info] <0.230.0> Successfully synced tables from a peer rabbit_1 | 2023-08-16 08:14:01.955950+00:00 [notice] <0.283.0> Feature flags: attempt to enable `stream_sac_coordinator_unblock_group`... rabbit_1 | 2023-08-16 08:14:01.975191+00:00 [notice] <0.283.0> Feature flags: `stream_sac_coordinator_unblock_group` enabled rabbit_1 | 2023-08-16 08:14:01.975350+00:00 [notice] <0.283.0> Feature flags: attempt to enable `restart_streams`... rabbit_1 | 2023-08-16 08:14:01.998177+00:00 [notice] <0.283.0> Feature flags: `restart_streams` enabled rabbit_1 | 2023-08-16 08:14:01.998781+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2023-08-16 08:14:01.998884+00:00 [info] <0.230.0> Successfully synced tables from a peer rabbit_1 | 2023-08-16 08:14:02.058006+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2023-08-16 08:14:02.058203+00:00 [info] <0.230.0> Successfully synced tables from a peer rabbit_1 | 2023-08-16 08:14:02.058242+00:00 [info] <0.230.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration. rabbit_1 | 2023-08-16 08:14:02.058259+00:00 [info] <0.230.0> Will try to unlock with peer discovery backend rabbit_peer_discovery_classic_config rabbit_1 | 2023-08-16 08:14:02.058660+00:00 [info] <0.230.0> Running boot step tracking_metadata_store defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.058751+00:00 [info] <0.480.0> Setting up a table for connection tracking on this node: tracked_connection rabbit_1 | 2023-08-16 08:14:02.058847+00:00 [info] <0.480.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost rabbit_1 | 2023-08-16 08:14:02.058990+00:00 [info] <0.480.0> Setting up a table for per-user connection counting on this node: tracked_connection_per_user rabbit_1 | 2023-08-16 08:14:02.059019+00:00 [info] <0.480.0> Setting up a table for channel tracking on this node: tracked_channel rabbit_1 | 2023-08-16 08:14:02.059229+00:00 [info] <0.480.0> Setting up a table for channel tracking on this node: tracked_channel_per_user rabbit_1 | 2023-08-16 08:14:02.059388+00:00 [info] <0.230.0> Running boot step networking_metadata_store defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.059560+00:00 [info] <0.230.0> Running boot step feature_flags defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.059692+00:00 [info] <0.230.0> Running boot step codec_correctness_check defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.059716+00:00 [info] <0.230.0> Running boot step external_infrastructure defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.059744+00:00 [info] <0.230.0> Running boot step rabbit_event defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.059924+00:00 [info] <0.230.0> Running boot step rabbit_registry defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060021+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060120+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060214+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060271+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_direct defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060303+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060325+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_headers defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060353+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_topic defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060384+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060407+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060426+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060493+00:00 [info] <0.230.0> Running boot step rabbit_priority_queue defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060519+00:00 [info] <0.230.0> Priority queues enabled, real BQ is rabbit_variable_queue rabbit_1 | 2023-08-16 08:14:02.060557+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_client_local defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.060581+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.061012+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_random defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.061081+00:00 [info] <0.230.0> Running boot step kernel_ready defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.061099+00:00 [info] <0.230.0> Running boot step rabbit_sysmon_minder defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.061757+00:00 [info] <0.230.0> Running boot step rabbit_epmd_monitor defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.062267+00:00 [info] <0.488.0> epmd monitor knows us, inter-node communication (distribution) port: 25672 rabbit_1 | 2023-08-16 08:14:02.062387+00:00 [info] <0.230.0> Running boot step guid_generator defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.082817+00:00 [info] <0.230.0> Running boot step rabbit_node_monitor defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083194+00:00 [info] <0.492.0> Starting rabbit_node_monitor rabbit_1 | 2023-08-16 08:14:02.083262+00:00 [info] <0.230.0> Running boot step delegate_sup defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083611+00:00 [info] <0.230.0> Running boot step rabbit_memory_monitor defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083700+00:00 [info] <0.230.0> Running boot step rabbit_fifo_dlx_sup defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083733+00:00 [info] <0.230.0> Running boot step core_initialized defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083745+00:00 [info] <0.230.0> Running boot step rabbit_channel_tracking_handler defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083761+00:00 [info] <0.230.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083775+00:00 [info] <0.230.0> Running boot step rabbit_definitions_hashing defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.083814+00:00 [info] <0.230.0> Running boot step rabbit_exchange_parameters defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084045+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084339+00:00 [info] <0.230.0> Running boot step rabbit_policies defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084650+00:00 [info] <0.230.0> Running boot step rabbit_policy defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084730+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_validator defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084869+00:00 [info] <0.230.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.084959+00:00 [info] <0.230.0> Running boot step rabbit_stream_coordinator defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.085204+00:00 [info] <0.230.0> Running boot step rabbit_vhost_limit defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.085253+00:00 [info] <0.230.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent rabbit_1 | 2023-08-16 08:14:02.085271+00:00 [info] <0.230.0> Management plugin: using rates mode 'basic' rabbit_1 | 2023-08-16 08:14:02.085375+00:00 [info] <0.230.0> Running boot step recovery defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.085688+00:00 [info] <0.230.0> Running boot step empty_db_check defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.085716+00:00 [info] <0.230.0> Will seed default virtual host and user... rabbit_1 | 2023-08-16 08:14:02.085765+00:00 [info] <0.230.0> Adding vhost '/' (description: 'Default virtual host', tags: []) rabbit_1 | 2023-08-16 08:14:02.105057+00:00 [info] <0.230.0> Inserted a virtual host record {vhost,<<"/">>,[], rabbit_1 | 2023-08-16 08:14:02.105057+00:00 [info] <0.230.0> #{description => rabbit_1 | 2023-08-16 08:14:02.105057+00:00 [info] <0.230.0> <<"Default virtual host">>, rabbit_1 | 2023-08-16 08:14:02.105057+00:00 [info] <0.230.0> tags => []}} rabbit_1 | 2023-08-16 08:14:02.260793+00:00 [info] <0.537.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@e0ff7a7aed12/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists rabbit_1 | 2023-08-16 08:14:02.261535+00:00 [info] <0.537.0> Setting segment_entry_count for vhost '/' with 0 queues to '2048' rabbit_1 | 2023-08-16 08:14:02.283212+00:00 [info] <0.537.0> Starting message stores for vhost '/' rabbit_1 | 2023-08-16 08:14:02.283457+00:00 [info] <0.547.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index rabbit_1 | 2023-08-16 08:14:02.284176+00:00 [info] <0.537.0> Started message store of type transient for vhost '/' rabbit_1 | 2023-08-16 08:14:02.284324+00:00 [info] <0.551.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index rabbit_1 | 2023-08-16 08:14:02.284686+00:00 [warning] <0.551.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch rabbit_1 | 2023-08-16 08:14:02.285143+00:00 [info] <0.537.0> Started message store of type persistent for vhost '/' rabbit_1 | 2023-08-16 08:14:02.285227+00:00 [info] <0.537.0> Recovering 0 queues of type rabbit_classic_queue took 23ms rabbit_1 | 2023-08-16 08:14:02.285256+00:00 [info] <0.537.0> Recovering 0 queues of type rabbit_quorum_queue took 0ms rabbit_1 | 2023-08-16 08:14:02.285279+00:00 [info] <0.537.0> Recovering 0 queues of type rabbit_stream_queue took 0ms rabbit_1 | 2023-08-16 08:14:02.305242+00:00 [info] <0.230.0> Created user 'guest' rabbit_1 | 2023-08-16 08:14:02.327352+00:00 [info] <0.230.0> Successfully set user tags for user 'guest' to [administrator] rabbit_1 | 2023-08-16 08:14:02.349550+00:00 [info] <0.230.0> Successfully set permissions for user 'guest' in virtual host '/' to '.*', '.*', '.*' rabbit_1 | 2023-08-16 08:14:02.349704+00:00 [info] <0.230.0> Running boot step rabbit_observer_cli defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.349812+00:00 [info] <0.230.0> Running boot step rabbit_looking_glass defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.349891+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics_gc defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.349986+00:00 [info] <0.230.0> Running boot step background_gc defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350063+00:00 [info] <0.230.0> Running boot step routing_ready defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350170+00:00 [info] <0.230.0> Running boot step pre_flight defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350188+00:00 [info] <0.230.0> Running boot step notify_cluster defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350206+00:00 [info] <0.230.0> Running boot step networking defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350229+00:00 [info] <0.230.0> Running boot step definition_import_worker_pool defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350260+00:00 [info] <0.282.0> Starting worker pool 'definition_import_pool' with 2 processes in it rabbit_1 | 2023-08-16 08:14:02.350481+00:00 [info] <0.230.0> Running boot step cluster_name defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.350583+00:00 [info] <0.230.0> Initialising internal cluster ID to 'rabbitmq-cluster-id-4GXAROhPjJ0MVTPkdxiNTw' rabbit_1 | 2023-08-16 08:14:02.371867+00:00 [info] <0.230.0> Running boot step direct_client defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.372053+00:00 [info] <0.230.0> Running boot step rabbit_maintenance_mode_state defined by app rabbit rabbit_1 | 2023-08-16 08:14:02.372198+00:00 [info] <0.230.0> Creating table rabbit_node_maintenance_states for maintenance mode status rabbit_1 | 2023-08-16 08:14:02.394923+00:00 [info] <0.587.0> Resetting node maintenance status rabbit_1 | 2023-08-16 08:14:02.404239+00:00 [info] <0.614.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692 rabbit_1 | 2023-08-16 08:14:02.404364+00:00 [info] <0.587.0> Ready to start client connection listeners rabbit_1 | 2023-08-16 08:14:02.405696+00:00 [info] <0.658.0> started TCP listener on [::]:5672 rabbit_1 | completed with 3 plugins. rabbit_1 | 2023-08-16 08:14:02.461825+00:00 [info] <0.587.0> Server startup complete; 3 plugins started. rabbit_1 | 2023-08-16 08:14:02.461825+00:00 [info] <0.587.0> * rabbitmq_prometheus rabbit_1 | 2023-08-16 08:14:02.461825+00:00 [info] <0.587.0> * rabbitmq_web_dispatch rabbit_1 | 2023-08-16 08:14:02.461825+00:00 [info] <0.587.0> * rabbitmq_management_agent postgres_1 | syncing data to disk ... ok postgres_1 | initdb: postgres_1 | warning: enabling "trust" authentication for local connections postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or postgres_1 | --auth-local and --auth-host, the next time you run initdb. postgres_1 | postgres_1 | Success. You can now start the database server using: postgres_1 | postgres_1 | pg_ctl -D /var/lib/pgsql/data/userdata -l logfile start postgres_1 | postgres_1 | waiting for server to start....2023-08-16 08:14:10.682 UTC [36] LOG: starting PostgreSQL 12.7 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit postgres_1 | 2023-08-16 08:14:10.694 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2023-08-16 08:14:10.716 UTC [36] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" postgres_1 | 2023-08-16 08:14:10.742 UTC [36] LOG: redirecting log output to logging collector process postgres_1 | 2023-08-16 08:14:10.742 UTC [36] HINT: Future log output will appear in directory "log". postgres_1 | done postgres_1 | server started postgres_1 | /var/run/postgresql:5432 - accepting connections postgres_1 | => sourcing /usr/share/container-scripts/postgresql/start/set_passwords.sh ... postgres_1 | ALTER ROLE postgres_1 | ALTER ROLE postgres_1 | waiting for server to shut down.... done postgres_1 | server stopped postgres_1 | Starting server... postgres_1 | 2023-08-16 08:14:15.167 UTC [1] LOG: starting PostgreSQL 12.7 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit postgres_1 | 2023-08-16 08:14:15.168 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres_1 | 2023-08-16 08:14:15.168 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres_1 | 2023-08-16 08:14:15.197 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2023-08-16 08:14:15.221 UTC [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" postgres_1 | 2023-08-16 08:14:15.238 UTC [1] LOG: redirecting log output to logging collector process postgres_1 | 2023-08-16 08:14:15.238 UTC [1] HINT: Future log output will appear in directory "log". lnie@localhost-live server]$ ./run.sh ARTEMIS_LOG_LEVEL=debug +++ dirname 0 ++ readlink -f . + '[' /home/lnie/artemis/server '!=' /home/lnie/artemis/server ']' + trap 'kill $(jobs -p)' EXIT ++ pwd + export ARTEMIS_CONFIG_DIR=/home/lnie/artemis/server/configuration + ARTEMIS_CONFIG_DIR=/home/lnie/artemis/server/configuration + '[' -f /home/lnie/artemis/server/configuration/.vault_pass ']' ++ cat /home/lnie/artemis/server/configuration/.vault_pass + export ARTEMIS_VAULT_PASSWORD=testfedora + ARTEMIS_VAULT_PASSWORD=testfedora + export 'ARTEMIS_BROKER_URL=amqp://guest:guest@127.0.0.1:5672/?heartbeat=60&blocked_connection_timeout=60' + ARTEMIS_BROKER_URL='amqp://guest:guest@127.0.0.1:5672/?heartbeat=60&blocked_connection_timeout=60' + export ARTEMIS_DB_URL=postgresql://artemis:artemis@127.0.0.1:5432/artemis + ARTEMIS_DB_URL=postgresql://artemis:artemis@127.0.0.1:5432/artemis + export ARTEMIS_CACHE_URL=redis://127.0.0.1:6379 + ARTEMIS_CACHE_URL=redis://127.0.0.1:6379 + export ARTEMIS_LOG_JSON=no + ARTEMIS_LOG_JSON=no + export ARTEMIS_LOG_DB_POOL=no + ARTEMIS_LOG_DB_POOL=no + export ARTEMIS_LOG_DB_QUERIES=no + ARTEMIS_LOG_DB_QUERIES=no + export ARTEMIS_CLOSE_AFTER_DISPATCH=yes + ARTEMIS_CLOSE_AFTER_DISPATCH=yes ++ pwd + export ARTEMIS_HOOK_ROUTE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_ROUTE.py + ARTEMIS_HOOK_ROUTE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_ROUTE.py + export ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_AWS_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-aws.yaml + ARTEMIS_AWS_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-aws.yaml + export ARTEMIS_AZURE_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-azure.yaml + ARTEMIS_AZURE_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-azure.yaml + export ARTEMIS_BEAKER_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-beaker.yaml + ARTEMIS_BEAKER_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-beaker.yaml + export ARTEMIS_OPENSTACK_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-openstack.yaml + ARTEMIS_OPENSTACK_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-openstack.yaml + ARTEMIS_WORKER_OPTIONS= + '[' '' = '' ']' + poetry run alembic upgrade head /home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.14) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported " Traceback (most recent call last): File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/bin/alembic", line 8, in sys.exit(main()) File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/config.py", line 590, in main CommandLine(prog=prog).main(argv=argv) File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/config.py", line 584, in main self.run_cmd(cfg, options) File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/config.py", line 561, in run_cmd fn( File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/command.py", line 322, in upgrade script.run_env() File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/script/base.py", line 569, in run_env util.load_python_file(self.dir, "env.py") File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/util/pyfiles.py", line 94, in load_python_file module = load_module_py(module_id, path) File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/alembic/util/pyfiles.py", line 110, in load_module_py spec.loader.exec_module(module) # type: ignore File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "alembic/env.py", line 9, in from tft.artemis import db, get_db, get_logger File "/home/lnie/artemis/server/src/tft/artemis/__init__.py", line 65, in from . import db as artemis_db # noqa: E402 File "/home/lnie/artemis/server/src/tft/artemis/db.py", line 21, in import psycopg2.errors File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib64/python3.9/site-packages/psycopg2/__init__.py", line 51, in from psycopg2._psycopg import ( # noqa ImportError: libpq.so.5: cannot open shared object file: No such file or directory + echo 'failed to upgrade DB Schema' failed to upgrade DB Schema + exit 1 ++ jobs -p + kill kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] [lnie@localhost-live server]$ sudo dnf install libpq -y [sudo] password for lnie: Last metadata expiration check: 1:09:18 ago on Wed 16 Aug 2023 04:44:42 PM CST. Dependencies resolved. ============================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================== Installing: libpq x86_64 15.3-1.fc38 updates 215 k Transaction Summary ============================================================================================================================================================== Install 1 Package Total download size: 215 k Installed size: 796 k Downloading Packages: libpq-15.3-1.fc38.x86_64.rpm 531 kB/s | 215 kB 00:00 -------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 249 kB/s | 215 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libpq-15.3-1.fc38.x86_64 1/1 Running scriptlet: libpq-15.3-1.fc38.x86_64 1/1 Verifying : libpq-15.3-1.fc38.x86_64 1/1 Installed: libpq-15.3-1.fc38.x86_64 Complete! [lnie@localhost-live server]$ ./run.sh ARTEMIS_LOG_LEVEL=debug +++ dirname 0 ++ readlink -f . + '[' /home/lnie/artemis/server '!=' /home/lnie/artemis/server ']' + trap 'kill $(jobs -p)' EXIT ++ pwd + export ARTEMIS_CONFIG_DIR=/home/lnie/artemis/server/configuration + ARTEMIS_CONFIG_DIR=/home/lnie/artemis/server/configuration + '[' -f /home/lnie/artemis/server/configuration/.vault_pass ']' ++ cat /home/lnie/artemis/server/configuration/.vault_pass + export ARTEMIS_VAULT_PASSWORD=testfedora + ARTEMIS_VAULT_PASSWORD=testfedora + export 'ARTEMIS_BROKER_URL=amqp://guest:guest@127.0.0.1:5672/?heartbeat=60&blocked_connection_timeout=60' + ARTEMIS_BROKER_URL='amqp://guest:guest@127.0.0.1:5672/?heartbeat=60&blocked_connection_timeout=60' + export ARTEMIS_DB_URL=postgresql://artemis:artemis@127.0.0.1:5432/artemis + ARTEMIS_DB_URL=postgresql://artemis:artemis@127.0.0.1:5432/artemis + export ARTEMIS_CACHE_URL=redis://127.0.0.1:6379 + ARTEMIS_CACHE_URL=redis://127.0.0.1:6379 + export ARTEMIS_LOG_JSON=no + ARTEMIS_LOG_JSON=no + export ARTEMIS_LOG_DB_POOL=no + ARTEMIS_LOG_DB_POOL=no + export ARTEMIS_LOG_DB_QUERIES=no + ARTEMIS_LOG_DB_QUERIES=no + export ARTEMIS_CLOSE_AFTER_DISPATCH=yes + ARTEMIS_CLOSE_AFTER_DISPATCH=yes ++ pwd + export ARTEMIS_HOOK_ROUTE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_ROUTE.py + ARTEMIS_HOOK_ROUTE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_ROUTE.py + export ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_OPENSTACK_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AWS_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_AZURE_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE=/home/lnie/artemis/server/configuration/ARTEMIS_HOOK_BEAKER_ENVIRONMENT_TO_IMAGE.py + export ARTEMIS_AWS_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-aws.yaml + ARTEMIS_AWS_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-aws.yaml + export ARTEMIS_AZURE_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-azure.yaml + ARTEMIS_AZURE_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-azure.yaml + export ARTEMIS_BEAKER_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-beaker.yaml + ARTEMIS_BEAKER_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-beaker.yaml + export ARTEMIS_OPENSTACK_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-openstack.yaml + ARTEMIS_OPENSTACK_ENVIRONMENT_TO_IMAGE_MAPPING_FILEPATH=ARTEMIS_CONFIG_DIR/artemis-image-map-openstack.yaml + ARTEMIS_WORKER_OPTIONS= + '[' '' = '' ']' + poetry run alembic upgrade head /home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.14) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported " INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. + poetry run artemis-db-init-content config-to-db /home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.14) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported " [17:54:06] [+] connecting to db postgresql://artemis:artemis@127.0.0.1:5432/artemis [17:54:06] [+] sqlalchemy create_engine parameters: { "application_name": null, "echo_pool": false, "max_overflow": 10, "pool_size": 20 } File "", line 1, in File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/core.py", line 1130, in __call__ 1128 def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any: 1129 """Alias for :meth:`main`.""" --> 1130 return self.main(*args, **kwargs) .................................................. args = () kwargs = {} .................................................. File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/core.py", line 1055, in main 987 def main( 988 self, 989 args: t.Optional[t.Sequence[str]] = None, 990 prog_name: t.Optional[str] = None, 991 complete_var: t.Optional[str] = None, 992 standalone_mode: bool = True, 993 windows_expand_args: bool = True, 994 **extra: t.Any, 995 ) -> t.Any: (...) 1049 # Process shell completion requests and exit early. 1050 self._main_shell_completion(extra, prog_name, complete_var) 1051 1052 try: 1053 try: 1054 with self.make_context(prog_name, args, **extra) as ctx: --> 1055 rv = self.invoke(ctx) 1056 if not standalone_mode: .................................................. args = ['config-to-db', ] prog_name = 'artemis-db-init-content' complete_var = None standalone_mode = True windows_expand_args = True extra = {} sys.argv = ['artemis-db-init-content', 'config-to-db', ] os.name = 'posix' self._main_shell_completion = core.py:1100> self.make_context = core. py:884> ctx = self.invoke = core.py:16 23> ctx.exit = core.py:685> sys.stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8' > errno.EPIPE = 32 sys.stdout = <_io.TextIOWrapper name='' mode='w' encoding='utf-8' > t.cast = _ = .................................................. File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/core.py", line 1657, in invoke 1623 def invoke(self, ctx: Context) -> t.Any: (...) 1651 cmd_name, cmd, args = self.resolve_command(ctx, args) 1652 assert cmd is not None 1653 ctx.invoked_subcommand = cmd_name 1654 super().invoke(ctx) 1655 sub_ctx = cmd.make_context(cmd_name, args, parent=ctx) 1656 with sub_ctx: --> 1657 return _process_result(sub_ctx.command.invoke(sub_ctx)) 1658 .................................................. ctx = _process_result = ._process_result' cor e.py:1624> self._result_callback = None ctx.invoke = core.py:709> ctx.params = {} ctx.protected_args = [] self.invoke_without_command = False self.chain = False ctx.fail = core.py:673> _ = args = [] ctx.args = [] cmd_name = 'config-to-db' self.resolve_command = c ore.py:1691> ctx.invoked_subcommand = 'config-to-db' sub_ctx = cmd.make_context = core.py:884> sub_ctx.command.invoke = core.py:1 393> sub_ctx.args = [] .................................................. File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/core.py", line 1404, in invoke 1393 def invoke(self, ctx: Context) -> t.Any: (...) 1398 message = _( 1399 "DeprecationWarning: The command {name!r} is deprecated." 1400 ).format(name=self.name) 1401 echo(style(message, fg="red"), err=True) 1402 1403 if self.callback is not None: --> 1404 return ctx.invoke(self.callback, **ctx.params) .................................................. ctx = self.deprecated = False _ = self.name = 'config-to-db' self.callback = .................................................. File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/core.py", line 760, in invoke 709 def invoke( 710 __self, # noqa: B902 711 __callback: t.Union["Command", t.Callable[..., t.Any]], 712 *args: t.Any, 713 **kwargs: t.Any, 714 ) -> t.Any: (...) 754 ctx.params.update(kwargs) 755 else: 756 ctx = __self 757 758 with augment_usage_errors(__self): 759 with ctx: --> 760 return __callback(*args, **kwargs) .................................................. args = () kwargs = {} ctx = .................................................. File "/home/lnie/.cache/pypoetry/virtualenvs/tft-artemis--bEMb97A-py3.9/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func 25 def new_func(*args, **kwargs): # type: ignore --> 26 return f(get_current_context(), *args, **kwargs) .................................................. args = () kwargs = {} .................................................. File "/home/lnie/artemis/server/src/tft/artemis/scripts/init_db_content.py", line 329, in cmd_config_to_db 323 @click.pass_context 324 def cmd_config_to_db(ctx: Any) -> None: 325 logger = get_logger() 326 server_config = get_config() 327 db = get_db(logger) 328 --> 329 config_to_db(logger, db, server_config) .................................................. cmd_root.command = core.py:1822> click.pass_context = ctx = logger = server_config = None db = .................................................. File "/home/lnie/artemis/server/src/tft/artemis/scripts/init_db_content.py", line 91, in config_to_db 76 def config_to_db( 77 logger: gluetool.log.ContextAdapter, 78 db: DB, 79 server_config: Dict[str, Any] 80 ) -> None: (...) 85 # When adding new bits, let's use a safer approach and test before adding possibly already existing 86 # records. 87 # Adding system and pool tags. We do not want to overwrite the existing value, only add those 88 # that are missing. Artemis' default example of configuration tries to add as little as possible, 89 # which means we probably don't return any tag user might have removed. 90 --> 91 r_validation = validate_config(logger, server_config) 92 .................................................. logger = db = server_config = None gluetool.log.log_dict = logger.error = log.py:698> db.get_session = contextlib.py:261> logger.info = log.py:684> GuestTag.poolname = GuestTag.tag = GuestTag.value = GuestTag.SYSTEM_POOL_ALIAS = '__system__' server_config.get = # AttributeError server_config = None PriorityGroup.name = Pool.poolname = Pool.driver = Pool._parameters = User.username = User.admin_token = User.provisioning_token = UserRoles.USER = GuestShelf.shelfname = GuestShelf.ownername = GuestShelf.state = GuestState.READY = SSHKey.keyname = SSHKey.enabled = SSHKey.ownername = SSHKey.private = SSHKey.public = SSHKey.file = .................................................. File "/home/lnie/artemis/server/src/tft/artemis/scripts/init_db_content.py", line 48, in validate_config 18 def validate_config( 19 logger: gluetool.log.ContextAdapter, 20 server_config: Dict[str, Any] 21 ) -> Result[List[str], Failure]: (...) 42 43 validation_errors += [ 44 f'server: {error}' 45 for error in r_validation.unwrap() 46 ] 47 --> 48 for pool in server_config.get('pools', []): 49 failure_details = { .................................................. logger = server_config = None validation_errors = ["server: None is not of type 'object'", ] r_schema = Ok({'$schema': 'http://json-schema.org/draft-07/schema#', 'd escription': 'Server configuration schema', 'type': 'object' , 'definitions': {'custom_flavor': {'type': 'object', 'prope rties': {'name': {'type': 'string'}, 'base': {'type': 'strin g'}, 'disk': {'$ref': '#/definitions/patch_flavor_disks'}}, 'required': ['name', 'base'], 'additionalProperties': False} , 'patch_flavor_compatible': {'type': 'object', 'properties' : {'distro': {'type': 'array', 'items': {'type': 'string'}}} , 'required': [], 'a... r_schema.is_error = False r_schema.unwrap_error = r_validation.unwrap = server_config.get = # AttributeError server_config = None os.path.join = .................................................. AttributeError: 'NoneType' object has no attribute 'get' + echo 'failed to initialize DB content' failed to initialize DB content + exit 1 ++ jobs -p + kill kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] [lnie@localhost-live server]$