unknown object type "Charms"

Bug #1480298 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Cheryl Jennings

Bug Description

As seen in
    http://reports.vapour.ws/releases/2936/job/functional-candidate-client-1-22-server/attempt/8

Juju failed to deploy a charm because of: unknown object type "Charms" was first seen in using 1.25-alpha1 client created from master master talking to a 1.22.6 state-server. This might relate to fact that juju 1.24 uses the new charm store, and older Jujus use the old store, though the charm under test is a local dummy charm.

Revision history for this message
Curtis Hovey (sinzui) wrote :

The QA team will fix bug 1480299 to get the missing logs.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Was able to recreate. Can see this in the log:

machine-0: 2015-07-31 15:37:22 DEBUG juju.apiserver apiserver.go:265 <- [6] user-admin@local {"RequestId":4,"Type":"Charms","Request":"IsMetered"}
machine-0: 2015-07-31 15:37:22 DEBUG juju.apiserver apiserver.go:272 -> [6] user-admin@local 213.938us {"RequestId":4,"Error":"unknown object type \"Charms\"","ErrorCode":"not implemented","Response":{}} Charms[""].IsMetered

The charm deployment did continue and complete successfully. Looking more at the metering code...

Changed in juju-core:
assignee: nobody → Cheryl Jennings (cherylj)
Revision history for this message
Cheryl Jennings (cherylj) wrote :

When deploying a charm, it calls registerMeteredCharm after calling the API to do the deploy and returns an error for the whole deployment if it is unable to register the charm for metering.

It probably should print out a warning that the juju version doesn't support metering, rather than returning an error.

Given that the deploy actually goes through, the severity of this bug could be reduced while I work on the fix.

Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Cheryl Jennings (cherylj) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote : Fix Released in juju-core master

Juju-CI verified that this issue is Fix Released in juju-core master:
    http://reports.vapour.ws/releases/2946

Changed in juju-core:
status: Fix Committed → Fix Released
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.