[ovirt-users] [ovirt-devel] [SOLVED] vdsClient getVGList returned Empty

like.ma at cs2c.com.cn like.ma at cs2c.com.cn
Tue May 12 21:01:24 EDT 2015


The problem has been solved. The reason that vdsm cannot see the vgs is the permission of sudoers had been changed by somebody who hacked into our system. After restoring the permission of sudoers everyting is fine.



like.ma at cs2c.com.cn
 
From: like.ma at cs2c.com.cn
Date: 2015-05-07 20:01
To: Nir Soffer
Subject: Re: Re: [ovirt-devel] vdsClient getVGList returned Empty
Thank you for your reply. 

Following is the output:

 [root at jzjdve ~]# pvscan --cache && lvs -o all|more
  LV UUID                                LV                                   Pa
th                                                                           Att
r       Active Maj Min Rahead KMaj KMin KRahead LSize   MSize  #Seg Origin OSize
 Data%  Snap%  Meta%  Cpy%Sync Cpy%Sync Mismatches SyncAction WBehind MinSync Ma
xSync Move Convert Log Data Meta Pool LV Tags
                                            LProfile Time
Host       Modules Fmt  VG UUID                                VG
                    Attr   VSize   VFree   SYS ID Ext     #Ext  Free MaxLV MaxPV
 #PV #LV #SN Seq VG Tags

RICCF 2015/5/7 19:52:30










     VProfile #VMda #VMdaUse VMdaFree  VMdaSize  #VMdaCps
  q2G0ZV-vklp-4LbF-oYiS-22qo-02Wb-CqS1Y5 1e94d2b6-7956-4bec-86bc-832211d36d6f /d
ev/ede37a89-5c1b-4d53-ad07-8a11ba209f61/1e94d2b6-7956-4bec-86bc-832211d36d6f -wi
-a----- active  -1  -1   auto 253  17   512.00k   1.00t           1

RICCF 2015/5/7 19:53:09

                                      MD_15,PU_00000000-0000-0000-0000-000000000
000,IU_d0d88935-c8a4-4563-941d-775bc085cc2d          2015-04-19 16:18:23 +0800
jzjdve.com         lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d5
3-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0
   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE
=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6a
b9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&
44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MD
T_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP
,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_do
main,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Def
ault,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad
07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_S
PM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVE
R=14              2        2    63.99m   128.00m unmanaged
  lj0jhT-tGqR-c0Hi-qGqS-5XF1-PrRV-ZOkEM8 1f37922f-3d11-4809-a5db-cb2e965a80f8 /d
ev/ede37a89-5c1b-4d53-ad07-8a11ba209f61/1f37922f-3d11-4809-a5db-cb2e965a80f8 -wi
-a----- active  -1  -1   auto 253  27   512.00k 900.00g           1

                                      MD_25,PU_00000000-0000-0000-0000-000000000
000,IU_5c5c9121-3f0a-403c-ae53-46350bff6aca          2015-04-20 19:22:09 +0800
jzjdve.com         lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d5
3-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0

RICCF 2015/5/7 19:53:38

   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE
=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6a
b9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&
44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MD
T_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP
,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_do
main,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Def
ault,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad
07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_S
PM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVE
R=14              2        2    63.99m   128.00m unmanaged
  16sEN2-wmFC-yjwN-Nwgm-rX5A-pKmR-A5UIhI 2dc72f9d-e170-4f8d-b415-ac4dc6914191 /d
ev/ede37a89-5c1b-4d53-ad07-8a11ba209f61/2dc72f9d-e170-4f8d-b415-ac4dc6914191 -wi
-a----- active  -1  -1   auto 253  12   512.00k 300.00g           1

                                      IU_76c8a622-46f7-4def-a4fa-0b74d581e564,PU
_00000000-0000-0000-0000-000000000000,MD_10          2015-03-24 12:13:13 +0800
jzjdve.com         lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d5
3-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0
   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE
=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6a
b9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&
44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MD
19:54:14
RICCF 2015/5/7 19:54:14

T_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP
,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_do
main,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Def
ault,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad
07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_S
PM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVE
R=14              2        2    63.99m   128.00m unmanaged
  chQNHg-8kOj-ihFL-UHZo-RCPW-RwUj-cQEVof 40658bf4-db2b-4fa7-bb0f-6d54ab022338 /d
ev/ede37a89-5c1b-4d53-ad07-8a11ba209f61/40658bf4-db2b-4fa7-bb0f-6d54ab022338 -wi
-a----- active  -1  -1   auto 253  18   512.00k   1.00g           1

                                      MD_16,PU_b722fe49-f04a-4958-87a1-83c0299d7
