{"action":"created","issue":{"url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/23","repository_url":"https://api.github.com/repos/open-switch/opx-nas-daemon","labels_url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/23/comments","events_url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/23/events","html_url":"https://github.com/open-switch/opx-nas-daemon/issues/23","id":297608337,"number":23,"title":"Too many log messages in OPX 2.2 VM","user":{"login":"Ragsboss","id":3869936,"avatar_url":"https://avatars2.githubusercontent.com/u/3869936?v=4","gravatar_id":"","url":"https://api.github.com/users/Ragsboss","html_url":"https://github.com/Ragsboss","followers_url":"https://api.github.com/users/Ragsboss/followers","following_url":"https://api.github.com/users/Ragsboss/following{/other_user}","gists_url":"https://api.github.com/users/Ragsboss/gists{/gist_id}","starred_url":"https://api.github.com/users/Ragsboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ragsboss/subscriptions","organizations_url":"https://api.github.com/users/Ragsboss/orgs","repos_url":"https://api.github.com/users/Ragsboss/repos","events_url":"https://api.github.com/users/Ragsboss/events{/privacy}","received_events_url":"https://api.github.com/users/Ragsboss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T21:48:45Z","updated_at":"2018-02-16T06:09:00Z","closed_at":null,"author_association":"NONE","body":"I'm running OPX 2.2 and see that my syslog is ever increasing - right now it's at 300MB and I'm not sure why there is no log rotation by default.\r\n\r\n```\r\nroot@leaf-1-1:/var/log# cat /etc/OPX-release-version \r\nOS_NAME=\"OPX\"\r\nOS_VERSION=\"2.2\"\r\nPLATFORM=\"S6000-VM\"\r\nARCHITECTURE=\"x86_64\"\r\nINTERNAL_BUILD_ID=\"OpenSwitch blueprint for Dell 1.0.0\"\r\nBUILD_VERSION=\"2.2.0\"\r\nBUILD_DATE=\"2018-01-26T10:03:01-0800\"\r\nINSTALL_DATE=\"2018-02-02T22:50:34+0000\"\r\nroot@leaf-1-1:/var/log# \r\n```\r\n\r\nLog file size and contents\r\n```\r\nroot@leaf-1-1:/var/log# ls -lt /var/log/       \r\ntotal 602328\r\n-rw-r----- 1 root  adm   304315701 Feb 15 21:44 kern.log\r\n-rw-r----- 1 root  adm   307369083 Feb 15 21:44 syslog\r\n\r\nroot@leaf-1-1:/var/log# tail -n 40 /var/log/syslog \r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000001's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1010000000000's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1010000000000's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1010000000000's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000025's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000025's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000025's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000021's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000021's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000021's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000029's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000029's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000029's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000002d's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000002d's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000002d's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000032's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000032's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000032's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000031's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000031's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000031's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000033's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000033's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000033's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000034's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000034's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000034's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000039's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000039's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000039's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000035's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000035's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000035's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000003d's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000003d's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x100000000003d's attr index 0 attr id 76 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000041's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000041's attr index 0 attr id 8 failed with err -65536\r\nFeb 15 21:48:15 opx22_vm opx_nas_daemon[2334]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000041's attr index 0 attr id 76 failed with err -65536\r\nroot@leaf-1-1:/var/log# \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/comments/366152494","html_url":"https://github.com/open-switch/opx-nas-daemon/issues/23#issuecomment-366152494","issue_url":"https://api.github.com/repos/open-switch/opx-nas-daemon/issues/23","id":366152494,"user":{"login":"atanu-mandal","id":10250049,"avatar_url":"https://avatars2.githubusercontent.com/u/10250049?v=4","gravatar_id":"","url":"https://api.github.com/users/atanu-mandal","html_url":"https://github.com/atanu-mandal","followers_url":"https://api.github.com/users/atanu-mandal/followers","following_url":"https://api.github.com/users/atanu-mandal/following{/other_user}","gists_url":"https://api.github.com/users/atanu-mandal/gists{/gist_id}","starred_url":"https://api.github.com/users/atanu-mandal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atanu-mandal/subscriptions","organizations_url":"https://api.github.com/users/atanu-mandal/orgs","repos_url":"https://api.github.com/users/atanu-mandal/repos","events_url":"https://api.github.com/users/atanu-mandal/events{/privacy}","received_events_url":"https://api.github.com/users/atanu-mandal/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T06:09:00Z","updated_at":"2018-02-16T06:09:00Z","author_association":"CONTRIBUTOR","body":"Hi @Ragsboss, there was some fix recently merged (i.e. https://review.openswitch.net/#/c/14507/) related to the above error message.\r\n\r\nI would suggest to install the latest OPX2.2.1 to get the latest VM related fix for interface renaming \r\n(http://archive.openswitch.net/installers/2.2.1/Dell-EMC/PKGS_OPX-2.2.1-installer-x86_64.bin)\r\n\r\nAfter the above is installed to get the updated packages please follow below steps\r\n-\tUpdate /etc/apt/sources.list with below entry\r\n                 deb http://deb.openswitch.net/ testing main\r\n-\tapt-get update\r\n-\tapt-get upgrade\r\n-\tIf opx-qos-init.service is failed, please try a reboot\r\n\r\nPlease let me know if that helps.\r\n"}}
{"actor":{"display_login":"atanu-mandal"}}