{"action":"created","issue":{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/40","labels_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/40/comments","events_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/40/events","html_url":"https://github.com/HewlettPackard/POSH-HPOneView/issues/40","id":107023795,"number":40,"title":"Importing an enclosure","user":{"login":"Anbeek","id":11957059,"avatar_url":"https://avatars.githubusercontent.com/u/11957059?v=3","gravatar_id":"","url":"https://api.github.com/users/Anbeek","html_url":"https://github.com/Anbeek","followers_url":"https://api.github.com/users/Anbeek/followers","following_url":"https://api.github.com/users/Anbeek/following{/other_user}","gists_url":"https://api.github.com/users/Anbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/Anbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anbeek/subscriptions","organizations_url":"https://api.github.com/users/Anbeek/orgs","repos_url":"https://api.github.com/users/Anbeek/repos","events_url":"https://api.github.com/users/Anbeek/events{/privacy}","received_events_url":"https://api.github.com/users/Anbeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/Enclosures","name":"Enclosures","color":"bfe5bf"},{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/Impact%20-%20Low","name":"Impact - Low","color":"FFFF00"}],"state":"closed","locked":false,"assignee":{"login":"ChrisLynchHP","id":6956305,"avatar_url":"https://avatars.githubusercontent.com/u/6956305?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisLynchHP","html_url":"https://github.com/ChrisLynchHP","followers_url":"https://api.github.com/users/ChrisLynchHP/followers","following_url":"https://api.github.com/users/ChrisLynchHP/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLynchHP/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLynchHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLynchHP/subscriptions","organizations_url":"https://api.github.com/users/ChrisLynchHP/orgs","repos_url":"https://api.github.com/users/ChrisLynchHP/repos","events_url":"https://api.github.com/users/ChrisLynchHP/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLynchHP/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-09-17T16:34:43Z","updated_at":"2015-12-15T19:41:14Z","closed_at":"2015-12-15T19:41:14Z","body":"Hi Chris,\r\n\r\nI have the following issue:\r\n\r\nFirst I add a new enclosure group:\r\n[HPONEVIEW]: administrator@131.224.76.100 PS C:\\Users\\a-anbeekc> New-HPOVEnclosureGroup -name \"SSCC_KNMI\" -logicalInterConnectGroup \"SSCC_KNMI_SH\"\r\nDone. 1 logical interconnect group(s) found.\r\n\r\n\r\ntype                        : EnclosureGroupV2\r\nuri                         : /rest/enclosure-groups/04d28506-beff-4e87-8ebe-094d94531f98\r\ncategory                    : enclosure-groups\r\nname                        : SSCC_KNMI\r\ncreated                     :\r\nmodified                    :\r\neTag                        :\r\nstatus                      : OK\r\nstate                       : Normal\r\nstackingMode                : Enclosure\r\nportMappingCount            : 8\r\nportMappings                : {@{midplanePort=1; interconnectBay=1}, @{midplanePort=2; interconnectBay=2}, @{midplanePort=3; interconnectBay=3}, @{midplanePort=4; interconnectBay=4}...}\r\ninterconnectBayMappingCount : 8\r\ninterconnectBayMappings     : {@{interconnectBay=1; logicalInterconnectGroupUri=/rest/logical-interconnect-groups/9c3d8bc1-e245-4614-b2a1-19263c438b08}, @{interconnectBay=2; logicalInterconnectGroupUri=/re\r\n                              icalInterconnectGroupUri=/rest/logical-interconnect-groups/9c3d8bc1-e245-4614-b2a1-19263c438b08}, @{interconnectBay=4; logicalInterconnectGroupUri=/rest/logical-interconnect-g\r\ndescription                 :\r\n\r\nThen I import an enclosure:\r\n\r\n[HPONEVIEW]: administrator@131.224.76.100 PS C:\\Users\\a-anbeekc>  Add-HPOVEnclosure -oa \"145.23.160.30\" -enclGroupName SSCC_KNMI -user IloAdmin -pass Password -license OneViewNoIlo\r\nDone. 1 enclosure group(s) found.\r\ncaught System.InvalidOperationException exception\r\nAdd-HPOVEnclosure : Enclosure group 'SSCC_KNMI' not found!  Please check the Enclosure Group Name and try again.\r\nAt line:1 char:2\r\n+  Add-HPOVEnclosure -oa \"145.23.160.30\" -enclGroupName SSCC_KNMI -user IloAdmin - ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (New-HPOVEnclosure:String) [Add-HPOVEnclosure], InvalidOperationException\r\n    + FullyQualifiedErrorId : EnclosureGroupResourceNotFound,Add-HPOVEnclosure\r\n\r\nBut when I look for the enclosure group, it exists:\r\n\r\n[HPONEVIEW]: administrator@131.224.76.100 PS C:\\Users\\a-anbeekc> Get-HPOVEnclosureGroup -name SSCC_KNMI\r\n\r\n\r\ntype                        : EnclosureGroupV2\r\nuri                         : /rest/enclosure-groups/04d28506-beff-4e87-8ebe-094d94531f98\r\ncategory                    : enclosure-groups\r\nname                        : SSCC_KNMI\r\ncreated                     : 2015-09-17T11:32:21.087Z\r\nmodified                    : 2015-09-17T11:32:21.091Z\r\neTag                        : 2015-09-17T11:32:21.091Z\r\nstatus                      : OK\r\nstate                       : Normal\r\nstackingMode                : Enclosure\r\nportMappingCount            : 8\r\nportMappings                : {@{midplanePort=1; interconnectBay=1}, @{midplanePort=2; interconnectBay=2}, @{midplanePort=3; interconnectBay=3}, @{midplanePort=4; interconnectBay=4}...}\r\n\r\nDo you have a clue?\r\n\r\nbest regards,\r\n\r\nCees Anbeek\r\nRIVM\r\nNetherlands"},"comment":{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/comments/164872995","html_url":"https://github.com/HewlettPackard/POSH-HPOneView/issues/40#issuecomment-164872995","issue_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/40","id":164872995,"user":{"login":"ChrisLynchHP","id":6956305,"avatar_url":"https://avatars.githubusercontent.com/u/6956305?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisLynchHP","html_url":"https://github.com/ChrisLynchHP","followers_url":"https://api.github.com/users/ChrisLynchHP/followers","following_url":"https://api.github.com/users/ChrisLynchHP/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLynchHP/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLynchHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLynchHP/subscriptions","organizations_url":"https://api.github.com/users/ChrisLynchHP/orgs","repos_url":"https://api.github.com/users/ChrisLynchHP/repos","events_url":"https://api.github.com/users/ChrisLynchHP/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLynchHP/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T19:41:13Z","updated_at":"2015-12-15T19:41:13Z","body":"I added a Camel Case enforcement to the `-LicensingIntent` parameter to `Add-HPOVEnclosure`. Please download the current 1.20 library under the Releases section."}}