The latest edge version of apache-zeppelin (https://jujucharms.com/apache-zeppelin/15) contains a 0-byte placeholder resource in the store and logic to fall back to the current, non-2.0 blob fetching if one is not provided during deployment. However, it is getting hung and never reaching the fall back logic because resource-get is waiting indefinitely for the store.
This doesn't happen every time, but it happens consistently enough to be a significant problem, as it blocks the charm indefinitely.
This doesn't seem to be related to the fix for https://bugs.launchpad.net/juju/+bug/1577415 or is a regression, and I'm fairly certain it is related to the charm store issues reported in https://github.com/CanonicalLtd/jujucharms.com/issues/332
For reference, I have this strace:
ubuntu@plugin-0:~$ pgrep -alf resource-get
24068 resource-get zeppelin
ubuntu@plugin-0:~$ sudo strace -p 24068
Process 24068 attached
epoll_wait(5, ^CProcess 24068 detached
<detached ...>
ubuntu@plugin-0:~$ time sudo strace -p 24068
Process 24068 attached
epoll_wait(5,
And I have the following process time information:
ubuntu@plugin-0:~$ ps -p "24068" -o etime=
01:01:58
Additional information showing the size of the resource file:
$ charm show ~bigdata- charmers/ apache- zeppelin- 15 id resources charmers/ apache- zeppelin- 15
id:
Id: cs:~bigdata-
Name: apache-zeppelin
Revision: 15
User: bigdata-charmers
resources:
- Description: The Apache Zeppelin distribution
Fingerprint: null
Name: zeppelin
Path: zeppelin.tgz
Revision: -1
Size: 0
Type: file