Re: [Users] help with iSCSI storage domain needed - Ovirt -3.1

2012-12-12 Thread Aleksandr Arbitman
Mark,
I reinstalled both nodes and re-added them to the ovirt-engine system (ran 
engine-clean and then engine-setup  before doing it) and I was able to add 
iscsi storage using  ovirt-engine.
Thanks for your help.

  

--- On Wed, 12/12/12, Mark Wu wu...@linux.vnet.ibm.com wrote:

From: Mark Wu wu...@linux.vnet.ibm.com
Subject: Re: [Users] help with  iSCSI storage domain needed - Ovirt -3.1
To: Aleksandr Arbitman arbit...@pacbell.net
Cc: users@ovirt.org
Date: Wednesday, December 12, 2012, 12:36 AM


  


  
  
On 12/12/2012 03:34 PM, Aleksandr
  Arbitman wrote:



  

  
Mark.

  running both commands on one of the nodes was successful,
  see below:

  

  [root@ovirtnode1 ~]# iscsiadm --mode discoverydb --type
  sendtargets --portal 10.45.201.22 --discover 

  

  10.45.201.22:3260,1 iqn.2012-12.com.test:storage.target1

  

  [root@ovirtnode1 ~]# iscsiadm --mode node --targetname
  iqn.2012-12.com.test:storage.target1 --portal
  10.45.201.22:3260 --login

  

  Logging in to [iface: default, target:
  iqn.2012-12.com.test:storage.target1, portal:
  10.45.201.22,3260] (multiple)

  

  Login to [iface: default, target:
  iqn.2012-12.com.test:storage.target1, portal:
  10.45.201.22,3260] successful.

  

  [root@ovirtnode1 ~]#

  

  ##

  When I run tail -f  /var/log/vdsm/vdsm.log that log
  shows the node is trying to access NFS based domain which
  I removed in engine before trying to add iscsi data
  domain. See here:

  


  

  

I am not sure how it got connected to the NFS error. Did you mean
running tailf when you're clicking the DIscover Targets button? 
Could you please paste your vdsm.log on

http://fpaste.org/

and paste link here?  Thanks.


  

  
##

  Traceback (most recent call last):

    File /usr/share/vdsm/storage/domainMonitor.py, line
  103, in _monitorDomain

    File /usr/share/vdsm/storage/nfsSD.py, line 100, in
  selftest

  StorageDomainFSNotMounted: Storage domain remote path not
  mounted:
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_iso-domain',)

  Thread-31::ERROR::2012-12-12
  
07:29:28,834::domainMonitor::120::Storage.DomainMonitor::(_monitorDomain)
  Error while collecting domain
  `f5adc0dc-7749-4d2c-b1ba-142ac4a0688c` monitoring
  information

  Traceback (most recent call last):

    File /usr/share/vdsm/storage/domainMonitor.py, line
  103, in _monitorDomain

    File /usr/share/vdsm/storage/nfsSD.py, line 100, in
  selftest

  StorageDomainFSNotMounted: Storage domain remote path not
  mounted:
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_nfs-domain',)

  

  ##

  Why can't I add iscsi storage using engine webGUI ?

  What would you recommend ? Thank you very much in advance
  for your help.

  


  

  






  

  


  

  

  

  --- On Tue, 12/11/12, Mark Wu wu...@linux.vnet.ibm.com
  wrote:

  

From: Mark Wu wu...@linux.vnet.ibm.com

Subject: Re: [Users] help with iSCSI storage domain
needed - Ovirt -3.1

To: Aleksandr Arbitman arbit...@pacbell.net

Cc: users@ovirt.org

Date: Tuesday, December 11, 2012, 10:36 PM




  
On
  12/12/2012 09:40 AM, Aleksandr Arbitman wrote:



  

  
Hi,
  everybody !

  I have installed  ovirt 3.1 engine and two
  nodes. I have setup iscsi storage on
  another box and tested it with windows
  system - I was able to add it to win7
  initiator, meaning the storage configured
  properly. But I can't add iscsi storage in
  ovirt-engine system. When I use DIscover

[Users] help with iSCSI storage domain needed - Ovirt -3.1

