Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
still unable to upload charm resources #96
Comments
|
Include the version in the charm url you pass to charm attach. We have a fix coming soon which will return an error message saying so. |
jrwren
added
the
fix-commited
label
Oct 31, 2016
battlemidget
referenced this issue
in CanonicalLtd/jujucharms.com
Oct 31, 2016
Closed
doc: detail that you must provide a charm version when issuing charm attach #370
|
In CanonicalLtd/jujucharms.com#332 I mentioned that including the charm rev doesn't address this error for resources over a certain file size. |
|
As noted on the aforementioned issue, I've been informed by @urosj that the issue for large resources is in fact related to the underlying blob store and that the fix is non-trivial and thus will take some time but is being worked on. Note that this only applies to large resource payloads, so if this payload is smaller, it may simply be the charm rev issue that @jrwren mentioned. |
arosales
commented
Jan 26, 2017
•
|
@wwwtyro looks to be hitting a similar issue
Resource size is 9.2MB, and the version is being included so may not be the same exact issue here. The issue looks fix-commited, but do folks know what release of charm-tools this is addressed in? Or, if this looks like a new issue please let us know and we can open up a new issue. -thanks, |
wwwtyro
commented
Jan 26, 2017
|
My uplink is 6Mbps, and the attempted command takes roughly between 15 and 17 seconds. |
battlemidget
commented
Jan 26, 2017
|
The problem I have with this issue is the error message that is returned is not helpful at all. If it's a user error then the error message should say so. This issue has been open for a long time now and I can't tell if any traction had been made. This is actually a very common problem people are hitting and deserves more attention. |
wwwtyro
commented
Jan 26, 2017
•
|
Fixed my issue, was user error. Agree with @battlemidget, though, some kind of feedback there would have saved me time. :) If it helps, in my case, I was pushing an incorrect metadata.yaml file with the wrong resource definitions. -2 IQ points to me. |
|
As part of the investigation, we've filed the following bug to Apache: We're currently looking at an alternative implementation so that we don't have to depend on the apache accepting the patch. |
|
Related: CanonicalLtd/jujucharms.com#332 |
battlemidget commentedOct 31, 2016
This bug was marked fixed: CanonicalLtd/jujucharms.com#255
However, im stilling seeing an issue: