{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/ovirt/issues/70","repository_url":"https://api.github.com/repos/ManageIQ/ovirt","labels_url":"https://api.github.com/repos/ManageIQ/ovirt/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/ovirt/issues/70/comments","events_url":"https://api.github.com/repos/ManageIQ/ovirt/issues/70/events","html_url":"https://github.com/ManageIQ/ovirt/issues/70","id":185751871,"number":70,"title":"Incorrect Event Code Mapping","user":{"login":"henrygrover","id":8118745,"avatar_url":"https://avatars.githubusercontent.com/u/8118745?v=3","gravatar_id":"","url":"https://api.github.com/users/henrygrover","html_url":"https://github.com/henrygrover","followers_url":"https://api.github.com/users/henrygrover/followers","following_url":"https://api.github.com/users/henrygrover/following{/other_user}","gists_url":"https://api.github.com/users/henrygrover/gists{/gist_id}","starred_url":"https://api.github.com/users/henrygrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrygrover/subscriptions","organizations_url":"https://api.github.com/users/henrygrover/orgs","repos_url":"https://api.github.com/users/henrygrover/repos","events_url":"https://api.github.com/users/henrygrover/events{/privacy}","received_events_url":"https://api.github.com/users/henrygrover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-27T18:56:47Z","updated_at":"2016-10-31T15:44:11Z","closed_at":null,"body":"Hi,\n\nUnless I'm missing something, it seems that one of the event codes (533=>\"HOST_FAILED_CONNECTION_TO_DATA_CENTER\") is incorrect. the RHEV documentation lists that as \"VDS_HIGH_NETWORK_USE\", which I would expect to map to \"HOST_HIGH_NETWORK_USE\" given the general pattern with the other codes. Was this renaming intentional?\n\nhttps://github.com/ManageIQ/ovirt/blob/master/lib/ovirt/event.rb#L309 is where it's set here\n\nhttps://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/appe-Event_Codes.html#Event_Codes is where it's listed as something different\n\nThanks!\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/ovirt/issues/comments/257330044","html_url":"https://github.com/ManageIQ/ovirt/issues/70#issuecomment-257330044","issue_url":"https://api.github.com/repos/ManageIQ/ovirt/issues/70","id":257330044,"user":{"login":"henrygrover","id":8118745,"avatar_url":"https://avatars.githubusercontent.com/u/8118745?v=3","gravatar_id":"","url":"https://api.github.com/users/henrygrover","html_url":"https://github.com/henrygrover","followers_url":"https://api.github.com/users/henrygrover/followers","following_url":"https://api.github.com/users/henrygrover/following{/other_user}","gists_url":"https://api.github.com/users/henrygrover/gists{/gist_id}","starred_url":"https://api.github.com/users/henrygrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrygrover/subscriptions","organizations_url":"https://api.github.com/users/henrygrover/orgs","repos_url":"https://api.github.com/users/henrygrover/repos","events_url":"https://api.github.com/users/henrygrover/events{/privacy}","received_events_url":"https://api.github.com/users/henrygrover/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T15:44:11Z","updated_at":"2016-10-31T15:44:11Z","body":"@pkliczewski here are the rest, filtering out any difference that just came down to HOST vs VDS. Name on the left is straight from event.rb, name on the right is from AuditLogType.java. If it would be helpful, I can send the script I used to generate these. It pulls in the two files directly and goes from there.\r\n\r\nSome of these are probably intentional differences, but I figured I would put them all in here just in case.\r\n\r\nRuby--USER_REMOVE_VM, Java--USER_ADD_VM_TEMPLATE_FAILURE\r\nRuby--USER_HOST_SHUTDOWN, Java--HOST_FAILED_TO_GET_HOST_HARDWARE_INFO\r\nRuby--VM_MIGRATION_FAILED_FROM_TO, Java--VM_MIGRATION_TO_SERVER_FAILED\r\nRuby--USER_FAILED_HOST_SHUTDOWN, Java--USER_SUSPEND_VM_FINISH_FAILURE_WILL_TRY_AGAIN\r\nRuby--VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTANANCE, Java--VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTENANCE\r\nRuby--VM_BLK_VIRTIO_NO_CACHE, Java--VM_PAUSED_EIO\r\nRuby--VM_SHUTDOWN_FAILED, Java--VM_POWER_DOWN_FAILED\r\nRuby--USER_MERGE_SNAPSHOT, Java--USER_REMOVE_SNAPSHOT\r\nRuby--USER_FAILED_MERGE_SNAPSHOT, Java--USER_FAILED_REMOVE_SNAPSHOT\r\nRuby--USER_MERGE_SNAPSHOT_FINISHED_SUCCESS, Java--USER_REMOVE_SNAPSHOT_FINISHED_SUCCESS\r\nRuby--USER_MERGE_SNAPSHOT_FINISHED_FAILURE, Java--USER_REMOVE_SNAPSHOT_FINISHED_FAILURE\r\nRuby--USER_DETACH_USER_FROM_TIME_LEASED_POOL_INTERNAL, Java--USER_ATTACH_TAG_TO_TEMPLATE_EXISTS\r\nRuby--AUTO_SUSPEND_VM_FINISH_SUCCESS, Java--HOST_INITIATED_RUN_AS_STATELESS_VM_NOT_YET_RUNNING\r\nRuby--HOST_FAILED_CONNECTION_TO_DATA_CENTER, Java--HOST_HIGH_NETWORK_USE\r\nRuby--HOST_USED_AS_PROXY, Java--PROXY_HOST_SELECTION\r\nRuby--USER_ADD_HOST_GROUP, Java--USER_ADD_CLUSTER\r\nRuby--USER_ADD_HOST_GROUP_FAILED, Java--USER_ADD_CLUSTER_FAILED\r\nRuby--USER_UPDATE_HOST_GROUP, Java--USER_UPDATE_CLUSTER\r\nRuby--USER_UPDATE_HOST_GROUP_FAILED, Java--USER_UPDATE_CLUSTER_FAILED\r\nRuby--USER_REMOVE_HOST_GROUP, Java--USER_REMOVE_CLUSTER\r\nRuby--USER_REMOVE_HOST_GROUP_FAILED, Java--USER_REMOVE_CLUSTER_FAILED\r\nRuby--USER_DEDICATE_VM_TO_POWERCLIENT, Java--USER_VDC_SESSION_TERMINATED\r\nRuby--USER_DEDICATE_VM_TO_POWERCLIENT_FAILED, Java--USER_VDC_SESSION_TERMINATION_FAILED\r\nRuby--SYSTEM_UPDATE_HOST_GROUP, Java--SYSTEM_UPDATE_CLUSTER\r\nRuby--SYSTEM_UPDATE_HOST_GROUP_FAILED, Java--SYSTEM_UPDATE_CLUSTER_FAILED\r\nRuby--NETWORK_ADD_BOND_FAILED, Java--MAC_ADDRESS_IS_EXTERNAL\r\nRuby--NETWORK_ATTACH_NETWORK_TO_HOST_GROUP, Java--NETWORK_ATTACH_NETWORK_TO_CLUSTER\r\nRuby--NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED, Java--NETWORK_ATTACH_NETWORK_TO_CLUSTER_FAILED\r\nRuby--NETWORK_DETACH_NETWORK_TO_HOST_GROUP, Java--NETWORK_DETACH_NETWORK_TO_CLUSTER\r\nRuby--NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED, Java--NETWORK_DETACH_NETWORK_TO_CLUSTER_FAILED\r\nRuby--ISO_DOMAIN_REFRESH_SUCCESSFUL, Java--REFRESH_REPOSITORY_IMAGE_LIST_SUCCEEDED\r\nRuby--NETWORK_INTERFACE_PLUGGED_INTO_VM, Java--NETWORK_ACTIVATE_VM_INTERFACE_SUCCESS\r\nRuby--NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP, Java--NETWORK_UPDATE_DISPLAY_TO_CLUSTER\r\nRuby--NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED, Java--NETWORK_UPDATE_DISPLAY_TO_CLUSTER_FAILED\r\nRuby--VM_RENAMED, Java--ENTITY_RENAMED\r\nRuby--HOST_ALERT_FENCING_IS_NOT_CONFIGURED, Java--HOST_ALERT_FENCE_IS_NOT_CONFIGURED\r\nRuby--HOST_ALERT_FENCING_TEST_FAILED, Java--HOST_ALERT_FENCE_TEST_FAILED\r\nRuby--HOST_ALERT_FENCING_OPERATION_FAILED, Java--HOST_ALERT_FENCE_OPERATION_FAILED\r\nRuby--HOST_ALERT_FENCING_OPERATION_SKIPPED, Java--HOST_ALERT_FENCE_OPERATION_SKIPPED\r\nRuby--HOST_ALERT_FENCING_NO_PROXY_HOST, Java--HOST_ALERT_FENCE_NO_PROXY_HOST"}}
{"actor":{"display_login":"henrygrover"}}