{"action":"opened","issue":{"url":"https://api.github.com/repos/huaweistorage/huawei-oceanstor-flocker-plugin/issues/5","repository_url":"https://api.github.com/repos/huaweistorage/huawei-oceanstor-flocker-plugin","labels_url":"https://api.github.com/repos/huaweistorage/huawei-oceanstor-flocker-plugin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/huaweistorage/huawei-oceanstor-flocker-plugin/issues/5/comments","events_url":"https://api.github.com/repos/huaweistorage/huawei-oceanstor-flocker-plugin/issues/5/events","html_url":"https://github.com/huaweistorage/huawei-oceanstor-flocker-plugin/issues/5","id":194912200,"number":5,"title":"attach volume fails when wwn is added to host already (sanboot senario)","user":{"login":"jarviswyh","id":24517737,"avatar_url":"https://avatars.githubusercontent.com/u/24517737?v=3","gravatar_id":"","url":"https://api.github.com/users/jarviswyh","html_url":"https://github.com/jarviswyh","followers_url":"https://api.github.com/users/jarviswyh/followers","following_url":"https://api.github.com/users/jarviswyh/following{/other_user}","gists_url":"https://api.github.com/users/jarviswyh/gists{/gist_id}","starred_url":"https://api.github.com/users/jarviswyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarviswyh/subscriptions","organizations_url":"https://api.github.com/users/jarviswyh/orgs","repos_url":"https://api.github.com/users/jarviswyh/repos","events_url":"https://api.github.com/users/jarviswyh/events{/privacy}","received_events_url":"https://api.github.com/users/jarviswyh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-12T08:05:01Z","updated_at":"2016-12-12T08:05:01Z","closed_at":null,"body":"**Issue:**\r\nIf host created and wwn maped already, the initialize_connection fails because in the code:\r\n1. check Instance/ID in the configuraltion file\r\n2. if not exist, create instance ID and put it in the configuration file\r\n3. find free wwns that not mapped, but the wwns already maped to the host exist\r\n\r\n**Solution:**\r\nDefine  Instance/ID in the configuraltion file:\r\n`<Instance><ID>SVR202</ID></Instance>`\r\n\r\n"}}
{"actor":{"display_login":"jarviswyh"}}