Aptomi / k8s-app-engine

Application delivery engine for k8s
Apache License 2.0
163 stars 19 forks source link

Deployment fails after cluster cleanup #224

Closed romangithub1024 closed 6 years ago

romangithub1024 commented 6 years ago
  1. Run aptomi example
  2. ./tools/demo-gke.sh cleanup
  3. Deploy via aptomi again
INFO[0661] (enforce-64) New revision 20, policy gen 7, 56 actions need to be applied
INFO[0661] (enforce-64) Applying changes
INFO[0661] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#twitter_stats#stage#Alice#tweeviz
DEBU[0661] (enforce-64-apply) Created k8s tunnel using local port: 38682
INFO[0662] (enforce-64-apply) Release 'main-twitter-stats-stage-alice-tweeviz' already exists. Updating it
INFO[0662] (enforce-64-apply) Updating Helm release 'main-twitter-stats-stage-alice-tweeviz', chart 'tweeviz', cluster: 'cluster-us-west'
ERRO[0663] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#twitter_stats#stage#Alice#tweeviz': error while creating component 'cluster-us-west#main#twitter_stats#stage#Alice#tweeviz': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0663] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#hdfs#stage#hdfs
INFO[0663] (enforce-64-apply) Release 'main-hdfs-stage-hdfs' already exists. Updating it
INFO[0663] (enforce-64-apply) Updating Helm release 'main-hdfs-stage-hdfs', chart 'hdfs', cluster: 'cluster-us-west'
ERRO[0664] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#hdfs#stage#hdfs': error while creating component 'cluster-us-west#main#hdfs#stage#hdfs': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0664] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#twitter_stats#stage#Alice#tweetics
INFO[0665] (enforce-64-apply) Release 'main-twitter-stats-stage-alice-tweetics' already exists. Updating it
INFO[0665] (enforce-64-apply) Updating Helm release 'main-twitter-stats-stage-alice-tweetics', chart 'tweetics', cluster: 'cluster-us-west'
ERRO[0665] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#twitter_stats#stage#Alice#tweetics': error while creating component 'cluster-us-west#main#twitter_stats#stage#Alice#tweetics': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0665] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#zookeeper#stage#zookeeper
INFO[0666] (enforce-64-apply) Release 'main-zookeeper-stage-zookeeper' already exists. Updating it
INFO[0666] (enforce-64-apply) Updating Helm release 'main-zookeeper-stage-zookeeper', chart 'zookeeper', cluster: 'cluster-us-west'
ERRO[0666] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#zookeeper#stage#zookeeper': error while creating component 'cluster-us-west#main#zookeeper#stage#zookeeper': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0666] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#twitter_stats#stage#Alice#tweepub
INFO[0667] (enforce-64-apply) Release 'main-twitter-stats-stage-alice-tweepub' already exists. Updating it
INFO[0667] (enforce-64-apply) Updating Helm release 'main-twitter-stats-stage-alice-tweepub', chart 'tweepub', cluster: 'cluster-us-west'
ERRO[0667] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#twitter_stats#stage#Alice#tweepub': error while creating component 'cluster-us-west#main#twitter_stats#stage#Alice#tweepub': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0667] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#kafka#stage#kafka
INFO[0668] (enforce-64-apply) Release 'main-kafka-stage-kafka' already exists. Updating it
INFO[0668] (enforce-64-apply) Updating Helm release 'main-kafka-stage-kafka', chart 'kafka', cluster: 'cluster-us-west'
ERRO[0668] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#kafka#stage#kafka': error while creating component 'cluster-us-west#main#kafka#stage#kafka': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0668] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#spark#stage#spark
INFO[0669] (enforce-64-apply) Release 'main-spark-stage-spark' already exists. Updating it
INFO[0669] (enforce-64-apply) Updating Helm release 'main-spark-stage-spark', chart 'spark', cluster: 'cluster-us-west'
ERRO[0670] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#spark#stage#spark': error while creating component 'cluster-us-west#main#spark#stage#spark': rpc error: code = Unknown desc = failed to create resource: namespaces "demo" not found
INFO[0670] (enforce-64-apply) Deploying new component instance: cluster-us-west#main#twitter_stats#stage#Bob#tweepub
INFO[0670] (enforce-64-apply) Release 'main-twitter-stats-stage-bob-tweepub' already exists. Updating it
INFO[0670] (enforce-64-apply) Updating Helm release 'main-twitter-stats-stage-bob-tweepub', chart 'tweepub', cluster: 'cluster-us-west'
ERRO[0671] (enforce-64-apply) error while applying action 'action-component-create/cluster-us-west#main#twitter_stats#stage#Bob