upgrade-model ERROR invalid character '/' looking for beginning of value

Bug #1888782 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
High
Unassigned

Bug Description

Hi,

Trying to upgrade models to Juju 2.8.1, one failing as follows:

| juju upgrade-model -m prod-connectivity-check/prod-connectivity-check --agent-version=2.8.1
| ERROR invalid character '/' looking for beginning of value

Permissions?

| juju show-model prod-connectivity-check/prod-connectivity-check
| ERROR permission denied

Revision history for this message
Ian Booth (wallyworld) wrote :

From a chat in IRC, it seems that the model is owned by a different user to the one doing the upgrade. But the logged in user doing the upgrade has admin on the model so it should work.

The controller is 2.8.1

$ juju upgrade-model
ERROR invalid character '/' looking for beginning of value
$ juju show-model
prod-connectivity-check:
  name: prod-connectivity-check/prod-connectivity-check
  short-name: prod-connectivity-check
  model-uuid: d00986e6-ca8c-42a6-82a2-f36054511b20
  model-type: iaas
  controller-uuid: 8a8be08a-6cd5-4168-80c6-83a4d53bb99d
  controller-name: rocket-europe-west1
  is-controller: false
  owner: prod-connectivity-check
  cloud: google
  region: europe-west1
  type: gce
  life: alive
  status:
    current: available
    since: "2017-07-05"
  users:
    admin:
      display-name: admin
      access: admin
      last-connection: 7 seconds ago
  sla: unsupported
  agent-version: 2.0.3
  credential:
    name: gce-is
    owner: prod-connectivity-check
    cloud: google
    validity-check: valid

Ian Booth (wallyworld)
tags: added: upgrade-juju
Changed in juju:
milestone: none → 2.8.2
importance: Undecided → High
status: New → Triaged
Changed in juju:
milestone: 2.8.2 → 2.8.3
Pen Gale (pengale)
Changed in juju:
milestone: 2.8.4 → 2.9-beta1
Changed in juju:
milestone: 2.9-beta1 → 2.9-rc1
Pen Gale (pengale)
tags: added: bitesize
Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
milestone: 2.9-rc1 → 2.8.7
status: Triaged → In Progress
Revision history for this message
Ian Booth (wallyworld) wrote :

I'm having trouble reproducing this with juju 2.8 or 2.9
I notice in the show-model output that the agent-version is being reported as 2.0.3.

Could we try upgrading the model while logged in as the model owner? Given how old 2.0.3 is, it may be that the issue is by now obsolete, and getting to a more recent version of Juju will solve the problem.

Changed in juju:
status: In Progress → Triaged
assignee: Ian Booth (wallyworld) → nobody
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8.7 → none
Revision history for this message
Haw Loeung (hloeung) wrote :

It's been upgraded to 2.8.3 now, so let's close this one off and we'll re-open if it reoccurs.

John A Meinel (jameinel)
Changed in juju:
status: Triaged → Invalid
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.