I found the error. /iqn/lun
should just be iqn Critical, but easy to fix. On Wed, Aug 28, 2013 at 1:34 PM, Mike Tutkowski < [email protected]> wrote: > Related: > > 2013-08-27T15:20:48.662Z [4C840B90 info 'TaskManager' opID=8f733b75-42] > Task Created : > haTask-ha-host-vim.host.StorageSystem.addInternetScsiStaticTargets-532359783 > > > 2013-08-27T15:20:48.669Z [4D201B90 warning 'HostsvcPlugin' > opID=8f733b75-42] Add Static target failure on HBA vmhba33, Target > 10.10.7.1:3260:/iqn.2010-01.com.solidfire:f0oq.vol-a.96/0 - > iScsiLibException: status(c0000000): Invalid parameter; Message= > IMA_AddStaticDiscoveryTarget > 2013-08-27T15:20:48.670Z [4D201B90 info 'Default' opID=8f733b75-42] > AdapterServer caught exception: vim.fault.PlatformConfigFault > > > > 2013-08-27T15:20:48.670Z [4D201B90 info 'TaskManager' opID=8f733b75-42] > Task Completed : > haTask-ha-host-vim.host.StorageSystem.addInternetScsiStaticTargets-532359783 > Status error > > 2013-08-27T15:20:48.670Z [4D201B90 info 'Vmomi' opID=8f733b75-42] > Activation [N5Vmomi10ActivationE:0x4d02a9b0] : Invoke done > [addInternetScsiStaticTargets] on [vim.host.StorageSystem:storageSystem] > > > 2013-08-27T15:20:48.670Z [4D201B90 verbose 'Vmomi' opID=8f733b75-42] Arg > iScsiHbaDevice: > > > On Wed, Aug 28, 2013 at 12:50 PM, Mike Tutkowski < > [email protected]> wrote: > >> Looks like the following is relevant from the log, but it doesn't seem to >> provide any more insight. >> >> What do you think? >> >> Thanks! >> >> 2013-08-28T18:26:40.191Z [4C840B90 info 'TaskManager' opID=ee4071a2-5e] >> Task Completed : >> haTask-ha-host-vim.host.StorageSystem.addInternetScsiStaticTargets-532401079 >> Status error >> >> 2013-08-28T18:26:40.191Z [4C840B90 info 'Vmomi' opID=ee4071a2-5e] >> Activation [N5Vmomi10ActivationE:0xffe717a0] : Invoke done >> [addInternetScsiStaticTargets] on [vim.host.StorageSystem:storageSystem] >> >> >> 2013-08-28T18:26:40.191Z [4C840B90 verbose 'Vmomi' opID=ee4071a2-5e] Arg >> iScsiHbaDevice: >> >> >> >> --> "vmhba33" >> >> >> >> >> 2013-08-28T18:26:40.191Z [4C840B90 verbose 'Vmomi' opID=ee4071a2-5e] Arg >> targets: >> >> >> >> --> (vim.host.InternetScsiHba.StaticTarget) [ >> >> >> >> >> --> (vim.host.InternetScsiHba.StaticTarget) { >> >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> address = "10.10.7.1", >> >> >> >> >> --> port = 3260, >> >> >> >> >> --> iScsiName = "/iqn.2010-01.com.solidfire:f0oq.vol-a.105/0", >> >> >> >> >> --> discoveryMethod = <unset>, >> >> >> >> >> --> authenticationProperties = >> (vim.host.InternetScsiHba.AuthenticationProperties) { >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> chapAuthEnabled = true, >> >> >> >> >> --> chapName = >> "CloudStack_444d0139-0c7e-11e3-8500-000c293e6e9d_2", >> >> >> >> --> chapSecret = (not shown), >> >> >> >> >> --> chapAuthenticationType = "chapRequired", >> >> >> >> >> --> chapInherited = false, >> >> >> >> >> --> mutualChapName = <unset>, >> >> >> >> >> --> mutualChapSecret = <unset>, >> >> >> >> >> --> mutualChapAuthenticationType = <unset>, >> >> >> >> >> --> mutualChapInherited = <unset>, >> >> >> >> >> --> }, >> >> >> >> >> --> digestProperties = (vim.host.InternetScsiHba.DigestProperties) >> null, >> >> >> >> --> parent = <unset>, >> >> >> >> >> --> } >> >> 2013-08-28T18:26:40.194Z [4C840B90 info 'Vmomi' opID=ee4071a2-5e] Throw >> vim.fault.PlatformConfigFault >> >> >> >> 2013-08-28T18:26:40.194Z [4C840B90 info 'Vmomi' opID=ee4071a2-5e] >> Result: >> >> >> >> --> (vim.fault.PlatformConfigFault) { >> >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> faultCause = (vmodl.MethodFault) null, >> >> >> >> >> --> faultMessage = (vmodl.LocalizableMessage) [ >> >> >> >> >> --> (vmodl.LocalizableMessage) { >> >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> key = "com.vmware.esx.hostctl.default", >> >> >> >> >> --> arg = (vmodl.KeyAnyValue) [ >> >> >> >> >> --> (vmodl.KeyAnyValue) { >> >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> key = "reason", >> >> >> >> >> --> value = "iScsiLibException: status(c0000000): Invalid >> parameter; Message= IMA_AddStaticDiscoveryTarget", >> >> >> >> --> } >> >> >> >> >> --> ], >> >> >> >> >> --> message = <unset>, >> >> >> >> >> --> } >> >> >> >> >> --> ], >> >> >> >> >> --> text = "", >> >> >> >> >> --> msg = "" >> >> >> >> >> --> } >> >> >> >> >> 2013-08-28T18:26:51.119Z [4CF99B90 verbose 'Locale' opID=2c84c1bd-a1] >> Default resource used for 'counter.sys.resourceMemConsumed.summary' >> expected in module 'perf'. >> >> >> 2013-08-28T18:26:55.127Z [4CD03B90 verbose 'SoapAdapter'] Responded to >> service state request >> >> >> >> 2013-08-28T18:26:59.396Z [4C8C2B90 info 'Vmomi'] Activation >> [N5Vmomi10ActivationE:0x4d030b98] : Invoke done [waitForUpdates] on >> [vmodl.query.PropertyCollector:ha-property-collector] >> >> >> 2013-08-28T18:26:59.396Z [4C8C2B90 verbose 'Vmomi'] Arg version: >> >> >> >> >> --> "193" >> >> >> >> >> 2013-08-28T18:26:59.397Z [4C8C2B90 info 'Vmomi'] Throw >> vmodl.fault.RequestCanceled >> >> >> >> 2013-08-28T18:26:59.397Z [4C8C2B90 info 'Vmomi'] Result: >> >> >> >> >> --> (vmodl.fault.RequestCanceled) { >> >> >> >> >> --> dynamicType = <unset>, >> >> >> >> >> --> faultCause = (vmodl.MethodFault) null, >> >> >> >> >> --> msg = "", >> >> >> >> >> --> } >> >> >> >> >> 2013-08-28T18:26:59.398Z [4CCC2B90 error 'SoapAdapter.HTTPService'] HTTP >> Transaction failed on stream TCP(error:Transport endpoint is not connected) >> with error N7Vmacore15SystemExceptionE(Connection reset by peer) >> >> >> 2013-08-28T18:27:00.020Z [4C8C2B90 info 'Default'] CreateISCSIHBA >> >> >> >> >> 2013-08-28T18:27:00.059Z [4C8C2B90 info 'Default'] CreateISCSIHBA:Done >> >> >> >> >> 2013-08-28T18:27:00.175Z [4C8C2B90 verbose 'vim.PerformanceManager'] >> HostCtl Exception in stats collection: Sysinfo error on operation returned >> status : Not found. Please see the VMkernel log for detailed error >> information >> >> 2013-08-28T18:27:00.176Z [4C8C2B90 verbose 'vim.PerformanceManager'] >> HostCtl Exception in stats collection. Turn on 'trivia' log for details >> >> >> >> 2013-08-28T18:27:20.093Z [4D180B90 verbose 'vim.PerformanceManager'] >> HostCtl Exception in stats collection: Sysinfo error on operation returned >> status : Not found. Please see the VMkernel log for detailed error >> information >> >> 2013-08-28T18:27:20.093Z [4D180B90 verbose 'vim.PerformanceManager'] >> HostCtl Exception in stats collection. Turn on 'trivia' log for details >> >> >> >> On Wed, Aug 28, 2013 at 12:26 PM, Chiradeep Vittal < >> [email protected]> wrote: >> >>> Added the tip to https://cwiki.apache.org/confluence/x/hQzMAQ >>> >>> On 8/28/13 9:59 AM, "Mike Tutkowski" <[email protected]> >>> wrote: >>> >>> >Thanks, Kelven! >>> > >>> > >>> >On Wed, Aug 28, 2013 at 10:51 AM, Kelven Yang >>> ><[email protected]>wrote: >>> > >>> >> Mike, >>> >> >>> >> You need to first enable ESXi shell(SSH) option on the host. After >>> that, >>> >> you will be able to SSH into the host. >>> >> >>> >> In a ESXi shell session, you can go to /var/log directory, look for >>> >> hostd.log (host daemon log), vmkernel.log (kernel log), vpxa.log >>> (agent >>> >> log) >>> >> >>> >> Kelven >>> >> >>> >> On 8/27/13 2:23 PM, "Mike Tutkowski" <[email protected]> >>> >>wrote: >>> >> >>> >> >Hi Kelven, >>> >> > >>> >> >I would be happy to check on that. >>> >> > >>> >> >I don't have much experience looking at ESXi logs, however. Are you >>> >> >thinking I should be looking at logs on the ESXi box or CS logs (or >>> >> >probably both)? If ESXi logs, would you be able to tell me where I go >>> >>for >>> >> >those? >>> >> > >>> >> >Also, this works fine on one of my ESXi boxes, but not on the other. >>> >>They >>> >> >both were created from the same ISO. >>> >> > >>> >> >Thanks!! >>> >> > >>> >> > >>> >> >On Tue, Aug 27, 2013 at 3:15 PM, Kelven Yang <[email protected] >>> > >>> >> >wrote: >>> >> > >>> >> >> Mike, >>> >> >> >>> >> >> If you constantly encounter this error in a fresh VMware API >>> session, >>> >> >>you >>> >> >> need to check the parameter you passed into the API call. You may >>> >>need >>> >> >>to >>> >> >> look at ESX host log file to get more specific info about the >>> >>failure. >>> >> >> >>> >> >> If VMware session has been idle for some time, you may encounter >>> some >>> >> >> random exception like this as well. In 4.2 branch, to support >>> >>parallel >>> >> >> deployment, we've switched to a pool based VMware API management, >>> >>there >>> >> >>is >>> >> >> a session keep-alive mechanism built in, please help check if the >>> >>error >>> >> >>is >>> >> >> related to session timeout >>> >> >> >>> >> >> Kelven >>> >> >> >>> >> >> On 8/26/13 10:54 AM, "Mike Tutkowski" < >>> [email protected]> >>> >> >> wrote: >>> >> >> >>> >> >> >Hi, >>> >> >> > >>> >> >> >I was wondering if one of our VMware experts out there might be >>> >>able to >>> >> >> >comment on why I'm getting the following exception when trying to >>> >>add a >>> >> >> >static iSCSI target to an ESXi host of mine: >>> >> >> > >>> >> >> >Operation failed, diagnostics report: iScsiLibException: >>> >> >>status(c0000000): >>> >> >> >Invalid parameter; Message= IMA_AddStaticDiscoveryTarget >>> >> >> > >>> >> >> >I've seen some comments on the web, but nothing definitive. >>> >> >> > >>> >> >> >Thanks! >>> >> >> >-- >>> >> >> >*Mike Tutkowski* >>> >> >> >*Senior CloudStack Developer, SolidFire Inc.* >>> >> >> >e: [email protected] >>> >> >> >o: 303.746.7302 >>> >> >> >Advancing the way the world uses the >>> >> >> >cloud<http://solidfire.com/solution/overview/?video=play> >>> >> >> >* * >>> >> >> >>> >> >> >>> >> > >>> >> > >>> >> >-- >>> >> >*Mike Tutkowski* >>> >> >*Senior CloudStack Developer, SolidFire Inc.* >>> >> >e: [email protected] >>> >> >o: 303.746.7302 >>> >> >Advancing the way the world uses the >>> >> >cloud<http://solidfire.com/solution/overview/?video=play> >>> >> >* * >>> >> >>> >> >>> > >>> > >>> >-- >>> >*Mike Tutkowski* >>> >*Senior CloudStack Developer, SolidFire Inc.* >>> >e: [email protected] >>> >o: 303.746.7302 >>> >Advancing the way the world uses the >>> >cloud<http://solidfire.com/solution/overview/?video=play> >>> >* * >>> >>> >> >> >> -- >> *Mike Tutkowski* >> *Senior CloudStack Developer, SolidFire Inc.* >> e: [email protected] >> o: 303.746.7302 >> Advancing the way the world uses the >> cloud<http://solidfire.com/solution/overview/?video=play> >> *™* >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: [email protected] > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: [email protected] o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *™*
