[2.5.0] juju deploy ./kubernetes-bundle.yaml fails with "series name "." not valid"

Bug #1815146 reported by Dmitrii Shcherbakov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

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,

Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.6-beta1
tags: added: bitesize bundles
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Changed in juju:
milestone: 2.6-beta2 → 2.6-rc1
Changed in juju:
milestone: 2.6-rc1 → 2.6-rc2
Changed in juju:
milestone: 2.6-rc2 → 2.6.1
Changed in juju:
milestone: 2.6.1 → 2.6.2
Changed in juju:
milestone: 2.6.2 → 2.6.3
Changed in juju:
milestone: 2.6.3 → 2.6.4
Changed in juju:
milestone: 2.6.4 → 2.6.5
Changed in juju:
milestone: 2.6.5 → 2.6.6
Changed in juju:
milestone: 2.6.6 → 2.6.7
Changed in juju:
milestone: 2.6.7 → 2.6.9
Changed in juju:
milestone: 2.6.9 → 2.6.10
Changed in juju:
milestone: 2.6.10 → 2.6.11
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Removing from a milestone as this work will not be done in 2.6 series.

Changed in juju:
milestone: 2.6.11 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.