2012-12-11 Thread Aleksandr Arbitman
Hi, everybody !
I have installed  ovirt 3.1 engine and two nodes. I have setup iscsi storage on 
another box and tested it with windows system - I was able to add it to win7 
initiator, meaning the storage configured properly. But I can't add iscsi 
storage in ovirt-engine system. When I use DIscover Targets option and type 
IP address of my iscsi system - nothing is happening.
All my systems - engine, nodes and iscsi server - are on the same network. Is 
it a bug? Is there any way to fix it ? Did anyone have the same issue ? Please, 
help. Thanks in advance for any tips.


Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] help with iSCSI storage domain needed - Ovirt -3.1

2012-12-11 Thread Aleksandr Arbitman
Mark.
running both commands on one of the nodes was successful, see below:

[root@ovirtnode1 ~]# iscsiadm --mode discoverydb --type sendtargets --portal 
10.45.201.22 --discover 

10.45.201.22:3260,1 iqn.2012-12.com.test:storage.target1

[root@ovirtnode1 ~]# iscsiadm --mode node --targetname 
iqn.2012-12.com.test:storage.target1 --portal 10.45.201.22:3260 --login

Logging in to [iface: default, target: iqn.2012-12.com.test:storage.target1, 
portal: 10.45.201.22,3260] (multiple)

Login to [iface: default, target: iqn.2012-12.com.test:storage.target1, portal: 
10.45.201.22,3260] successful.

[root@ovirtnode1 ~]#

##
When I run tail -f  /var/log/vdsm/vdsm.log that log shows the node is trying 
to access NFS based domain which I removed in engine before trying to add iscsi 
data domain. See here:

##
Traceback (most recent call last):
  File /usr/share/vdsm/storage/domainMonitor.py, line 103, in _monitorDomain
  File /usr/share/vdsm/storage/nfsSD.py, line 100, in selftest
StorageDomainFSNotMounted: Storage domain remote path not mounted: 
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_iso-domain',)
Thread-31::ERROR::2012-12-12 
07:29:28,834::domainMonitor::120::Storage.DomainMonitor::(_monitorDomain) Error 
while collecting domain `f5adc0dc-7749-4d2c-b1ba-142ac4a0688c` monitoring 
information
Traceback (most recent call last):
  File /usr/share/vdsm/storage/domainMonitor.py, line 103, in _monitorDomain
  File /usr/share/vdsm/storage/nfsSD.py, line 100, in selftest
StorageDomainFSNotMounted: Storage domain remote path not mounted: 
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_nfs-domain',)

##
Why can't I add iscsi storage using engine webGUI ?
What would you recommend ? Thank you very much in advance for your help.





--- On Tue, 12/11/12, Mark Wu wu...@linux.vnet.ibm.com wrote:

From: Mark Wu wu...@linux.vnet.ibm.com
Subject: Re: [Users] help with  iSCSI storage domain needed - Ovirt -3.1
To: Aleksandr Arbitman arbit...@pacbell.net
Cc: users@ovirt.org
Date: Tuesday, December 11, 2012, 10:36 PM


  


  
  
On 12/12/2012 09:40 AM, Aleksandr
  Arbitman wrote:



  

  
Hi, everybody !

  I have installed  ovirt 3.1 engine and two nodes. I have
  setup iscsi storage on another box and tested it with
  windows system - I was able to add it to win7 initiator,
  meaning the storage configured properly. But I can't add
  iscsi storage in ovirt-engine system. When I use DIscover
  Targets option and type IP address of my iscsi system -
  nothing is happening.

  All my systems - engine, nodes and iscsi server - are on
  the same network. Is it a bug? Is there any way to fix it
  ? Did anyone have the same issue ? Please, help. Thanks in
  advance for any tips.

  

  

  Alex


  

  
  

  
  


Is there any error related in /var/vdsm/vdsm.log ?



Did you try to manually discover and login the iscsi target by the
following command?



iscsiadm --mode discoverydb --type sendtargets --portal
192.168.122.1 --discover   // replace the portal address with your
iscsi server's ip address



iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal
192.168.1.1:3260 --login  //replace the iqn with what returned by
the above command, and also the portal address.












  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




  

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users