Active IQ Unified Manager Discussions

vfiler create and configure fails though vfiler was created

skellner
2,677 Views

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 17.247.33.91 -Array 7.247.34.130 -CifsSupported $true -DnsDomainName v998dpv1.v998.intern -DnsServers @('7.242.240.129','4.242.240.129','17.242.240.129') -FtpSupported $false -HttpSupported $false -IpAddressBindings @('7.242.234.107: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 7.247.34.130

10:06:56.926 INFO  [Create and configure Vfiler] Connect-NaController (with credentials) -Name 7.247.34.130

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: 7.242.234.107: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 7.247.34.130.

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 7.242.234.107 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 17.247.33.91

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

v998spnvv1999gl              running

   ipspace: its

   IP address: 7.242.234.107 [vif3-231]

   Path: /vol/v998spnvv1999gl [/etc]

   Path: /vol/g999_filelight_001

   Path: /vol/gmc002_cifs_audit/g999l

   UUID: e142d6c8-bd0f-11e1-97e9-00a0980f5a50

So everything fine actually

2 REPLIES 2

skellner
2,677 Views

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.

bdave
2,677 Views

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.

Thanks,

Dave

Public