Open johnsca opened 6 years ago
From canonical-kubernetes/steps/05_logging/after-deploy.err
canonical-kubernetes/steps/05_logging/after-deploy.err
+ . /tmp/goodstuff/sdk/common.sh + [[ True == \N\o ]] + [[ True == \F\a\l\s\e ]] + [[ True == \Y\e\s ]] + [[ True == \T\r\u\e ]] ++ unitAddress apache2 ++ py_script=' import sys import yaml status_yaml=yaml.load(sys.stdin) unit = status_yaml['\''applications'\'']['\''apache2'\'']['\''units'\''] units = list(unit.keys()) print(unit[units[0]]['\''public-address'\'']) ' ++ juju status -m jimm.jujucharms.com:conjure-canonical-kubern-8bc apache2 --format yaml ++ env python3 -c ' import sys import yaml status_yaml=yaml.load(sys.stdin) unit = status_yaml['\''applications'\'']['\''apache2'\'']['\''units'\''] units = list(unit.keys()) print(unit[units[0]]['\''public-address'\'']) ' + proxy_public_ip=54.89.190.80 ++ juju config elasticsearch cluster-name ++ sed -e 's/"//g' ERROR model conjure-up-localhost-fbf:admin/conjure-canonical-kubern-8bc not found + es_cluster= ++ juju run --unit graylog/0 'network-get elasticsearch --format yaml --ingress-address' ++ head -1 ERROR model conjure-up-localhost-fbf:admin/conjure-canonical-kubern-8bc not found + graylog_ingress_ip= + juju config filebeat logstash_hosts=:5044 ERROR model conjure-up-localhost-fbf:admin/conjure-canonical-kubern-8bc not found
All of these calls to juju need to include -m $JUJU_CONTROLLER:$JUJU_MODEL
juju
-m $JUJU_CONTROLLER:$JUJU_MODEL
@johnsca cool, thanks. I will prep a PR to include -m.
-m
Fixed in #134 with https://github.com/conjure-up/spells/pull/134/commits/e5998344ebe81f516ab24cab8ff2b23f06712781
From
canonical-kubernetes/steps/05_logging/after-deploy.err