sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

viya_monitoring tag does not seems to work #110

Closed chrzaszczg closed 3 years ago

chrzaszczg commented 3 years ago

We installed SAS Viya Monitoring for Kubernetes using the viya4-deployment tool. cluster-monitoring and cluster-logging worked very well (but will be nice to be able to change the monitoring and logging namespaces - issues !108 and !109). viya-monitoring does not seems to work as expected (no prometheus-pushgateway pod in the Viya deployment namespace).

here some output:

docker container run -it \
--group-add root \
--user $(id -u):$(id -g) \
-v $HOME/project/deploy:/data \
-v $HOME/.kube/config:/config/kubeconfig \
-v $HOME/project/deploy/${NS}/${NS}-viyavars.yaml:/config/config \
-v $HOME/viya4-iac-aws/${NS}.tfstate:/config/tfstate \
viya4-deployment \
--tags "cluster-logging,cluster-monitoring,viya-monitoring,install"
 Wednesday 23 June 2021 15:12:15 +0000 (0:00:00.477) 0:14:08.769 ********
===============================================================================
monitoring : cluster-logging - deploy ------------------------------------------------------------------------------------------------------------------------------------------------- 329.72s
monitoring : cluster-logging - deploy ------------------------------------------------------------------------------------------------------------------------------------------------- 268.34s
monitoring : cluster-monitoring - deploy ---------------------------------------------------------------------------------------------------------------------------------------------- 126.87s
monitoring : cluster-monitoring - deploy ----------------------------------------------------------------------------------------------------------------------------------------------- 94.27s
monitoring : cluster-monitoring - lookup existing credentials --------------------------------------------------------------------------------------------------------------------------- 2.40s
monitoring : cluster-logging - lookup existing credentials ------------------------------------------------------------------------------------------------------------------------------ 2.33s
monitoring : cluster-logging - lookup existing credentials ------------------------------------------------------------------------------------------------------------------------------ 2.04s
monitoring : cluster-monitoring - lookup existing credentials --------------------------------------------------------------------------------------------------------------------------- 1.77s
Gathering Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.63s
monitoring : v4m - download ------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.53s
monitoring : v4m - add storageclass ----------------------------------------------------------------------------------------------------------------------------------------------------- 1.52s
common : tfstate - export kubeconfig ---------------------------------------------------------------------------------------------------------------------------------------------------- 1.39s
monitoring : cluster-monitoring - user values ------------------------------------------------------------------------------------------------------------------------------------------- 1.17s
monitoring : cluster-logging - user values ---------------------------------------------------------------------------------------------------------------------------------------------- 1.02s
monitoring : cluster-logging - user values ---------------------------------------------------------------------------------------------------------------------------------------------- 0.99s
monitoring : cluster-monitoring - user values ------------------------------------------------------------------------------------------------------------------------------------------- 0.81s
monitoring : cluster-monitoring - create userdir ---------------------------------------------------------------------------------------------------------------------------------------- 0.66s
global tmp dir -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.65s
monitoring : cluster-logging - create userdir ------------------------------------------------------------------------------------------------------------------------------------------- 0.54s
monitoring : cluster-logging - create userdir ------------------------------------------------------------------------------------------------------------------------------------------- 0.52s
NormJohnIV commented 3 years ago

Rerun the deployment with verbose mode. Then check the output. Also, was viya already deployed into the desired namespace? I see you did not have viya on your command

NormJohnIV commented 3 years ago

closing due to no response