Ubuntu Pastebin

Paste from Kevin W Monroe at Thu, 28 Apr 2016 18:32:10 +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
26
27
28
ubuntu@2d790164608d:~$ juju list-models
NAME        OWNER        STATUS     LAST CONNECTION
admin       admin@local  available  never connected
spark-test  admin@local  available  3 hours ago
poc-test    admin@local  available  24 seconds ago
rtsa*       admin@local  available  11 seconds ago


## In the rtsa model, machine-4 is fine:

ubuntu@2d790164608d:~$ juju run --machine 4 'host machine-4 && hostname && ip addr show eth0 | grep "inet "'
machine-4.v3swbdii50hetgpziubiep2i0g.jx.internal.cloudapp.net has address 10.3.0.8
machine-4
    inet 10.3.0.8/16 brd 10.3.255.255 scope global eth0


## Switch to different model, which also has a machine-4:

ubuntu@2d790164608d:~$ juju switch poc-test
local.azure-sc:rtsa -> local.azure-sc:poc-test


## In the poc-test model, machine-4 is returning the address from the rtsa model's machine-4:

ubuntu@2d790164608d:~$ juju run --machine 4 'host machine-4 && hostname && ip addr show eth0 | grep "inet "'
machine-4.v3swbdii50hetgpziubiep2i0g.jx.internal.cloudapp.net has address 10.3.0.8
machine-4
    inet 10.2.0.12/16 brd 10.2.255.255 scope global eth0
Download as text