"OSMMON_DATABASE_COMMONKEY": self.config["database-commonkey"],
# Prometheus/grafana configuration
"OSMMON_PROMETHEUS_URL": f"http://{self.prometheus_client.hostname}:{self.prometheus_client.port}",
+ "OSMMON_PROMETHEUS_USER": self.prometheus_client.user
+ "OSMMON_PROMETHEUS_PASSWORD": self.prometheus_client.password,
"OSMMON_GRAFANA_URL": self.config["grafana-url"],
"OSMMON_GRAFANA_USER": self.config["grafana-user"],
"OSMMON_GRAFANA_PASSWORD": self.config["grafana-password"],
+ "OSMMON_KEYSTONE_ENABLED": self.config["keystone-enabled"],
+ "OSMMON_KEYSTONE_URL": self.keystone_client.host,
+ "OSMMON_KEYSTONE_DOMAIN_NAME": self.keystone_client.user_domain_name,
+ "OSMMON_KEYSTONE_SERVICE_PROJECT": self.keystone_client.service,
+ "OSMMON_KEYSTONE_SERVICE_USER": self.keystone_client.username ,
+ "OSMMON_KEYSTONE_SERVICE_PASSWORD": self.keystone_client.password,
+ "OSMMON_KEYSTONE_SERVICE_PROJECT_DOMAIN_NAME": self.keystone_client.project_domain_name,
}
+ logger.info(f"{environment}")
if self.vca.data:
environment["OSMMON_VCA_HOST"] = self.vca.data.endpoints
environment["OSMMON_VCA_SECRET"] = self.vca.data.secret