Model migration "" is not a valid tag

Bug #1643943 reported by Curtis Hovey
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

As seen in
    http://reports.vapour.ws/releases/issue/5834709c749a561bc47d4ad5

Seen after migration is initiated.

CalledProcessError: Command '('/usr/bin/python', '/var/lib/jenkins/juju-ci-tools/timeout.pyc', '120.00', '--', 'juju', '--show-log', 'list-models', '-c', 'functional-model-migration-b', '--format', 'yaml')' returned non-zero exit status 1
2016-11-22 15:47:43 INFO Output from exception:
stdout:

stderr:
15:47:43 INFO juju.cmd supercommand.go:63 running juju [2.1-beta2 gc go1.6.2]
15:47:43 INFO juju.juju api.go:72 connecting to API addresses: [10.18.70.236:17070]
15:47:43 INFO juju.api apiclient.go:535 dialing "wss://10.18.70.236:17070/api"
15:47:43 INFO juju.api apiclient.go:466 connection established to "wss://10.18.70.236:17070/api"
15:47:43 INFO juju.juju api.go:72 connecting to API addresses: [10.18.70.236:17070]
15:47:43 INFO juju.api apiclient.go:535 dialing "wss://10.18.70.236:17070/api"
15:47:43 INFO juju.api apiclient.go:466 connection established to "wss://10.18.70.236:17070/api"
15:47:43 ERROR cmd supercommand.go:458 "" is not a valid tag

Curtis Hovey (sinzui)
Changed in juju:
milestone: none → 2.1-beta2
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-beta2 → none
Curtis Hovey (sinzui)
Changed in juju:
milestone: none → 2.1-rc1
summary: - Modle migration "" is not a valid tag
+ Model migration "" is not a valid tag
Tim Penhey (thumper)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
Revision history for this message
Tim Penhey (thumper) wrote :

Unfortunately I can't reproduce this at all, and the logs don't give enough information.

I have asked for the CI tests to be run with --debug rather than just --show-log so we can gather more info.

Changed in juju:
status: In Progress → Incomplete
Changed in juju:
milestone: 2.1-rc1 → none
Changed in juju:
assignee: Tim Penhey (thumper) → nobody
Revision history for this message
Christopher Lee (veebers) wrote :

I see this failure in this[1] run of the model migration aws test. The error in the logs:
  00:13:30 ERROR cmd supercommand.go:458 "" is not a valid tag

I'm not yet able to reproduce this on demand, but I've seen it happen 3 times out of 5 runs this morning.
I'll update when I have further details.

[1] http://juju-ci.vapour.ws:8080/job/functional-model-migration-aws/9/console

Revision history for this message
Anastasia (anastasia-macmood) wrote :

The error itself is coming from
github.com/juju/juju/cmd/juju/controller/listmodels.go:164:
github.com/juju/juju/cmd/juju/common/model.go:70

I am looking into how/why we are getting an "" tag for models.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

The issue was hard to track as it was hard to reproduce.
I believe that this PR (against 2.1) is the fix: https://github.com/juju/juju/pull/7011

Let us know if you are still seeing the issue once it lands.

Changed in juju:
status: Incomplete → Triaged
milestone: none → 2.1.0
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1.0 → 2.1.1
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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