Re: [Users] HELP! Errors creating iSCSI Storage Domain

2013-02-24 Thread Кочанов Иван
/bin/sudo 
-n /sbin/lvm lvcreate --config " devices { preferred_names = 
[\\"^/dev/mapper/\\"] ignore_suspended_devices=1 write_cache_state=0 
disable_after_error_count=3 filter = [ 
\\"a%36000eb35f449ac1c005d|36000eb35f449ac1c008c%\\", 
\\"r%.*%\\" ] }  global {  locking_type=1 prioritise_write_locks=1  
wait_for_locks=1 }  backup {  retain_min = 50  retain_days = 0 } " 
--autobackup n --contiguous n --size 512m --name metadata 
c59dcf20-2de2-44c6-858d-c4e9ec018f91' (cwd None)
Thread-161377::DEBUG::2013-02-24 
22:58:15,152::misc::84::Storage.Misc.excCmd::() FAILED:  = 
'  WARNING: This metadata update is NOT backed up\n  Not activating 
c59dcf20-2de2-44c6-858d-c4e9ec018f91/metadata since it does not pass 
activation filter.\n  Failed to activate new LV.\n  WARNING: This 
metadata update is NOT backed up\n';  = 5
Thread-161377::ERROR::2013-02-24 
22:58:15,155::task::833::TaskManager.Task::(_setError) 
Task=`9bc26f2d-0ee7-4afa-8159-59883f6d98d6`::Unexpected error
Thread-161377::DEBUG::2013-02-24 
22:58:15,171::task::852::TaskManager.Task::(_run) 
Task=`9bc26f2d-0ee7-4afa-8159-59883f6d98d6`::Task._run: 
9bc26f2d-0ee7-4afa-8159-59883f6d98d6 (3, 
'c59dcf20-2de2-44c6-858d-c4e9ec018f91', 'OS', 
'Ecc2t6-uLUq-BNHq-Yjmx-d4w8-HqV6-Na88Cd', 1, '3') {} failed - stopping task




- Original Message -

I did the following right now to be sure:
- rotated logs
- deleted the LUN from Storage and created new one (so LUN is unused)
- rebooted the server
- opened oVirt Engine Web Administration
- Storage -> New Domain
- checked my newly created LUN
--> Error
- pressed button "OK" one more time - Another Error

I have no other iSCSI storage domains on my installaion. I tried to 
create another LUN on SAN with smaller size, but result is the same.


Thanks in advance. I hope this information will help to find out 
what's wrong...



- Original Message -


We would also like to know whether the first creation of the iscsi 
storage domain succeeded and only the latter ones failed.
Whether you possibly tried to create a storage domain with a already 
used lun, and specifically - do you have any iscsi storage domain at 
all that you can see on the webadmin?


Regards,
Vered

- Original Message -

From: "Eduardo Warszawski" 
To: "Vered Volansky" 
Cc: users@ovirt.org
Sent: Thursday, February 21, 2013 11:57:09 AM
Subject: Re: [Users] HELP! Errors creating iSCSI Storage Domain



- Original Message -

Hi,

Please add engine and vdsm full logs.

Regards,
Vered

- Original Message -

From: "Кочанов Иван" 
To: users@ovirt.org
Sent: Thursday, February 21, 2013 4:26:14 AM
Subject: [Users] HELP! Errors creating iSCSI Storage Domain


LUN info:
# iscsiadm -m discovery -t st -p 172.16.20.1
172.16.20.1:3260,1
iqn.2003-10.com.lefthandnetworks:mg-dcak-p4000:134:vol-os-virtualimages 



# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/36000eb35f449ac1c0086
db260c45-8dd2-4397-a5bf-fd577bbbe0d4 lvm2 a-- 1023.62g 1023.62g


The PV already belongs to VG db260c45-8dd2-4397-a5bf-fd577bbbe0d4.
This VG was very probably created by ovirt and is part of a
StorageDomain.
(Then you already succeeded.)
If you are sure that no valuable info is in this VG you can use the
"force" thick.
Anyway I suggest you to look for the SDUUID:
db260c45-8dd2-4397-a5bf-fd577bbbe0d4
and removing this StorageDomain from the system or use this already
created SD.

vdsm and engine logs will be very valuable, as Vered said.
Please include them since you started, in order to confirm to which
SD the lun belongs.

Best regards,
E.




--
Sysadmin DCAK k...@dcak.ru
___
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


___
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




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



--
С уважением,
системный администратор КГБУЗ "ДЦАК"
Кочанов Иван Александрович

mailto:k...@dcak.ru

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


[Users] HELP! Errors creating iSCSI Storage Domain

2013-02-20 Thread Кочанов Иван

Hello oVirt Community!
Need help in configuring iSCSI DataCenter on oVirt.

I have HP P4000 iSCSI Storage (LeftHand). And LUN on it. This LUN is 
available for the Server.
I tried to install oVirt from ovirt-dre repo. Everything works except 
adding iSCSI Storage Domain.
After iSCSI-discovery i get list of iSCSI LUNs. But I get error after 
choosing LUN I need (Error#1).

If I try to add it second time I get another errors (Error#2 or Error#3).

If I operate with iSCSI volume manually, I have no problems - Partitions 
are created.


Can you advise something? I stuck with this problem for two weeks already...

First I installed ovirt3.1. This week ovirt3.2 released and I did a 
fresh installation of this version, but nothing changed - errors are the 
same.


*Error #1:*
Error while executing action New SAN Storage Domain: Cannot create 
Logical Volume


*Error #2:*
Error while executing action New SAN Storage Domain: Physical device 
initialization failed. Check that the device is empty. Please remove all 
files and partitions from the device.


*Error #3:*
Error while executing action New SAN Storage Domain: Invalid physical device


*LUN info:*
# iscsiadm -m discovery -t st -p 172.16.20.1
172.16.20.1:3260,1 
iqn.2003-10.com.lefthandnetworks:mg-dcak-p4000:134:vol-os-virtualimages


# pvs
  PV VG   Fmt  Attr PSizePFree
  /dev/mapper/36000eb35f449ac1c0086 
db260c45-8dd2-4397-a5bf-fd577bbbe0d4 lvm2 a--  1023.62g 1023.62g


# fdisk -l

Disk /dev/sdc: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/mapper/36000eb35f449ac1c0086: 1099.5 GB, 
1099511627776 bytes

255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

*Server info: *
# rpm -q centos-release
centos-release-6-3.el6.centos.9.x86_64

# uname -r
2.6.32-279.22.1.el6.x86_64



--
Sysadmin DCAK
k...@dcak.ru

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