When deploying local: create revision file if it doesn't exist

Bug #1285422 reported by Marco Ceppi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Low
Unassigned

Bug Description

[18:23:06] <danob> marcoceppi: this is my debug output https://gist.github.com/anonymous/47255921f3d123f646e0
[18:31:17] <marcoceppi> danob: does /home/danob/juju/localcharms/xxxx exist? where xxx is your charm?
[18:32:19] <danob> marcoceppi: yes my charm :)
[18:33:06] <danob> marcoceppi: it exists
[18:34:54] <danob> marcoceppi: i mean i am hiding my charm name by xxxx
[18:36:20] <danob> marcoceppi: though it just test charm
[18:37:09] <marcoceppi> danob: right, so is there a revision file in that charm?
[18:37:21] <danob> no
[18:37:37] <marcoceppi> OH
[18:37:43] <marcoceppi> danob: in localcharms, create a precise directory
[18:37:47] <marcoceppi> danob: then put the charm in that
[18:37:50] <marcoceppi> then run the command again
[18:37:53] <marcoceppi> that should fix it
[18:38:21] <danob> marcoceppi: ok
[18:43:10] <danob> marcoceppi: no getting same ERROR
[18:43:29] <marcoceppi> danob: create a revision file in the charm and put a 0 in it
[18:43:41] <danob> marcoceppi: my command is $juju deploy --repository=. local:oxrp
[18:43:44] <danob> ok
[18:46:06] <marcoceppi> and where is "." ?
[18:46:14] <marcoceppi> like . should be localcharms directory
[18:47:42] <danob> marcoceppi: yes it is in localcharm
[18:50:46] <danob> marcoceppi: revision file created in ixrp charm dir
[18:51:13] <danob> marcoceppi: inside it i place 0
[18:53:25] <danob> marcoceppi: oh man it is working worked

Seems juju should create this file if it doesn't exist.

Curtis Hovey (sinzui)
tags: added: charms deploy
Changed in juju-core:
status: New → Triaged
importance: Undecided → Low
Marco Ceppi (marcoceppi)
tags: added: papercut
Changed in juju-core:
status: Triaged → Won't Fix
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.