Closed romangithub1024 closed 6 years ago
This is a pretty serious UX issue right now:
[aptomi] aptomictl policy apply -f examples/twitter-analytics/policy 14:37:45 ☁ master ☂ ⚡
DEBU[0000] Config:
debug: true
output: text
api:
schema: http
host: 127.0.0.1
port: 27866
apiprefix: api/v1
auth:
username: admin
http:
timeout: 15s
INFO[0000] Applying policy from:
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Frank/analytics_pipeline.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Frank/hdfs.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Frank/kafka.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Frank/spark.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Frank/zookeeper.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/John/twitter_stats.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Sam/acl.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Sam/clusters.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/Sam/rules.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/alice-stage-ts.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/bob-stage-ts.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/carol-stage-ts.yaml
INFO[0000] [*] /Users/ralekseenkov/go/src/github.com/Aptomi/aptomi/examples/twitter-analytics/policy/john-prod-ts.yaml
FATA[0000] Error while applying policy: received object kind error doesn't match expected policy-update-result
Same thing happens when you trying to do operation that requires user passed but it isn't