Ubuntu Pastebin

Paste from lazy at Mon, 21 Sep 2015 16:32:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1. How to create block device on node? I've read https://jujucharms.com/docs/stable/storage topic, but I can't create devices on new node.
   metadata.yaml
   ...
   storage:
     data:
       type: block
       multiple:
         range: 2
         
   juju deploy --repository=. local:trusty/nedge-node
   
         
    but in log file:
    machine-1[4789]: 2015-09-18 14:38:21 ERROR juju.worker runner.go:223 exited "storageprovisioner-machine": processing pending volume attachments: creating volume attachments: attaching volumes from source "loop": attaching volume 1/0: attaching loop device: /var/lib/juju/storage/loop/volume-1-0: No such file or directory: exit status 1
    
    anton@JUJU:~/charms$ juju storage volume list
    MACHINE  UNIT          STORAGE  DEVICE  VOLUME  ID          SIZE
    1        nedge-node/0  data/0           1/0     volume-1-0  1.0GiB
    1        nedge-node/0  data/1           1/1     volume-1-1  1.0GiB
    
    anton@JUJU:~/charms$ juju storage list
    [Storage]
    UNIT         ID     LOCATION STATUS  PERSISTENT
    nedge-node/0 data/0          pending false
    nedge-node/0 data/1          pending false
Download as text