b13,IU_81e36639-3a15-4fe7-9dbf-7ed12c56abb6          2015-04-19 16:19:41 +0800
jzjdve.com         lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d5
3-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0
   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE
=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6a
b9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&
44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MD
T_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP
,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_do
main,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Def
ault,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad

RICCF 2015/5/7 19:54:46

07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_S
PM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVE
R=14              2        2    63.99m   128.00m unmanaged
  6AeMHf-NaZq-Z4Lv-BHaa-o0iU-lP8b-j3U0cK 407e4ccb-dd56-4d45-8fd8-43162690794e /d
ev/ede37a89-5c1b-4d53-ad07-8a11ba209f61/407e4ccb-dd56-4d45-8fd8-43162690794e -wi
-a----- active  -1  -1   auto 253  24   512.00k   1.00g           1

                                      PU_00000000-0000-0000-0000-000000000000,MD
_20,IU_df30a325-e7b2-4734-9783-fdc469d2aaf6          2015-04-19 16:57:15 +0800
jzjdve.com         lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d5
3-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0
   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE
=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6a
b9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&
44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MD
T_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP
,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_do
main,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Def
ault,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad
07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_S
PM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVE
R=14              2        2    63.99m   128.00m unmanaged
19:57:13
RICCF 2015/5/7 19:57:13

lv is too much, above is just a part of output

[root at jzjdve ~]# pvscan --cache && vgs -o all
  Fmt  VG UUID                                VG                                   Attr   VSize   VFree   SYS ID Ext     #Ext  Free MaxLV MaxPV #PV #LV #SN Seq VG Tags                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             VProfile #VMda #VMdaUse VMdaFree  VMdaSize  #VMdaCps
  lvm2 hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE ede37a89-5c1b-4d53-ad07-8a11ba209f61 wz--n-   4.00t 737.00g        128.00m 32765 5896     0     0   1  25   0 193 MDT_LEASETIMESEC=60,MDT_CLASS=Data,MDT_VERSION=3,MDT_LOGBLKSIZE=512,MDT_VGUUID=hvo5lR-abga-Xv2v-txAT-5TDT-0v87-Wy7bAE,MDT_PV0=pv:36e09796100b6ab9d000d383400000002&44&uuid:D0B18v-naul-qSrN-EAr3-y27S-1wtr-ceG9qF&44&pestart:0&44&pecount:32765&44&mapoffset:0,MDT_DESCRIPTION=ve_storage,MDT_LEASERETRIES=3,MDT_IOOPTIMEOUTSEC=10,MDT_LOCKRENEWALINTERVALSEC=5,MDT_PHYBLKSIZE=512,MDT_TYPE=FCP,MDT_LOCKPOLICY=,MDT_SDUUID=ede37a89-5c1b-4d53-ad07-8a11ba209f61,RHAT_storage_domain,MDT_POOL_UUID=5849b030-626e-47cb-ad90-3ce782d831b3,MDT_POOL_DESCRIPTION=Default,MDT_ROLE=Master,MDT_MASTER_VERSION=1,MDT_POOL_DOMAINS=ede37a89-5c1b-4d53-ad07-8a11ba209f61:Active&44&6cdc15fb-974c-4407-9b42-65b6f99b19f5:Active,MDT_POOL_SPM_ID=1,MDT__SHA_CKSUM=557fcbb72833b9f2f4855bbfcca92908c1b331a4,MDT_POOL_SPM_LVER=14              2        2    63.99m   128.00m unmanaged
  lvm2 popc7C-ShBj-5a5H-S9Wy-TL0W-KX4n-h8gmMc vg_gzjdve                            wz--n- 558.38g      0          64.00m  8934    0     0     0   1   3   0   4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1        1   507.50k  1020.00k unmanaged



like.ma at cs2c.com.cn
 
From: Nir Soffer
Date: 2015-05-07 19:45
To: like ma
CC: users; devel
Subject: Re: [ovirt-devel] vdsClient getVGList returned Empty
> Hi, guys
> I have a vdsm host, when i use "vgs" command, it will display 2 volume group
> which already exist. But when i use "vdsClient -s 0 getVGList", it displays
> nothing. That means vdsm cannot see the existed vg. Why? Does anybody have
> any idea?
> 
> P.S. In fact, i am trying to resolve the problem of "Cannot find master
> domain"
 
Can you shared the output of:
 
pvscan --cache && lvs -o all
pvscan --cache && vgs -o all
 
Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150513/1043646c/attachment-0001.html>


More information about the Users mailing list