2012-06-21 02:16 AM
During workflow execution I get the following error. Although execution fails the vfiler is created successfully. I assume it has something to do with the alias creation on the interface. I used the same command in another workflow where the interface had no ip adress before and that worked. Any ideas how to solve this? Thanks in advance
10:06:55.223 INFO [Create and configure Vfiler] ### Command 'Create and configure Vfiler' ###
10:06:56.598 INFO [Create and configure Vfiler] Executing command: ./Create_and_configure_Vfiler5378893620992433722.ps1 -AdminHostIpAddress 22.214.171.124 -Array 126.96.36.199 -CifsSupported $true -DnsDomainName v998dpv1.v998.intern -DnsServers @('188.8.131.52','184.108.40.206','220.127.116.11') -FtpSupported $false -HttpSupported $false -IpAddressBindings @('18.104.22.168:255.255.255.128:vif3-231') -IpSpace its -IscsiSupported $false -NfsSupported $false -RshSupported $false -SshSupported $true -Storage @('v998spnvv1999gl','g999_filelight_001','/vol/gmc002_cifs_audit/g999l') -VfilerName v998spnvv1999gl
10:06:56.832 INFO [Create and configure Vfiler] Get-NaCredentials -Host 22.214.171.124
10:06:56.926 INFO [Create and configure Vfiler] Connect-NaController (with credentials) -Name 126.96.36.199
10:06:58.895 INFO [Create and configure Vfiler] Connected to controller
10:06:58.973 INFO [Create and configure Vfiler] Creating vFiler: name: v998spnvv1999gl, IP addresses: 188.8.131.52:255.255.255.128:vif3-231, storage: v998spnvv1999gl g999_filelight_001 /vol/gmc002_cifs_audit/g999l, IP space: its
10:07:00.988 INFO [Create and configure Vfiler] IPspace its already present in the array 184.108.40.206.
10:07:01.020 INFO [Create and configure Vfiler] Assigning interfaces vif3-231 to IPspace its
10:07:02.004 INFO [Create and configure Vfiler] Creating new vfiler v998spnvv1999gl
10:07:05.145 INFO [Create and configure Vfiler] Setting vfiler Address 220.127.116.11 Interface vif3-231 Netmask 255.255.255.128
10:07:06.395 INFO [Create and configure Vfiler] Setting up vfiler DNS
10:07:06.957 INFO [Create and configure Vfiler] Setting vfiler AdminHost Address 18.104.22.168
10:07:07.582 INFO [Create and configure Vfiler] Setting up vfiler password
10:07:08.379 INFO [Create and configure Vfiler] Disabling protocols : nfs iscsi http ftp rsh
10:07:10.535 ERROR [Create and configure Vfiler] Interface list assignment was only partially successful
On the system the vfiler looks loke this
IP address: 22.214.171.124 [vif3-231]
Path: /vol/v998spnvv1999gl [/etc]
So everything fine actually
2012-06-29 02:52 AM
I found the error. In the command the interface is assigned to the ipspace without any pre check. If the interface is already assigned to the ipspace the api call throws an error. I cloned the command and changed the section with the ipspace. The interface now only will be assigned to the ipspace if it is created within the workflow.
2012-08-03 10:10 AM
Not sure, but another issue I see is that it looks like you called the command specifying an AdminHostIpAddress but not specifying an AdminHostName. According to the docs, both are mandatory for Set-NaVfilerAdminHost.
It's strange that the command would continue after the IP address assignment "error" condition occurred as if the catch didn't catch it and throw the error then, but then does fail the command with basically the same error condition. Odd.