Skip to content

Instantly share code, notes, and snippets.

@Ladas
Created October 9, 2017 14:36
Show Gist options
  • Save Ladas/9246f4185bb8b5b14e69583427be1c7c to your computer and use it in GitHub Desktop.
Save Ladas/9246f4185bb8b5b14e69583427be1c7c to your computer and use it in GitHub Desktop.
OSE targeted refresh
[#<EmsEvent:0x000000000903d000
id: 3769,
event_type: "CONTAINER_KILLING",
message: "Killing container with id docker://deployment:Need to kill Pod",
timestamp: Mon, 09 Oct 2017 14:15:32 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:32Z",
:kind=>"Pod",
:name=>"stress6-1-deploy",
:namespace=>"vcr-tests",
:reason=>"Killing",
:message=>"Killing container with id docker://deployment:Need to kill Pod",
:uid=>"46c61bdc-acfc-11e7-8a08-001a4a162711",
:fieldpath=>"spec.containers{deployment}",
:container_name=>"deployment",
:container_group_name=>"stress6-1-deploy",
:container_namespace=>"vcr-tests",
:event_type=>"CONTAINER_KILLING"},
created_on: Mon, 09 Oct 2017 14:15:37 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-deploy",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: "deployment",
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "46c61bdc-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903c920
id: 3768,
event_type: "CONTAINER_STARTED",
message: "Started container",
timestamp: Mon, 09 Oct 2017 14:15:31 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:31Z",
:kind=>"Pod",
:name=>"stress6-1-8175w",
:namespace=>"vcr-tests",
:reason=>"Started",
:message=>"Started container",
:uid=>"4a941617-acfc-11e7-8a08-001a4a162711",
:fieldpath=>"spec.containers{stress6}",
:container_name=>"stress6",
:container_group_name=>"stress6-1-8175w",
:container_namespace=>"vcr-tests",
:event_type=>"CONTAINER_STARTED"},
created_on: Mon, 09 Oct 2017 14:15:37 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-8175w",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: "stress6",
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "4a941617-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903c060
id: 3767,
event_type: "CONTAINER_CREATED",
message: "Created container",
timestamp: Mon, 09 Oct 2017 14:15:30 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:30Z",
:kind=>"Pod",
:name=>"stress6-1-8175w",
:namespace=>"vcr-tests",
:reason=>"Created",
:message=>"Created container",
:uid=>"4a941617-acfc-11e7-8a08-001a4a162711",
:fieldpath=>"spec.containers{stress6}",
:container_name=>"stress6",
:container_group_name=>"stress6-1-8175w",
:container_namespace=>"vcr-tests",
:event_type=>"CONTAINER_CREATED"},
created_on: Mon, 09 Oct 2017 14:15:37 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-8175w",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: "stress6",
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "4a941617-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903ba20
id: 3766,
event_type: "REPLICATOR_SUCCESSFULCREATE",
message: "Created pod: stress6-1-8175w",
timestamp: Mon, 09 Oct 2017 14:15:24 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:24Z",
:kind=>"ReplicationController",
:name=>"stress6-1",
:namespace=>"vcr-tests",
:reason=>"SuccessfulCreate",
:message=>"Created pod: stress6-1-8175w",
:uid=>"46c2ff5c-acfc-11e7-8a08-001a4a162711",
:container_replicator_name=>"stress6-1",
:container_namespace=>"vcr-tests",
:event_type=>"REPLICATOR_SUCCESSFULCREATE"},
created_on: Mon, 09 Oct 2017 14:15:31 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: nil,
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: nil,
container_replicator_id: nil,
container_replicator_name: "stress6-1",
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "46c2ff5c-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903b3e0
id: 3765,
event_type: "POD_SCHEDULED",
message:
"Successfully assigned stress6-1-8175w to ladislav-ocp-3.6-infra01.10.35.49.18.nip.io",
timestamp: Mon, 09 Oct 2017 14:15:24 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:24Z",
:kind=>"Pod",
:name=>"stress6-1-8175w",
:namespace=>"vcr-tests",
:reason=>"Scheduled",
:message=>
"Successfully assigned stress6-1-8175w to ladislav-ocp-3.6-infra01.10.35.49.18.nip.io",
:uid=>"4a941617-acfc-11e7-8a08-001a4a162711",
:container_group_name=>"stress6-1-8175w",
:container_namespace=>"vcr-tests",
:event_type=>"POD_SCHEDULED"},
created_on: Mon, 09 Oct 2017 14:15:31 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-8175w",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: nil,
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "4a941617-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903adc8
id: 3764,
event_type: "CONTAINER_STARTED",
message: "Started container",
timestamp: Mon, 09 Oct 2017 14:15:22 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:22Z",
:kind=>"Pod",
:name=>"stress6-1-deploy",
:namespace=>"vcr-tests",
:reason=>"Started",
:message=>"Started container",
:uid=>"46c61bdc-acfc-11e7-8a08-001a4a162711",
:fieldpath=>"spec.containers{deployment}",
:container_name=>"deployment",
:container_group_name=>"stress6-1-deploy",
:container_namespace=>"vcr-tests",
:event_type=>"CONTAINER_STARTED"},
created_on: Mon, 09 Oct 2017 14:15:25 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-deploy",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: "deployment",
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "46c61bdc-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903a6e8
id: 3763,
event_type: "CONTAINER_CREATED",
message: "Created container",
timestamp: Mon, 09 Oct 2017 14:15:21 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:21Z",
:kind=>"Pod",
:name=>"stress6-1-deploy",
:namespace=>"vcr-tests",
:reason=>"Created",
:message=>"Created container",
:uid=>"46c61bdc-acfc-11e7-8a08-001a4a162711",
:fieldpath=>"spec.containers{deployment}",
:container_name=>"deployment",
:container_group_name=>"stress6-1-deploy",
:container_namespace=>"vcr-tests",
:event_type=>"CONTAINER_CREATED"},
created_on: Mon, 09 Oct 2017 14:15:25 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-deploy",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: "deployment",
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "46c61bdc-acfc-11e7-8a08-001a4a162711">,
#<EmsEvent:0x000000000903a008
id: 3762,
event_type: "POD_SCHEDULED",
message:
"Successfully assigned stress6-1-deploy to ladislav-ocp-3.6-compute02.10.35.49.22.nip.io",
timestamp: Mon, 09 Oct 2017 14:15:17 UTC +00:00,
host_name: nil,
host_id: nil,
vm_name: nil,
vm_location: nil,
vm_or_template_id: nil,
dest_host_name: nil,
dest_host_id: nil,
dest_vm_name: nil,
dest_vm_location: nil,
dest_vm_or_template_id: nil,
source: "KUBERNETES",
chain_id: nil,
ems_id: 4,
is_task: nil,
full_data:
{:timestamp=>"2017-10-09T14:15:17Z",
:kind=>"Pod",
:name=>"stress6-1-deploy",
:namespace=>"vcr-tests",
:reason=>"Scheduled",
:message=>
"Successfully assigned stress6-1-deploy to ladislav-ocp-3.6-compute02.10.35.49.22.nip.io",
:uid=>"46c61bdc-acfc-11e7-8a08-001a4a162711",
:container_group_name=>"stress6-1-deploy",
:container_namespace=>"vcr-tests",
:event_type=>"POD_SCHEDULED"},
created_on: Mon, 09 Oct 2017 14:15:22 UTC +00:00,
username: nil,
ems_cluster_id: nil,
ems_cluster_name: nil,
ems_cluster_uid: nil,
dest_ems_cluster_id: nil,
dest_ems_cluster_name: nil,
dest_ems_cluster_uid: nil,
availability_zone_id: nil,
container_node_id: nil,
container_node_name: nil,
container_group_id: nil,
container_group_name: "stress6-1-deploy",
container_namespace: "vcr-tests",
type: "EmsEvent",
target_type: nil,
target_id: nil,
container_id: nil,
container_name: nil,
container_replicator_id: nil,
container_replicator_name: nil,
middleware_server_id: nil,
middleware_server_name: nil,
middleware_deployment_id: nil,
middleware_deployment_name: nil,
generating_ems_id: nil,
physical_server_id: nil,
ems_ref: "46c61bdc-acfc-11e7-8a08-001a4a162711">,]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment