/juju-status.txt Secret
Last active
January 14, 2016 19:20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"RequestId":10, | |
"Response":{ | |
"Revision":7, | |
"URL":"cs:~hatch/precise/failtester-7", | |
"Config":{ | |
"Options":{ | |
"config-changed":{ | |
"Type":"boolean", | |
"Description":"Trigger config-changed hook failure.", | |
"Default":false | |
}, | |
"install":{ | |
"Type":"boolean", | |
"Description":"Trigger install hook failure.", | |
"Default":false | |
}, | |
"peer-relation":{ | |
"Type":"boolean", | |
"Description":"Trigger relation failures on peer relation.", | |
"Default":false | |
}, | |
"relation-broken":{ | |
"Type":"boolean", | |
"Description":"Trigger relation-broken hook failure.", | |
"Default":false | |
}, | |
"relation-changed":{ | |
"Type":"boolean", | |
"Description":"Trigger relation-changed hook failure.", | |
"Default":false | |
}, | |
"relation-departed":{ | |
"Type":"boolean", | |
"Description":"Trigger relation-departed hook failure.", | |
"Default":false | |
}, | |
"relation-joined":{ | |
"Type":"boolean", | |
"Description":"Trigger relation-joined hook failure.", | |
"Default":false | |
}, | |
"start":{ | |
"Type":"boolean", | |
"Description":"Trigger start hook failure.", | |
"Default":false | |
}, | |
"stop":{ | |
"Type":"boolean", | |
"Description":"Trigger stop hook failure.", | |
"Default":false | |
}, | |
"upgrade-charm":{ | |
"Type":"boolean", | |
"Description":"Trigget upgrade-charm hook failure.", | |
"Default":false | |
} | |
} | |
}, | |
"Meta":{ | |
"Name":"failtester", | |
"Summary":"Charm which allows you to test failures.", | |
"Description":"WARNING: This is charm is for Juju development testing only.\nIn order to allow for testing of real charm failures in\nreal environments you can use this charm and set the appropriate\nconfiguration values for the failure you would like to test.\n", | |
"Subordinate":false, | |
"Provides":{ | |
"prov-reltest":{ | |
"Name":"prov-reltest", | |
"Role":"provider", | |
"Interface":"failtest", | |
"Optional":false, | |
"Limit":0, | |
"Scope":"global" | |
} | |
}, | |
"Requires":{ | |
"req-reltest":{ | |
"Name":"req-reltest", | |
"Role":"requirer", | |
"Interface":"failtest", | |
"Optional":false, | |
"Limit":1, | |
"Scope":"global" | |
} | |
}, | |
"Peers":{ | |
"loopback":{ | |
"Name":"loopback", | |
"Role":"peer", | |
"Interface":"lbfailtest", | |
"Optional":false, | |
"Limit":1, | |
"Scope":"global" | |
} | |
}, | |
"Format":1, | |
"OldRevision":0, | |
"Categories":[ | |
"mis" | |
], | |
"Tags":null, | |
"Series":"", | |
"Storage":null | |
}, | |
"Actions":{ | |
"ActionSpecs":null | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"RequestId":5, | |
"Response":{ | |
"Deltas":[ | |
[ | |
"machine", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Id":"0", | |
"InstanceId":"localhost", | |
"Status":"started", | |
"StatusInfo":"", | |
"StatusData":{ | |
}, | |
"Life":"alive", | |
"Series":"trusty", | |
"SupportedContainers":[ | |
"lxc" | |
], | |
"SupportedContainersKnown":true, | |
"HardwareCharacteristics":{ | |
}, | |
"Jobs":[ | |
"JobManageEnviron" | |
], | |
"Addresses":[ | |
{ | |
"Value":"localhost", | |
"Type":"hostname", | |
"NetworkName":"", | |
"Scope":"public" | |
}, | |
{ | |
"Value":"10.0.3.1", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"10.211.55.7", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"fdb2:2c26:f4e4:0:21c:42ff:fe9a:b5c3", | |
"Type":"ipv6", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"fdb2:2c26:f4e4:0:d1f6:9250:17c4:9fed", | |
"Type":"ipv6", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"127.0.0.1", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
}, | |
{ | |
"Value":"::1", | |
"Type":"ipv6", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
} | |
], | |
"HasVote":true, | |
"WantsVote":true | |
} | |
], | |
[ | |
"machine", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Id":"1", | |
"InstanceId":"parallels-local-machine-1", | |
"Status":"started", | |
"StatusInfo":"", | |
"StatusData":{ | |
}, | |
"Life":"alive", | |
"Series":"trusty", | |
"SupportedContainers":[ | |
], | |
"SupportedContainersKnown":true, | |
"HardwareCharacteristics":{ | |
"Arch":"amd64" | |
}, | |
"Jobs":[ | |
"JobHostUnits" | |
], | |
"Addresses":[ | |
{ | |
"Value":"10.0.3.125", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"127.0.0.1", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
}, | |
{ | |
"Value":"::1", | |
"Type":"ipv6", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
} | |
], | |
"HasVote":false, | |
"WantsVote":false | |
} | |
], | |
[ | |
"service", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Name":"juju-gui", | |
"Exposed":true, | |
"CharmURL":"local:trusty/juju-gui-0", | |
"OwnerTag":"user-admin@local", | |
"Life":"alive", | |
"MinUnits":0, | |
"Constraints":{ | |
}, | |
"Config":{ | |
}, | |
"Subordinate":false, | |
"Status":{ | |
"Err":null, | |
"Current":"unknown", | |
"Message":"", | |
"Since":"2016-01-14T11:39:23.143166058-05:00", | |
"Version":"", | |
"Data":{ | |
} | |
} | |
} | |
], | |
[ | |
"annotation", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Tag":"service-juju-gui", | |
"Annotations":{ | |
"gui-x":"607.5", | |
"gui-y":"351.5" | |
} | |
} | |
], | |
[ | |
"relation", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Key":"failtester:loopback", | |
"Id":0, | |
"Endpoints":[ | |
{ | |
"ServiceName":"failtester", | |
"Relation":{ | |
"Name":"loopback", | |
"Role":"peer", | |
"Interface":"lbfailtest", | |
"Optional":false, | |
"Limit":1, | |
"Scope":"global" | |
} | |
} | |
] | |
} | |
], | |
[ | |
"annotation", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Tag":"service-failtester", | |
"Annotations":{ | |
"gui-x":"1002.5", | |
"gui-y":"446.5" | |
} | |
} | |
], | |
[ | |
"machine", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Id":"2", | |
"InstanceId":"parallels-local-machine-2", | |
"Status":"started", | |
"StatusInfo":"", | |
"StatusData":{ | |
}, | |
"Life":"alive", | |
"Series":"precise", | |
"SupportedContainers":[ | |
], | |
"SupportedContainersKnown":true, | |
"HardwareCharacteristics":{ | |
"Arch":"amd64" | |
}, | |
"Jobs":[ | |
"JobHostUnits" | |
], | |
"Addresses":[ | |
{ | |
"Value":"10.0.3.196", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-cloud" | |
}, | |
{ | |
"Value":"127.0.0.1", | |
"Type":"ipv4", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
}, | |
{ | |
"Value":"::1", | |
"Type":"ipv6", | |
"NetworkName":"", | |
"Scope":"local-machine" | |
} | |
], | |
"HasVote":false, | |
"WantsVote":false | |
} | |
], | |
[ | |
"service", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Name":"failtester", | |
"Exposed":false, | |
"CharmURL":"cs:~hatch/precise/failtester-7", | |
"OwnerTag":"user-admin@local", | |
"Life":"alive", | |
"MinUnits":0, | |
"Constraints":{ | |
}, | |
"Config":{ | |
"config-changed":true, | |
"install":false, | |
"peer-relation":false, | |
"relation-broken":false, | |
"relation-changed":false, | |
"relation-departed":false, | |
"relation-joined":false, | |
"start":false, | |
"stop":false, | |
"upgrade-charm":false | |
}, | |
"Subordinate":false, | |
"Status":{ | |
"Err":null, | |
"Current":"error", | |
"Message":"hook failed: \"config-changed\"", | |
"Since":"2016-01-14T13:55:44.01795726-05:00", | |
"Version":"", | |
"Data":{ | |
"hook":"config-changed" | |
} | |
} | |
} | |
], | |
[ | |
"unit", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Name":"failtester/0", | |
"Service":"failtester", | |
"Series":"precise", | |
"CharmURL":"cs:~hatch/precise/failtester-7", | |
"PublicAddress":"10.0.3.196", | |
"PrivateAddress":"10.0.3.196", | |
"MachineId":"2", | |
"Ports":[ | |
], | |
"PortRanges":[ | |
], | |
"Subordinate":false, | |
"Status":"pending", | |
"StatusInfo":"", | |
"StatusData":{ | |
}, | |
"WorkloadStatus":{ | |
"Err":null, | |
"Current":"error", | |
"Message":"hook failed: \"config-changed\"", | |
"Since":"2016-01-14T13:55:44.01795726-05:00", | |
"Version":"", | |
"Data":{ | |
"hook":"config-changed" | |
} | |
}, | |
"AgentStatus":{ | |
"Err":null, | |
"Current":"allocating", | |
"Message":"", | |
"Since":"2016-01-14T12:34:13.511050156-05:00", | |
"Version":"", | |
"Data":{ | |
} | |
} | |
} | |
], | |
[ | |
"unit", | |
"change", | |
{ | |
"EnvUUID":"60b9ced8-9d48-45e2-8fac-d28c2f4ae06a", | |
"Name":"juju-gui/0", | |
"Service":"juju-gui", | |
"Series":"trusty", | |
"CharmURL":"local:trusty/juju-gui-0", | |
"PublicAddress":"10.0.3.125", | |
"PrivateAddress":"10.0.3.125", | |
"MachineId":"1", | |
"Ports":[ | |
{ | |
"Protocol":"tcp", | |
"Number":80 | |
}, | |
{ | |
"Protocol":"tcp", | |
"Number":443 | |
} | |
], | |
"PortRanges":[ | |
{ | |
"FromPort":80, | |
"ToPort":80, | |
"Protocol":"tcp" | |
}, | |
{ | |
"FromPort":443, | |
"ToPort":443, | |
"Protocol":"tcp" | |
} | |
], | |
"Subordinate":false, | |
"Status":"started", | |
"StatusInfo":"", | |
"StatusData":{ | |
}, | |
"WorkloadStatus":{ | |
"Err":null, | |
"Current":"unknown", | |
"Message":"", | |
"Since":"2016-01-14T11:39:23.143166058-05:00", | |
"Version":"", | |
"Data":{ | |
} | |
}, | |
"AgentStatus":{ | |
"Err":null, | |
"Current":"idle", | |
"Message":"", | |
"Since":"2016-01-14T14:05:40.261717109-05:00", | |
"Version":"", | |
"Data":{ | |
} | |
} | |
} | |
] | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[parallels@ubuntu:juju-gui-charm]$ juju status | |
environment: local | |
machines: | |
"0": | |
agent-state: started | |
agent-version: 1.25.0.1 | |
dns-name: localhost | |
instance-id: localhost | |
series: trusty | |
state-server-member-status: has-vote | |
"1": | |
agent-state: started | |
agent-version: 1.25.0.1 | |
dns-name: 10.0.3.125 | |
instance-id: parallels-local-machine-1 | |
series: trusty | |
hardware: arch=amd64 | |
"2": | |
agent-state: started | |
agent-version: 1.25.0.1 | |
dns-name: 10.0.3.196 | |
instance-id: parallels-local-machine-2 | |
series: precise | |
hardware: arch=amd64 | |
services: | |
failtester: | |
charm: cs:~hatch/precise/failtester-7 | |
exposed: false | |
service-status: | |
current: error | |
message: 'hook failed: "config-changed"' | |
since: 14 Jan 2016 13:55:44-05:00 | |
relations: | |
loopback: | |
- failtester | |
units: | |
failtester/0: | |
workload-status: | |
current: error | |
message: 'hook failed: "config-changed"' | |
since: 14 Jan 2016 13:55:44-05:00 | |
agent-status: | |
current: idle | |
since: 14 Jan 2016 13:55:44-05:00 | |
version: 1.25.0.1 | |
agent-state: error | |
agent-state-info: 'hook failed: "config-changed"' | |
agent-version: 1.25.0.1 | |
life: dying | |
machine: "2" | |
public-address: 10.0.3.196 | |
juju-gui: | |
charm: local:trusty/juju-gui-0 | |
exposed: true | |
service-status: | |
current: unknown | |
since: 14 Jan 2016 11:39:23-05:00 | |
units: | |
juju-gui/0: | |
workload-status: | |
current: unknown | |
since: 14 Jan 2016 11:39:23-05:00 | |
agent-status: | |
current: idle | |
since: 14 Jan 2016 14:00:40-05:00 | |
version: 1.25.0.1 | |
agent-state: started | |
agent-version: 1.25.0.1 | |
machine: "1" | |
open-ports: | |
- 80/tcp | |
- 443/tcp | |
public-address: 10.0.3.125 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment