Strange bug: I have a bundle to deploy which is named kubernetes-bundle.yaml. Regardless of the content Juju just doesn't like this name ¯\_(ツ)_/¯
1) juju deploy ./kubernetes-bundle.yaml # - fails;
2) cp kubernetes_bundle.yaml bundle.yaml # no changes to the bundle content
3) juju deploy ./bundle.yaml # - deploys fine
ubuntu@maas:~/bundles$ juju deploy ./kubernetes-bundle.yaml --debug
17:19:41 INFO juju.cmd supercommand.go:57 running juju [2.5.0 gc go1.10.4]
17:19:41 DEBUG juju.cmd supercommand.go:58 args: []string{"/snap/juju/6362/bin/juju", "deploy", "./kubernetes-bundle.yaml", "--debug"}
17:19:41 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070]
17:19:41 DEBUG juju.api apiclient.go:883 successfully dialed "wss://10.232.1.60:17070/model/e75b45b5-c5f8-4cf5-8dad-4456083d7bbc/api"
17:19:41 INFO juju.api apiclient.go:603 connection established to "wss://10.232.1.60:17070/model/e75b45b5-c5f8-4cf5-8dad-4456083d7bbc/api"
17:19:41 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070]
17:19:41 DEBUG juju.api apiclient.go:883 successfully dialed "wss://10.232.1.60:17070/api"
17:19:41 INFO juju.api apiclient.go:603 connection established to "wss://10.232.1.60:17070/api"
17:19:41 DEBUG juju.cmd.juju.application deploy.go:1312 cannot interpret as local bundle: bundle not found: ./kubernetes-bundle.yaml
17:19:41 DEBUG juju.cmd.juju.application deploy.go:1421 cannot interpret as local charm: file does not exist
17:19:41 DEBUG juju.api monitor.go:35 RPC connection died
ERROR cannot parse URL "./kubernetes-bundle.yaml": series name "." not valid
17:19:41 DEBUG cmd supercommand.go:496 error stack:
/build/juju/parts/juju/go/src/github.com/juju/juju/vendor/gopkg.in/juju/charm.v6/url.go:69: series name "." not valid
/build/juju/parts/juju/go/src/github.com/juju/juju/vendor/gopkg.in/juju/charm.v6/url.go:191: cannot parse URL "./kubernetes-bundle.yaml"
/build/juju/parts/juju/go/src/github.com/juju/juju/vendor/gopkg.in/juju/charm.v6/url.go:153:
/build/juju/parts/juju/go/src/github.com/juju/juju/cmd/juju/application/deploy.go:1249:
/build/juju/parts/juju/go/src/github.com/juju/juju/cmd/juju/application/deploy.go:1189:
/build/juju/parts/juju/go/src/github.com/juju/juju/cmd/juju/application/deploy.go:1180:
ubuntu@maas:~/bundles$ cp kubernetes_bundle.yaml bundle.yaml
ubuntu@maas:~/bundles$ juju deploy ./bundle.yaml --debug
17:19:54 INFO juju.cmd supercommand.go:57 running juju [2.5.0 gc go1.10.4]
17:19:54 DEBUG juju.cmd supercommand.go:58 args: []string{"/snap/juju/6362/bin/juju", "deploy", "./bundle.yaml", "--debug"}
17:19:54 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070]
17:19:54 DEBUG juju.api apiclient.go:883 successfully dialed "wss://10.232.1.60:17070/model/e75b45b5-c5f8-4cf5-8dad-4456083d7bbc/api"
17:19:54 INFO juju.api apiclient.go:603 connection established to "wss://10.232.1.60:17070/model/e75b45b5-c5f8-4cf5-8dad-4456083d7bbc/api"
17:19:54 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070]
17:19:54 DEBUG juju.api apiclient.go:883 successfully dialed "wss://10.232.1.60:17070/api"
17:19:54 INFO juju.api apiclient.go:603 connection established to "wss://10.232.1.60:17070/api"
17:19:54 DEBUG juju.cmd.juju.application bundle.go:273 model: &bundlechanges.Model{
Applications: {
},
Machines: {
},
Relations: nil,
ConstraintsEqual: func(string, string) bool {...},
Sequence: {},
sequence: {},
MachineMap: {},
logger: nil,
Removing from a milestone as this work will not be done in 2.6 series.