#1561 closed defect (fixed)

WebGUI crash vhen adding 9TB multipath FC

Reported by: giox069 Owned by: william
Priority: critical Milestone: 8.2.0-RELEASE
Component: GUI Version: 8.2.0-BETA3
Keywords: Cc: giosp@…

Description

I'm using FreeNAS-8.2.0-BETA3-x64, connected to a Dell/EMC AX100 SAN via 2 fiber channel qlogic cards (multipath). The AX100 has a single LUN, 9TB.

It's a fresh installation of freenas, not an upgrade.

When I choose "View Multipaths" i get the error "Sorry, an error occured"

When I click on "Volume Manager" in the Web Interface, I get the following error:




Request Method: 	GET
Request URL: 	http://192.168.0.78/storage/wizard/
Software Version: 	FreeNAS-8.2.0-BETA3-x64 (r11188)
Exception Type: 	IndexError
Exception Value: 	list index out of range
Exception Location: 	/usr/local/www/freenasUI/middleware/multipath.py in __init__, line 51
Server time: 	Fri, 1 Jun 2012 09:09:17 -0700

Traceback
Environment:

Software Version: FreeNAS-8.2.0-BETA3-x64 (r11188)
Request Method: GET
Request URL: http://192.168.133.78/storage/wizard/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  105.                         response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/freeadmin/middleware.py" in process_view
  166.         return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.                 return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/storage/views.py" in wizard
  164.         form = forms.VolumeWizardForm()
File "/usr/local/www/freenasUI/storage/forms.py" in __init__
  159.         self.fields['volume_disks'].choices = self._populate_disk_choices()
File "/usr/local/www/freenasUI/storage/forms.py" in _populate_disk_choices
  210.         for disk, info in notifier().get_disks().items():
File "/usr/local/www/freenasUI/middleware/notifier.py" in get_disks
  2273.         for mp in self.multipath_all():
File "/usr/local/www/freenasUI/middleware/notifier.py" in multipath_all
  3112.                 for geom in doc.xpathEval("//class[name = 'MULTIPATH']/geom")
File "/usr/local/www/freenasUI/middleware/multipath.py" in __init__
  51.         self.status =  xmlnode.xpathEval("./config/State")[0].content

Exception Type: IndexError at /storage/wizard/
Exception Value: list index out of range

I'm totally unable to initialize/use my disks :(

Here is the output from gmultipath:

[root@fnas1] ~# gmultipath list
Geom name: disk1
Providers:
1. Name: multipath/disk1
   Mediasize: 9709847313920 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da0
   Mediasize: 9709847314432 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0
2. Name: da1
   Mediasize: 9709847314432 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0
[/code]

Attachments (1)

1561_001.xml (18.0 KB) - added by giox069 13 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 months ago by giox069

  • Cc giosp@… added

comment:2 Changed 13 months ago by william

  • Owner set to william
  • Status changed from new to accepted

Can you paste the output of:

# sysctl -b kern.geom.confxml

and

# gmultipath status

Thanks

Changed 13 months ago by giox069

comment:3 Changed 13 months ago by giox069

Attached you will find 1561_001.xml with the output of sysctl -b kern.geom.confxml

Note that disk component names have changed from da0,da1 to da0,da2 (we reinstalled all freenas and change a fiber connection).

Here is the output of gmultipath status and gmultipath list

[root@freenas] ~# gmultipath status

          Name  Status  Components
multipath/disk1     N/A  da0
                         da2

[root@freenas] ~# gmultipath list

Geom name: disk1
Providers:
1. Name: multipath/disk1
   Mediasize: 9709847313920 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da0
   Mediasize: 9709847314432 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0
2. Name: da2
   Mediasize: 9709847314432 (8.8T)
   Sectorsize: 512
   Mode: r0w0e0

comment:4 Changed 13 months ago by william

  • Priority changed from major to critical

comment:5 Changed 13 months ago by jpaetzel

I've committed a patch that will resolve this issue, it will be available in the next beta as well as the nightly builds. We'll keep this ticket open until you run an image with the new code.

comment:6 Changed 12 months ago by william

Hello, just pinging, did you get a chance to try BETA4?

comment:7 Changed 12 months ago by giox069

Installed BETA4 and the web gui no longer crashed, we now can see our LUNs.
This ticket can be closed.

We had some problems with setting up the multipath now (we see 4 for separate disks... da0 to da3), but this is no more related to this ticket.
And... unfortunately I cannot longer do testing on this hardware configuration, because the SAN and the fiber adapters have been moved to another server :(

Thank you
Giovanni

comment:8 Changed 12 months ago by william

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.