{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/488","repository_url":"https://api.github.com/repos/Azure/WALinuxAgent","labels_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/488/comments","events_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/488/events","html_url":"https://github.com/Azure/WALinuxAgent/issues/488","id":188670866,"number":488,"title":"Wrong alarms are reported for GAFamily contains empty Uris on some data centers","user":{"login":"ccic","id":19297121,"avatar_url":"https://avatars.githubusercontent.com/u/19297121?v=3","gravatar_id":"","url":"https://api.github.com/users/ccic","html_url":"https://github.com/ccic","followers_url":"https://api.github.com/users/ccic/followers","following_url":"https://api.github.com/users/ccic/following{/other_user}","gists_url":"https://api.github.com/users/ccic/gists{/gist_id}","starred_url":"https://api.github.com/users/ccic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccic/subscriptions","organizations_url":"https://api.github.com/users/ccic/orgs","repos_url":"https://api.github.com/users/ccic/repos","events_url":"https://api.github.com/users/ccic/events{/privacy}","received_events_url":"https://api.github.com/users/ccic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-11T02:31:06Z","updated_at":"2016-11-11T02:31:06Z","closed_at":null,"body":"I created FreeBSD 10.3 VM on West Europe, and found the following error in /var/log/waagent.log:\r\n\r\n> 2016/11/03 16:10:27.167205 ERROR Event: name=WALinuxAgent, op=Download, message=Incarnation 1 failed to get Prod package list: (000008)Failed to fetch ExtensionManifest from all sources\r\nIt does not hurt any features, but it misleads user to think about there is something wrong.\r\nAfter investigation, I found it was caused by empty Uris in GAFamily element of ExtenstionsConfig.xml. That XML file sometimes contain empty Uris in GAFamily, sometimes contains empty GAFamily. I verified this by creating FreeBSD 10.3 VM again, and did not find the above error in waagent.log.\r\n\r\nThe invalid ExtensionsConfig.xml is like:\r\n`<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Extensions version=\"1.0.0.0\" goalStateIncarnation=\"1\"><GuestAgentExtension xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n  <GAFamilies>\r\n    **<GAFamily>\r\n      <Name>Prod</Name>\r\n      <Uris />\r\n    </GAFamily>**\r\n    ...\r\n`\r\nBut a valid one is like:\r\n`\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Extensions version=\"1.0.0.0\" goalStateIncarnation=\"1\"><GuestAgentExtension xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n  **<GAFamilies />**\r\n  <Location>westeurope</Location>\r\n  <ServiceName>CRP</ServiceName>\r\n</GuestAgentExtension>\r\n`"}}
{"actor":{"display_login":"ccic"}}