Re: [Users] cannot add gluster domain

2013-01-23 Thread T-Sinjon
Thanks for your kindly reply, but I think the problem may not be glusterfs , i 
have tested with a normal nfs storage, the error still the same.

There's familiar case in ' 
http://comments.gmane.org/gmane.comp.emulators.ovirt.user/3216 ' , 

says:
 It seems it's related http://gerrit.ovirt.org/#/c/4720/.
 The unnecessary nfs related rpm/commands including rpc-bind were removed
 from ovirt-node. But the service nfs-lock requires rpc-bind, so it
 can't start.  I guess so.  Michael,  is it?   Thanks!

seems the problem has occurred since ovirt-node-iso-2.5.0-2.0.fc17 and related 
with this merge.

On 24 Jan, 2013, at 2:50 AM, Vijay Bellur vbel...@redhat.com wrote:

 On 01/22/2013 03:28 PM, T-Sinjon wrote:
 HI, everyone:
  Recently , I newly installed ovirt 3.1 from 
 http://resources.ovirt.org/releases/stable/rpm/Fedora/17/noarch/,
  and node use 
 http://resources.ovirt.org/releases/stable/tools/ovirt-node-iso-2.5.5-0.1.fc17.iso
  
  when i add gluster domain via nfs, mount error occurred,
  I have do manually mount action on the node but failed if without -o 
 nolock option:
  # /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 
 my-gluster-ip:/gvol02/GlusterDomain 
 /rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain
  mount.nfs: rpc.statd is not running but is required for remote locking. 
 mount.nfs: Either use '-o nolock' to keep locks local, or start statd. 
 mount.nfs: an incorrect mount option was specified
  
 
 
 Can you please confirm the glusterfs version that is available in 
 ovirt-node-iso?
 
 Thanks,
 Vijay
 

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


Re: [Users] [User] why VM image owner change to root after stop the vm

2012-08-01 Thread T-Sinjon
I have 6 node , they all installed by ovirt-node-image-2.2.2-2.2.fc16.iso

some of them had been added from engine web , the others added via admin@node UI

I confirm that they both have the problem .

Since it's reproducible , I'll open a case later. 


On 1 Aug, 2012, at 7:00 PM, Dan Kenigsberg wrote:

 On Tue, Jul 31, 2012 at 02:15:12PM +0200, Martin Kletzander wrote:
 It looks like this exactly could be the problem. I don't know how the
 node installation works, but when you install normal system it shouldn't
 start any services until you specify that. Of course this is another
 story when installing one-purpose system, so I won't be able to tell you
 exactly, but vdsm should definitely make sure libvirtd loads its config
 (re/starts *after* the config is modified)
 
 I'm glad it works for you now.
 
 Martin
 
 On 07/31/2012 01:42 PM, T-Sinjon wrote:
 yeah, everything went ok after restart libvirtd
 
 I have do a test :
 Install a new node, the problem always there (any possible  that 
 dynamic_ownership=0 # by vdsm  has done after libvirtd starting??)
 
 
 T-Sinjon, How did you install your host? Using the add new host from
 Engine, or is it an ovirt-node host?
 
 We may be missing a libvirtd restart, as since
 http://gerrit.ovirt.org/3269 is in, we start libvirtd explicitly during
 bootstrap.
 If this is reproducible, please open a detailed bug in bugzilla.
 
 Regards,
 Dan.

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


Re: [Users] [User] why VM image owner change to root after stop the vm

2012-07-31 Thread T-Sinjon
yeah, everything went ok after restart libvirtd

I have do a test :
Install a new node, the problem always there (any possible  that 
dynamic_ownership=0 # by vdsm  has done after libvirtd starting??)

On 30 Jul, 2012, at 10:46 PM, Martin Kletzander wrote:

 OK, so it is done by libvirt. However, I was trying to reproduce this
 and I was looking in the code and it looks like your config file
 settings are not reflected in libvirt (does the ownership change also
 after libvirt restart?). There is no chown called when dynamic ownership
 is turned off. The only thing I haven't tried is checking older versions
 of libvirt, but this code haven't changed that much.
 
 On 07/26/2012 05:28 PM, T-Sinjon wrote:
 sorry for my careless , they all libvirtd
 
 [root@ovirt-node-sun-1 ~]# top -b -n 2 -H -p 1209
 top - 15:25:08 up 3 days,  9:11,  3 users,  load average: 0.06, 0.49, 0.39
 Tasks:  11 total,   0 running,  11 sleeping,   0 stopped,   0 zombie
 Cpu(s):  0.7%us,  1.3%sy,  0.0%ni, 97.7%id,  0.0%wa,  0.1%hi,  0.1%si,  
 0.0%st
 Mem:  16436060k total,  7349120k used,  9086940k free,69100k buffers
 Swap:0k total,0k used,0k free,  2239792k cached
 
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
   
 1209 root  20   0  909m  17m 7164 S  0.0  0.1   1:33.10 libvirtd 
   
 1515 root  20   0  909m  17m 7164 S  0.0  0.1   0:07.56 libvirtd 
   
 1516 root  20   0  909m  17m 7164 S  0.0  0.1   0:07.81 libvirtd 
   
 1517 root  20   0  909m  17m 7164 S  0.0  0.1   0:07.78 libvirtd 
   
 1518 root  20   0  909m  17m 7164 S  0.0  0.1   0:07.55 libvirtd 
   
 1519 root  20   0  909m  17m 7164 S  0.0  0.1   0:07.46 libvirtd 
   
 1520 root  20   0  909m  17m 7164 S  0.0  0.1   0:01.35 libvirtd 
   
 1521 root  20   0  909m  17m 7164 S  0.0  0.1   0:01.36 libvirtd 
   
 1522 root  20   0  909m  17m 7164 S  0.0  0.1   0:01.37 libvirtd 
   
 1523 root  20   0  909m  17m 7164 S  0.0  0.1   0:01.34 libvirtd 
   
 1524 root  20   0  909m  17m 7164 S  0.0  0.1   0:01.30 libvirtd
 
 On 26 Jul, 2012, at 8:51 PM, Martin Kletzander wrote:
 
 On 07/26/2012 02:30 PM, Dan Kenigsberg wrote:
 On Thu, Jul 26, 2012 at 11:05:21AM +0800, T-Sinjon wrote:
 maybe it's a libvirt problem  , since my nodes have used oVirt Node 
 Hypervisor 2.2.2-2.2.fc16
 
 engine:
 libvirt-0.9.11.4-3.fc17.x86_64
 This one is unused.
 
 
 node:
 libvirt-0.9.6-4.fc16.x86_64
 
 storage:
 No local fs, I have two Domain , one is using NFS fs, the other is 
 GlusterFS mount by NFS.
 Both have the problem
 
 [root@ovirt-node-sun-1 ~]# strace -p 1209 -e chown -ff
 Process 1209 attached with 11 threads - interrupt to quit
 
 After start vm:
 [pid  1518] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19068, 
 si_status=0, si_utime=1, si_stime=1} (Child exited) ---
 [pid  1518] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19069, 
 si_status=0, si_utime=1, si_stime=1} (Child exited) ---
 [pid  1518] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19071, 
 si_status=0, si_utime=1, si_stime=1} (Child exited) ---
 [pid  1518] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19072, 
 si_status=0, si_utime=1, si_stime=1} (Child exited) ---
 [pid  1518] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19074, 
 si_status=0, si_utime=1, si_stime=0} (Child exited) ---
 [pid  1209] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19080, 
 si_status=0, si_utime=0, si_stime=0} (Child exited) ---
 [pid  1518] 
 chown(/rhev/data-center/3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d/b5078b10-a044-42c5-b270-8b81cd51ce35/images/979c2849-2587-4015-bad5-53159a11b6ed/38648b73-b0d4-4f2a-9f46-5b20613abb7a,
  107, 107) = 0  
 
 After stop vm:
 [pid  1209] 
 chown(/rhev/data-center/3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d/b5078b10-a044-42c5-b270-8b81cd51ce35/images/979c2849-2587-4015-bad5-53159a11b6ed/38648b73-b0d4-4f2a-9f46-5b20613abb7a,
  0, 0) = 0
 
 
 Why are you are teasing us? ;-) who was pid 1209, vdsm or libvirtd?
 
 
 =)
 
 Unfortunately, you might be right, Dan. I think maybe it is libvirt and
 it is hitting a bug, but the bug I know about does this only with
 dynamic_ownership=1 (that's why I asked at first).
 
 To be sure, let's wait till we know who was 1518. Until then I'll try to
 investigate ;)
 
 Martin
 
 

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


[Users] [User] why VM image owner change to root after stop the vm

2012-07-25 Thread T-Sinjon

Dear everyone:

Description
When i create a vm , the vm owner is vdsm:kvm(36:36)

when i start a vm , the vm owner change to qemu:qemu(107:107)
-rw-rw. 1 qemu qemu 107374182400 Jul 25  2012 
d1e6b671-6b48-4964-9c56-22847e9b83df
-rw-r--r--. 1 vdsm kvm   269 Jul 25  2012 
d1e6b671-6b48-4964-9c56-22847e9b83df.meta

then i stop the vm , the vm owner change to root:root
-rw-rw. 1 root root 107374182400 Jul 25  2012 
d1e6b671-6b48-4964-9c56-22847e9b83df
-rw-r--r--. 1 vdsm kvm   269 Jul 25  2012 
d1e6b671-6b48-4964-9c56-22847e9b83df.meta

then , i cannot start the vm , on the web logs event:

2012-Jul-25, 16:27:29
VM Git-Server is down. Exit message: 'truesize'.

2012-Jul-25, 16:27:28
VM Git-Server was restarted on Host ovirt-node-sun-1.local

2012-Jul-25, 16:27:28
Failed to run VM Git-Server on Host ovirt-node-sun-4.local.

and the ovirt-engine.log:
2012-07-25 16:27:24,359 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] 
(ajp--0.0.0.0-8009-5) START, IsValidVDSCommand(storagePoolId = 
3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d, ignoreFailoverLimit = false, 
compatabilityVersion = null), log id: 7d8f1a84
2012-07-25 16:27:24,364 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] 
(ajp--0.0.0.0-8009-5) FINISH, IsValidVDSCommand, return: true, log id: 7d8f1a84
2012-07-25 16:27:24,441 INFO  
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] 
(ajp--0.0.0.0-8009-5) START, IsVmDuringInitiatingVDSCommand(vmId = 
4f03fc62-a71e-4560-b807-5388526f6968), log id: 6c699650
2012-07-25 16:27:24,443 INFO  
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] 
(ajp--0.0.0.0-8009-5) FINISH, IsVmDuringInitiatingVDSCommand, return: false, 
log id: 6c699650
2012-07-25 16:27:24,491 INFO  [org.ovirt.engine.core.bll.RunVmCommand] 
(pool-3-thread-48) [36951f95] Lock Acquired to object EngineLock 
[exclusiveLocks= key: 4f03fc62-a71e-4560-b807-5388526f6968 value: VM
, sharedLocks= ]
2012-07-25 16:27:24,515 INFO  [org.ovirt.engine.core.bll.RunVmCommand] 
(pool-3-thread-48) [36951f95] Running command: RunVmCommand internal: false. 
Entities affected :  ID: 4f03fc62-a71e-4560-b807-5388526f6968 Type: VM
2012-07-25 16:27:24,691 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand] 
(pool-3-thread-48) [36951f95] START, IsoPrefixVDSCommand(storagePoolId = 
3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d, ignoreFailoverLimit = false, 
compatabilityVersion = null), log id: 74d1cdf9
2012-07-25 16:27:24,695 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand] 
(pool-3-thread-48) [36951f95] FINISH, IsoPrefixVDSCommand, return: 
/rhev/data-center/3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d/bb0c61bf-18d1-41da-8e92-b3da6e6abffb/images/----,
 log id: 74d1cdf9
2012-07-25 16:27:24,699 INFO  
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-48) 
[36951f95] START, CreateVmVDSCommand(vdsId = 
ebf0aae2-d4a6-11e1-8bef-0f498706821d, 
vmId=4f03fc62-a71e-4560-b807-5388526f6968, 
vm=org.ovirt.engine.core.common.businessentities.VM@4fb10fb7), log id: 7a29d259
2012-07-25 16:27:24,708 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-3-thread-48) 
[36951f95] START, CreateVDSCommand(vdsId = 
ebf0aae2-d4a6-11e1-8bef-0f498706821d, 
vmId=4f03fc62-a71e-4560-b807-5388526f6968, 
vm=org.ovirt.engine.core.common.businessentities.VM@4fb10fb7), log id: 29395031
2012-07-25 16:27:24,789 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-3-thread-48) 
[36951f95] org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand 
kvmEnable=true,nicModel=pv,pv,keyboardLayout=en-us,nice=0,timeOffset=-2,transparentHugePages=true,vmId=4f03fc62-a71e-4560-b807-5388526f6968,drives=[Ljava.util.Map;@1869fe1c,acpiEnable=true,custom={},spiceSslCipherSuite=DEFAULT,memSize=4096,boot=cd,smp=2,vmType=kvm,emulatedMachine=pc-0.14,display=vnc,tabletEnable=true,spiceSecureChannels=smain,sinputs,smpCoresPerSocket=1,spiceMonitors=1,cdrom=/rhev/data-center/3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d/bb0c61bf-18d1-41da-8e92-b3da6e6abffb/images/----/CentOS-6.2-x86_64-LiveDVD.iso,macAddr=00:1a:4a:1e:01:10,00:1a:4a:1e:01:11,bridge=network_10,ovirtmgmt,vmName=Git-Server,cpuType=Conroe
2012-07-25 16:27:24,799 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-3-thread-48) 
[36951f95] FINISH, CreateVDSCommand, log id: 29395031
2012-07-25 16:27:24,807 INFO  
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-48) 
[36951f95] IncreasePendingVms::CreateVmIncreasing vds ovirt-node-sun-3.local 
pending vcpu count, now 2. Vm: Git-Server
2012-07-25 16:27:24,849 INFO  
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-48) 
[36951f95] FINISH, CreateVmVDSCommand, return: WaitForLaunch, log id: 7a29d259
2012-07-25 16:27:24,858 INFO  [org.ovirt.engine.core.bll.RunVmCommand] 
(pool-3-thread-48) [36951f95] Lock freed to object EngineLock [exclusiveLocks= 

Re: [Users] [User] why VM image owner change to root after stop the vm

2012-07-25 Thread T-Sinjon
both engine and node dynamic_ownership are 0

On 25 Jul, 2012, at 5:56 PM, Martin Kletzander wrote:

 On 07/25/2012 10:36 AM, T-Sinjon wrote:
 
 Dear everyone:
 
 Description
 When i create a vm , the vm owner is vdsm:kvm(36:36)
 
 when i start a vm , the vm owner change to qemu:qemu(107:107)
 -rw-rw. 1 qemu qemu 107374182400 Jul 25  2012 
 d1e6b671-6b48-4964-9c56-22847e9b83df
 -rw-r--r--. 1 vdsm kvm   269 Jul 25  2012 
 d1e6b671-6b48-4964-9c56-22847e9b83df.meta
 
 then i stop the vm , the vm owner change to root:root
 -rw-rw. 1 root root 107374182400 Jul 25  2012 
 d1e6b671-6b48-4964-9c56-22847e9b83df
 -rw-r--r--. 1 vdsm kvm   269 Jul 25  2012 
 d1e6b671-6b48-4964-9c56-22847e9b83df.meta
 
 then , i cannot start the vm , on the web logs event:
 
 
 Just out of curiosity (it won't probably won't be the cause of the
 problem), do you have dynamic_ownership=0 in /etc/libvirt/qemu.conf ?
 
 Martin

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


Re: [Users] Gluster Domain can't be actived

2012-07-18 Thread T-Sinjon
Because of none Spm host , master data domain  cannot active

 2012-07-18 15:09:37,659 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-16) hostFromVds::selectedVds - ovirt-node-sun-6.local, 
spmStatus Unknown_Pool, storage pool BLC
2012-07-18 15:09:37,728 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(QuartzScheduler_Worker-16) START, ConnectStoragePoolVDSCommand(vdsId = 
6cb3dd5a-ca90-11e1-b403-733718060008, storagePoolId = 
3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d, vds_spm_id = 1, masterDomainId = 
b5078b10-a044-42c5-b270-8b81cd51ce35, masterVersion = 1), log id: 3344179
2012-07-18 15:09:37,785 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(QuartzScheduler_Worker-16) FINISH, ConnectStoragePoolVDSCommand, log id: 
3344179
2012-07-18 15:09:37,787 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-16) IrsBroker::Failed::GetStoragePoolInfoVDS due to: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)


On 18 Jul, 2012, at 11:42 AM, T-Sinjon wrote:

 hi, 
 I use fedora 17 from http://www.ovirt.org/releases/beta/fedora/17/ , and 
 configured a nfs gluster Domain as Master Data domain
 
 somehow , my data center into Non-Responsive status, and the Gluster Domain 
 into inactivate status 
 
 When i active Gluster Domain  , error happened:
 
 2012-07-18 11:36:44,739 ERROR 
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-100) 
 [378290f1] Command SpmStatusVDS execution failed. Exception: 
 VDSErrorException: VDSGenericException: VDSErrorException: Failed in 
 vdscommand to SpmStatusVDS, error = Meta Data parameter invalid: ('Version or 
 spm id invalid',)
 2012-07-18 11:36:44,743 INFO  
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
 (QuartzScheduler_Worker-100) [378290f1] hostFromVds::selectedVds - 
 ovirt-node-2.local, spmStatus returned null!
 
 What strange is all my host is in UP status, but all of them the SpmStatus is 
 in None status. 
 
 
 

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


Re: [Users] Gluster Domain can't be actived

2012-07-18 Thread T-Sinjon
robert,
may he is .

So i have a idea , add a new host , maybe the spm can migrate to the new host
I'm so lucky , it happened as my thought

now the new host plays as the SPM , and i can active my domain now.

thanks all the same.

 This is likely related to this bug.  I am not sure if the fix has made 
 it into the newer builds or not.
 
 https://bugzilla.redhat.com/show_bug.cgi?id=835920


On 18 Jul, 2012, at 3:13 PM, T-Sinjon wrote:

 Because of none Spm host , master data domain  cannot active
 
 2012-07-18 15:09:37,659 INFO  
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
 (QuartzScheduler_Worker-16) hostFromVds::selectedVds - 
 ovirt-node-sun-6.local, spmStatus Unknown_Pool, storage pool BLC
 2012-07-18 15:09:37,728 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
 (QuartzScheduler_Worker-16) START, ConnectStoragePoolVDSCommand(vdsId = 
 6cb3dd5a-ca90-11e1-b403-733718060008, storagePoolId = 
 3bdc6f14-bb92-4b0e-8db2-d0ba4c34f61d, vds_spm_id = 1, masterDomainId = 
 b5078b10-a044-42c5-b270-8b81cd51ce35, masterVersion = 1), log id: 3344179
 2012-07-18 15:09:37,785 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
 (QuartzScheduler_Worker-16) FINISH, ConnectStoragePoolVDSCommand, log id: 
 3344179
 2012-07-18 15:09:37,787 ERROR 
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
 (QuartzScheduler_Worker-16) IrsBroker::Failed::GetStoragePoolInfoVDS due to: 
 IRSNonOperationalException: IRSGenericException: IRSErrorException: 
 IRSNonOperationalException: Could not connect host to Data Center(Storage 
 issue)
 
 
 On 18 Jul, 2012, at 11:42 AM, T-Sinjon wrote:
 
 hi, 
 I use fedora 17 from http://www.ovirt.org/releases/beta/fedora/17/ , and 
 configured a nfs gluster Domain as Master Data domain
 
 somehow , my data center into Non-Responsive status, and the Gluster Domain 
 into inactivate status 
 
 When i active Gluster Domain  , error happened:
 
 2012-07-18 11:36:44,739 ERROR 
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase] 
 (QuartzScheduler_Worker-100) [378290f1] Command SpmStatusVDS execution 
 failed. Exception: VDSErrorException: VDSGenericException: 
 VDSErrorException: Failed in vdscommand to SpmStatusVDS, error = Meta Data 
 parameter invalid: ('Version or spm id invalid',)
 2012-07-18 11:36:44,743 INFO  
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
 (QuartzScheduler_Worker-100) [378290f1] hostFromVds::selectedVds - 
 ovirt-node-2.local, spmStatus returned null!
 
 What strange is all my host is in UP status, but all of them the SpmStatus 
 is in None status. 
 
 
 
 

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


[Users] Gluster Domain can't be actived

2012-07-17 Thread T-Sinjon
hi, 
I use fedora 17 from http://www.ovirt.org/releases/beta/fedora/17/ , and 
configured a nfs gluster Domain as Master Data domain
 
somehow , my data center into Non-Responsive status, and the Gluster Domain 
into inactivate status 

When i active Gluster Domain  , error happened:

2012-07-18 11:36:44,739 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] 
(QuartzScheduler_Worker-100) [378290f1] Command SpmStatusVDS execution failed. 
Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed in 
vdscommand to SpmStatusVDS, error = Meta Data parameter invalid: ('Version or 
spm id invalid',)
2012-07-18 11:36:44,743 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-100) [378290f1] hostFromVds::selectedVds - 
ovirt-node-2.local, spmStatus returned null!

What strange is all my host is in UP status, but all of them the SpmStatus is 
in None status. 



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


[Users] cann't login User-Portal with ipa added users

2012-05-30 Thread T-Sinjon
I use IPA, and i can do ipa user-show tsinjon etc(ipa service is good)
few days ago , i could login User-Portal normally, but this time when i'm 
logging ,
i failed and the error occurred,   engine.log and /var/log/jboss-as/console.log 
has the same logs as below:

What can i do to deal with it?

2012-05-30 17:38:10,066 ERROR [org.ovirt.engine.core.bll.adbroker.GetRootDSE] 
(http--0.0.0.0-8443-5) [50355357] Failed to query rootDSE for LDAP server 
ldap://local:389 due to local:389
2012-05-30 17:38:15,072 ERROR 
[org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy] 
(http--0.0.0.0-8443-5) [50355357] Error from Kerberos: ovirt-engine.local.
2012-05-30 17:38:15,073 ERROR 
[org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (http--0.0.0.0-8443-5) 
[50355357] Failed ldap search server ldap://local:389 due to 
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException. We should 
not try the next server: 
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticateToKDC(GSSAPIDirContextAuthenticationStrategy.java:150)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.explicitAuth(GSSAPIDirContextAuthenticationStrategy.java:119)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticate(GSSAPIDirContextAuthenticationStrategy.java:111)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper.useAuthenticationStrategy(GSSAPILdapTemplateWrapper.java:85)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.PrepareLdapConnectionTask.call(PrepareLdapConnectionTask.java:56)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.DirectorySearcher.find(DirectorySearcher.java:98)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.DirectorySearcher.FindOne(DirectorySearcher.java:39)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapAuthenticateUserCommand.executeQuery(LdapAuthenticateUserCommand.java:44)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.Execute(LdapBrokerCommandBase.java:68)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapBrokerBase.RunAdAction(LdapBrokerBase.java:18)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginUserCommand.authenticateUser(LoginUserCommand.java:30)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginBaseCommand.isUserCanBeAuthenticated(LoginBaseCommand.java:174)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginBaseCommand.canDoAction(LoginBaseCommand.java:143)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.InternalCanDoAction(CommandBase.java:486) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:261) 
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:330) 
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:288) 
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) 
[:1.6.0_24]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
 [jboss-as-ee-7.1.0.Beta1b.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
 [jboss-invocation-1.1.1.Final.jar:]
at 
org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)
 [engine-utils.jar:]
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) 
[:1.6.0_24]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
at 
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
 [jboss-as-ee-7.1.0.Beta1b.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
 [jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 

[Users] How to change storage domain ip address

2012-05-29 Thread T-Sinjon
For some reason , the ip address of my NFS storage domain server has changed 
from 192.168.x.x to 172.16.x.x , then my VMDomain became inactive.

the VMDomain NFS Export Path should change to 172.16.x.x:/Path/To/VMDomain,  
where can i change this to let the domain active again?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to change storage domain ip address

2012-05-29 Thread T-Sinjon
After i update postgreSQL , the ip changed correctlly.
then  i try to active my VMDomain,  but it throws the error:

2012-05-30 01:05:39,699 ERROR 
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-46) [277fd6c5] Command 
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand throw Vdc Bll 
exception. With error message VdcBLLException: Cannot allocate IRS server

what's the IRS server mean? and how to resolve it

On 30 May, 2012, at 12:14 AM, Haim Ateya wrote:

 i'm not familiar with conventional way of doing such a change; the only way I 
 can think of is altering storage related tables on data-base.
 i would start with the following table: 
 
 SELECT * from storage_server_connections;
 
 then create a query that changes current ip address with new one. 
 
 Haim
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, May 29, 2012 6:47:20 PM
 Subject: [Users] How to change storage domain ip address
 
 For some reason , the ip address of my NFS storage domain server has
 changed from 192.168.x.x to 172.16.x.x , then my VMDomain became
 inactive.
 
 the VMDomain NFS Export Path should change to
 172.16.x.x:/Path/To/VMDomain,  where can i change this to let the
 domain active again?
 ___
 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


Re: [Users] How to change storage domain ip address

2012-05-29 Thread T-Sinjon
I guess you mean engine.log , because i can't find any log new when i do this 
action.

here is the full log:
2012-05-30 01:28:24,852 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] Lock Acquired to object EngineLock 
[exclusiveLocks= key: 
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand value: 
5e2ac537-6a73-4faf-8379-68f3ff26a75d
, sharedLocks= ]
2012-05-30 01:28:24,864 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] Running command: ActivateStorageDomainCommand 
internal: false. Entities affected :  ID: 5e2ac537-6a73-4faf-8379-68f3ff26a75d 
Type: Storage
2012-05-30 01:28:24,876 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] Lock freed to object EngineLock [exclusiveLocks= 
key: org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand value: 
5e2ac537-6a73-4faf-8379-68f3ff26a75d
, sharedLocks= ]
2012-05-30 01:28:24,876 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] ActivateStorage Domain. Before Connect all hosts 
to pool. Time:5/30/12 1:28 AM
2012-05-30 01:28:24,901 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] ActivateStorage Domain. After Connect all hosts 
to pool. Time:5/30/12 1:28 AM
2012-05-30 01:28:24,902 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] 
(pool-5-thread-44) [18001bda] START, 
ActivateStorageDomainVDSCommand(storagePoolId = 
524a7003-edec-4f52-a38e-b15cadfbe3ef, ignoreFailoverLimit = false, 
compatabilityVersion = null, storageDomainId = 
5e2ac537-6a73-4faf-8379-68f3ff26a75d), log id: 49e134ff
2012-05-30 01:28:24,906 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] 
(pool-5-thread-44) [18001bda] FINISH, ActivateStorageDomainVDSCommand, log id: 
49e134ff
2012-05-30 01:28:24,907 ERROR 
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] Command 
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand throw Vdc Bll 
exception. With error message VdcBLLException: Cannot allocate IRS server
2012-05-30 01:28:24,914 INFO  
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] 
(pool-5-thread-44) [18001bda] Command 
[id=3c916f08-7fb3-44ea-882e-4f56bc9716a2]: Compensating CHANGED_STATUS_ONLY of 
org.ovirt.engine.core.common.businessentities.storage_pool_iso_map; snapshot: 
EntityStatusSnapshot [id=storagePoolId = 524a7003-edec-4f52-a38e-b15cadfbe3ef, 
storageId = 5e2ac537-6a73-4faf-8379-68f3ff26a75d, status=Maintenance]

On 30 May, 2012, at 1:14 AM, Haim Ateya wrote:

 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: Haim Ateya hat...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 29, 2012 8:09:38 PM
 Subject: Re: [Users] How to change storage domain ip address
 
 After i update postgreSQL , the ip changed correctlly.
 then  i try to active my VMDomain,  but it throws the error:
 
 2012-05-30 01:05:39,699 ERROR
 [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
 (pool-5-thread-46) [277fd6c5] Command
 org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand throw
 Vdc Bll exception. With error message VdcBLLException: Cannot
 allocate IRS server
 
 what's the IRS server mean? and how to resolve it
 
 IRS = Image Repository Server. 
 
 please attach full vdsm.log so we can examine the connectStorageServer 
 command and the corresponding mount point. 
 
 On 30 May, 2012, at 12:14 AM, Haim Ateya wrote:
 
 i'm not familiar with conventional way of doing such a change; the
 only way I can think of is altering storage related tables on
 data-base.
 i would start with the following table:
 
 SELECT * from storage_server_connections;
 
 then create a query that changes current ip address with new one.
 
 Haim
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, May 29, 2012 6:47:20 PM
 Subject: [Users] How to change storage domain ip address
 
 For some reason , the ip address of my NFS storage domain server
 has
 changed from 192.168.x.x to 172.16.x.x , then my VMDomain became
 inactive.
 
 the VMDomain NFS Export Path should change to
 172.16.x.x:/Path/To/VMDomain,  where can i change this to let the
 domain active again?
 ___
 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


Re: [Users] How to change storage domain ip address

2012-05-29 Thread T-Sinjon
After doing this , master domain still can't be activated ..

On 30 May, 2012, at 2:15 AM, Haim Ateya wrote:

 i'm missing connectStorageServer here (API command which makes the connection 
 between host and storage, in our case, mount).
 the following errors comes from the fact connectStoragePool is sent, but host 
 fails to read domain meta-data, and function fails on attrib error.
 please try the following: 
 
 - put both hosts on maintenance state 
 - activate only one of the hosts 
 - go to data-center, and activate master domain 
 
 
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: Haim Ateya hat...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 29, 2012 9:06:30 PM
 Subject: Re: [Users] How to change storage domain ip address
 
 i have 2 hosts , one is up and the other is in Non Operational status
 
 node1  vdsm.log:
 Thread-77492::DEBUG::2012-05-29
 17:58:39,927::clientIF::261::Storage.Dispatcher.Protect::(wrapper)
 [172.30.0.229]
 Thread-77492::DEBUG::2012-05-29
 17:58:39,929::task::588::TaskManager.Task::(_updateState)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::moving from state init
 - state preparing
 Thread-77492::INFO::2012-05-29
 17:58:39,930::logUtils::37::dispatcher::(wrapper) Run and protect:
 getSpmStatus(spUUID='524a7003-edec-4f52-a38e-b15cadfbe3ef',
 options=None)
 Thread-77492::ERROR::2012-05-29
 17:58:39,930::task::855::TaskManager.Task::(_setError)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::Unexpected error
 Traceback (most recent call last):
  File /usr/share/vdsm/storage/task.py, line 863, in _run
  File /usr/share/vdsm/logUtils.py, line 38, in wrapper
  File /usr/share/vdsm/storage/hsm.py, line 438, in getSpmStatus
  File /usr/share/vdsm/storage/hsm.py, line 186, in getPool
 StoragePoolUnknown: Unknown pool id, pool not connected:
 ('524a7003-edec-4f52-a38e-b15cadfbe3ef',)
 Thread-77492::DEBUG::2012-05-29
 17:58:39,931::task::874::TaskManager.Task::(_run)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::Task._run:
 9e61d75e-5673-4c01-a8ad-99fc737398de
 ('524a7003-edec-4f52-a38e-b15cadfbe3ef',) {} failed - stopping task
 Thread-77492::DEBUG::2012-05-29
 17:58:39,932::task::1201::TaskManager.Task::(stop)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::stopping in state
 preparing (force False)
 Thread-77492::DEBUG::2012-05-29
 17:58:39,933::task::980::TaskManager.Task::(_decref)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::ref 1 aborting True
 Thread-77492::INFO::2012-05-29
 17:58:39,933::task::1159::TaskManager.Task::(prepare)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::aborting: Task is
 aborted: 'Unknown pool id, pool not connected' - code 309
 Thread-77492::DEBUG::2012-05-29
 17:58:39,934::task::1164::TaskManager.Task::(prepare)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::Prepare: aborted:
 Unknown pool id, pool not connected
 Thread-77492::DEBUG::2012-05-29
 17:58:39,935::task::980::TaskManager.Task::(_decref)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::ref 0 aborting True
 Thread-77492::DEBUG::2012-05-29
 17:58:39,935::task::915::TaskManager.Task::(_doAbort)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::Task._doAbort: force
 False
 Thread-77492::DEBUG::2012-05-29
 17:58:39,936::resourceManager::841::ResourceManager.Owner::(cancelAll)
 Owner.cancelAll requests {}
 Thread-77492::DEBUG::2012-05-29
 17:58:39,937::task::588::TaskManager.Task::(_updateState)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::moving from state
 preparing - state aborting
 Thread-77492::DEBUG::2012-05-29
 17:58:39,937::task::537::TaskManager.Task::(__state_aborting)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::_aborting: recover
 policy none
 Thread-77492::DEBUG::2012-05-29
 17:58:39,938::task::588::TaskManager.Task::(_updateState)
 Task=`9e61d75e-5673-4c01-a8ad-99fc737398de`::moving from state
 aborting - state failed
 Thread-77492::DEBUG::2012-05-29
 17:58:39,939::resourceManager::806::ResourceManager.Owner::(releaseAll)
 Owner.releaseAll requests {} resources {}
 Thread-77492::DEBUG::2012-05-29
 17:58:39,939::resourceManager::841::ResourceManager.Owner::(cancelAll)
 Owner.cancelAll requests {}
 Thread-77492::ERROR::2012-05-29
 17:58:39,940::dispatcher::90::Storage.Dispatcher.Protect::(run)
 {'status': {'message': Unknown pool id, pool not connected:
 ('524a7003-edec-4f52-a38e-b15cadfbe3ef',), 'code': 309}}
 Thread-77493::DEBUG::2012-05-29
 17:58:39,964::clientIF::261::Storage.Dispatcher.Protect::(wrapper)
 [172.30.0.229]
 Thread-77493::DEBUG::2012-05-29
 17:58:39,965::task::588::TaskManager.Task::(_updateState)
 Task=`47053840-dcdd-4c64-8788-e730ca0e87cb`::moving from state init
 - state preparing
 Thread-77493::INFO::2012-05-29
 17:58:39,966::logUtils::37::dispatcher::(wrapper) Run and protect:
 connectStoragePool(spUUID='524a7003-edec-4f52-a38e-b15cadfbe3ef',
 hostID=1, scsiKey='524a7003-edec-4f52-a38e-b15cadfbe3ef',
 msdUUID='5e2ac537-6a73-4faf-8379-68f3ff26a75d', masterVersion=1,
 options=None)
 Thread-77493::DEBUG::2012-05-29
 17:58:39,967::resourceManager

[Users] SPM host in unknown status

2012-05-27 Thread T-Sinjon
Description of problem:

i have 2 nodes 
ovirt-node1.local   Non Responsive  SPM
ovirt-node2.local   Up  None

The SPM node stuck in Non-responsive status, it can't be actived, 
all vms in the node went into Unknown status and the master vm domain became 
inactived

when i do Maintenace action to node1, it says:
Error: Cannot switch Host to Maintenance mode.
Host still has running VMs on it and is in Non-Responsive state.

but there has no vm running in node1 , it only has 2 vms in Unknown status

Because I can't active the SPM host , so  i can't active  the vm storage domain

1,How can i migrated the SPM role to other host in my data center , such us 
node2?
2,How can i send the node1 to UP status?(I have did 'confirm the host has been 
Rebooted' action , and rebooted the node1, but it did no sense)

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


Re: [Users] SPM host in unknown status

2012-05-27 Thread T-Sinjon
  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-93) hostFromVds::selectedVds - ovirt-node-2.local, 
spmStatus Free, storage pool BLC
2012-05-28 10:50:07,505 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-93) SPM Init: could not find reported vds or not up - 
pool:BLC vds_spm_id: 1
2012-05-28 10:50:07,510 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-93) SPM selection - vds seems as spm ovirt-node-1.local
2012-05-28 10:50:07,510 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-93) spm vds is non responsive, stopping spm selection.
2012-05-28 10:50:17,551 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) hostFromVds::selectedVds - ovirt-node-2.local, 
spmStatus Free, storage pool BLC
2012-05-28 10:50:17,554 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) SPM Init: could not find reported vds or not up - 
pool:BLC vds_spm_id: 1
2012-05-28 10:50:17,559 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) SPM selection - vds seems as spm ovirt-node-1.local
2012-05-28 10:50:17,559 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) spm vds is non responsive, stopping spm selection.
2012-05-28 10:50:27,609 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-92) hostFromVds::selectedVds - ovirt-node-2.local, 
spmStatus Free, storage pool BLC
2012-05-28 10:50:27,612 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-92) SPM Init: could not find reported vds or not up - 
pool:BLC vds_spm_id: 1
2012-05-28 10:50:27,617 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-92) SPM selection - vds seems as spm ovirt-node-1.local
2012-05-28 10:50:27,618 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-92) spm vds is non responsive, stopping spm selection.
2012-05-28 10:50:37,652 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-67) hostFromVds::selectedVds - ovirt-node-2.local, 
spmStatus Free, storage pool BLC
2012-05-28 10:50:37,656 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-67) SPM Init: could not find reported vds or not up - 
pool:BLC vds_spm_id: 1
2012-05-28 10:50:37,661 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-67) SPM selection - vds seems as spm ovirt-node-1.local
2012-05-28 10:50:37,662 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-67) spm vds is non responsive, stopping spm selection.
2012-05-28 10:50:47,709 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) hostFromVds::selectedVds - ovirt-node-2.local, 
spmStatus Free, storage pool BLC
2012-05-28 10:50:47,712 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-34) SPM Init: could not find reported vds or not up - 
pool:BLC vds_spm_id: 1

On 28 May, 2012, at 12:08 AM, Haim Ateya wrote:

 Hi, first question that comes to mind is why host is in non-responsive state? 
 Please check the following:
 1. vdsmd service is running on host side
 2. No firewall is blocking comm. in and out
 3. No network issue between host and manager
 
 Now, for your question, you can use the  manual fence option (confirm host 
 has been rebooted), which will free spm role for faulty host, and engine will 
 elect new spm.
 
 Haim
 
 On May 27, 2012, at 18:32, T-Sinjon tscbj1...@gmail.com wrote:
 
 Description of problem:
 
 i have 2 nodes 
 ovirt-node1.localNon ResponsiveSPM
 ovirt-node2.localUpNone
 
 The SPM node stuck in Non-responsive status, it can't be actived, 
 all vms in the node went into Unknown status and the master vm domain became 
 inactived
 
 when i do Maintenace action to node1, it says:
 Error: Cannot switch Host to Maintenance mode.
 Host still has running VMs on it and is in Non-Responsive state.
 
 but there has no vm running in node1 , it only has 2 vms in Unknown status
 
 Because I can't active the SPM host , so  i can't active  the vm storage 
 domain
 
 1,How can i migrated the SPM role to other host in my data center , such us 
 node2?
 2,How can i send the node1 to UP status?(I have did 'confirm the host has 
 been Rebooted' action , and rebooted the node1, but it did no sense)
 
 ___
 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


Re: [Users] engine-manage-domains can't add user , domain

2012-05-22 Thread T-Sinjon
Thk Roy,it did help me ! when i update my database then engine-manage-domain 
goes fine!

I really prefer to attach the log ,but  there has no such file 
/var/log/ovirt-engine/ovirt-engine-upgrade.log

[root@ovirt-engine ~]# ls -ld  /var/log/ovirt-engine/ovirt-engine-upgrade.log
ls: cannot access /var/log/ovirt-engine/ovirt-engine-upgrade.log: No such file 
or directory
[root@ovirt-engine ~]# find /var/log/ -iname *upgrade*
nothing..

Anything else can i help?

On 22 May, 2012, at 3:04 PM, Roy Golan wrote:

 On 05/22/2012 08:34 AM, Oved Ourfalli wrote:
 
 - Original Message -
 From: T-Sinjontscbj1...@gmail.com
 To: Roy Golanrgo...@redhat.com
 Cc: Oved Ourfalliov...@redhat.com, users@ovirt.org
 Sent: Tuesday, May 22, 2012 5:33:06 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 HI, Roy
 
 I have update my engine to newest use ' rpm -Uvh ' -
 
 I used rpms from
 http://jenkins.ovirt.org/view/ovirt_engine/job/ovirt_engine_create_rpms/
  .
 
 [root@ovirt-engine ~]# rpm -qa | grep ovirt-engine
 ovirt-engine-dbscripts-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-config-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-log-collector-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-image-uploader-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-restapi-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-sdk-1.3-1.fc16.noarch
 ovirt-engine-tools-common-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-backend-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-jbossas-1.2-2.fc16.x86_64
 ovirt-engine-iso-uploader-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-setup-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-userportal-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-jboss-deps-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-webadmin-portal-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-genericapi-3.1.0_0001-1.8.fc16.x86_64
 ovirt-engine-notification-service-3.1.0_0001-1.8.fc16.x86_64
 
 and now I add domain again , it still have error and there's no log
 can find from engine-manage-domains.log, what should i do now ?
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain=local -user=admin -provider=IPA -interactive
 Failed reading current configuration. Details: Error Error fetching
 LDAPProviderTypes value: no such entry with version 'general'.
 while reading configuration value LDAPProviderTypes.
 
 Looks like your database isn't updated.
 I'm not sure whether a database upgrade is run automatically when you update 
 the RPMs, but according to the error you get it is probably isn't.
 if rpm -Uvh didn't fire the upgrade script its a bug.
 pls attach /var/log/ovirt-engine/ovirt-engine-upgrade.log to see if something 
 went wrong
 In the RPM ovirt-engine-dbscripts-3.1.0_0001-1.8.fc16.x86_64 you should have 
 an upgrade script.
 (use rpm -qil on ovirt-engine-dbscripts-3.1.0_0001-1.8.fc16.x86_64 to find 
 out where it is, as I'm not sure exactly where it's installed).
 
 Run it using the command ./upgrade.sh -u postgres
 It will upgrade your database.
 
 Oved
 On 15 May, 2012, at 5:10 PM, Roy Golan wrote:
 
 On 05/15/2012 08:48 AM, Yair Zaslavsky wrote:
 On 05/15/2012 08:35 AM, Oved Ourfalli wrote:
 - Original Message -
 From: T-Sinjontscbj1...@gmail.com
 To: Oved Ourfalliov...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 15, 2012 5:53:16 AM
 Subject: Re: [Users] engine-manage-domains can't add user ,
 domain
 
 after use kinit login tsinjon ,  the error changes to , why this
 happened?
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 No user in Directory was found for tsinjon@LOCAL. Trying next
 LDAP
 server in list
 Failure while testing domain local. Details: No user information
 was
 found for user
 
 Can't see why kinit matters here, but looking at your command I
 noticed you used single quotes for the user and domain name.
 I'm not sure it knows to handle this correctly.
 Did you try without the quotes?
 
 Also, what version are you working with?
 We had a problem a few weeks ago, of identifying the correct ldap
 provider. To fix that we added an option to specify the ldap
 provider type. It determines which query will be used in order
 to get the user details.
 
 cc-ing Roy, which added this. iirc it is mandatory to provide
 this option, so you probably don't have this option in your
 environment.
 Roy - is there an upstream release with this fix?
 Oved - this was merged upstream.
 T-Sinjon - have you cloned the git repo and compiled or are you
 using RPMs?
 T-Sinjon - once your updated you'll be able to specify the which
 type is your LDAP server and overcome this problem.
 
 e.g.
 engine-manage-domains -action=add -domain='local' -provider=ipa
 -user='tsinjon' -interactive
 
 
 
 Regards,
 Oved
 On 15 May, 2012, at 10:47 AM, T-Sinjon wrote:
 
 I have added those SRV info into my zone file , and it did go ,
  the log looks fine , but engine-manage-domains still return
  error
 
 2012-05-15 10:45:19,222 INFO

Re: [Users] engine-manage-domains can't add user , domain

2012-05-21 Thread T-Sinjon
HI, Roy

I have update my engine to newest use ' rpm -Uvh ' - 

I used rpms from 
http://jenkins.ovirt.org/view/ovirt_engine/job/ovirt_engine_create_rpms/  .

[root@ovirt-engine ~]# rpm -qa | grep ovirt-engine
ovirt-engine-dbscripts-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-config-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-log-collector-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-image-uploader-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-restapi-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-sdk-1.3-1.fc16.noarch
ovirt-engine-tools-common-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-backend-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-jbossas-1.2-2.fc16.x86_64
ovirt-engine-iso-uploader-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-setup-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-userportal-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-jboss-deps-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-webadmin-portal-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-genericapi-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-notification-service-3.1.0_0001-1.8.fc16.x86_64

and now I add domain again , it still have error and there's no log can find 
from engine-manage-domains.log, what should i do now ?

[root@ovirt-engine ~]# engine-manage-domains -action=add -domain=local 
-user=admin -provider=IPA -interactive
Failed reading current configuration. Details: Error Error fetching 
LDAPProviderTypes value: no such entry with version 'general'. while reading 
configuration value LDAPProviderTypes.

On 15 May, 2012, at 5:10 PM, Roy Golan wrote:

 On 05/15/2012 08:48 AM, Yair Zaslavsky wrote:
 On 05/15/2012 08:35 AM, Oved Ourfalli wrote:
 
 - Original Message -
 From: T-Sinjontscbj1...@gmail.com
 To: Oved Ourfalliov...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 15, 2012 5:53:16 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 after use kinit login tsinjon ,  the error changes to , why this
 happened?
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 No user in Directory was found for tsinjon@LOCAL. Trying next LDAP
 server in list
 Failure while testing domain local. Details: No user information was
 found for user
 
 Can't see why kinit matters here, but looking at your command I noticed you 
 used single quotes for the user and domain name.
 I'm not sure it knows to handle this correctly.
 Did you try without the quotes?
 
 Also, what version are you working with?
 We had a problem a few weeks ago, of identifying the correct ldap provider. 
 To fix that we added an option to specify the ldap provider type. It 
 determines which query will be used in order to get the user details.
 
 cc-ing Roy, which added this. iirc it is mandatory to provide this option, 
 so you probably don't have this option in your environment.
 Roy - is there an upstream release with this fix?
 Oved - this was merged upstream.
 T-Sinjon - have you cloned the git repo and compiled or are you using RPMs?
 T-Sinjon - once your updated you'll be able to specify the which type is your 
 LDAP server and overcome this problem.
 
 e.g.
 engine-manage-domains -action=add -domain='local' -provider=ipa 
 -user='tsinjon' -interactive
 
 
 
 
 Regards,
 Oved
 On 15 May, 2012, at 10:47 AM, T-Sinjon wrote:
 
 I have added those SRV info into my zone file , and it did go ,
  the log looks fine , but engine-manage-domains still return error
 
 2012-05-15 10:45:19,222 INFO
  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
 kerberos configuration for domain(s): local
 2012-05-15 10:45:19,258 INFO
  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully
 created kerberos configuration for domain(s): local
 2012-05-15 10:45:19,259 INFO
  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing
 kerberos configuration for domain: local
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 Error:  exception message: Integrity check on decrypted field
 failed (31) - PREAUTH_FAILED
 Failure while testing domain local. Details: Kerberos error. Please
 check log for further details.
 
 
 On 14 May, 2012, at 10:12 PM, Oved Ourfalli wrote:
 
 
 - Original Message -
 From: T-Sinjontscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Monday, May 14, 2012 5:07:46 PM
 Subject: [Users] engine-manage-domains can't add user , domain
 
 
 I use FreeIPA to authenticate users,  ipa user-add has no
 problem,
 but when i do :
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 
 Error: Authentication Failed. Please verify the fully qualified
 domain name that is used for authentication is correct..
 Problematic
 domain is: local
 Failure while applying Kerberos configuration. Details:
 Authentication Failed. Please verify the fully qualified domain
 name
 that is used for authentication is correct.
 
 and log from engine-manage-domains.log

Re: [Users] engine-manage-domains can't add user , domain

2012-05-15 Thread T-Sinjon
Oved:
1,Yes , I used RPMs 

ovirt-engine-restapi-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-dbscripts-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-notification-service-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-backend-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-jboss-deps-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-config-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-webadmin-portal-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-sdk-1.3-1.fc16.noarch
ovirt-engine-jbossas-1.2-2.fc16.x86_64
ovirt-engine-iso-uploader-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-setup-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-userportal-3.0.0_0001-1.6.fc16.x86_64
ovirt-node-2.2.2-2.fc16.noarch
ovirt-engine-genericapi-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-tools-common-3.0.0_0001-1.6.fc16.x86_64
ovirt-node-tools-2.2.2-2.fc16.noarch
ovirt-engine-log-collector-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-3.0.0_0001-1.6.fc16.x86_64

2,they are same whether use single quota or not 

[root@ovirt-engine ~]# engine-manage-domains -action=add -domain=local 
-user=tsinjon -passwordFile=/root/tsinjon 
No user in Directory was found for tsinjon@LOCAL. Trying next LDAP server in 
list
Failure while testing domain local. Details: No user information was found for 
user

On 15 May, 2012, at 1:47 PM, Oved Ourfalli wrote:

 
 
 - Original Message -
 From: Yair Zaslavsky yzasl...@redhat.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: T-Sinjon tscbj1...@gmail.com, users@ovirt.org
 Sent: Tuesday, May 15, 2012 8:48:26 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 On 05/15/2012 08:35 AM, Oved Ourfalli wrote:
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 15, 2012 5:53:16 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 after use kinit login tsinjon ,  the error changes to , why this
 happened?
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 No user in Directory was found for tsinjon@LOCAL. Trying next LDAP
 server in list
 Failure while testing domain local. Details: No user information
 was
 found for user
 
 Can't see why kinit matters here, but looking at your command I
 noticed you used single quotes for the user and domain name.
 I'm not sure it knows to handle this correctly.
 Did you try without the quotes?
 
 Also, what version are you working with?
 We had a problem a few weeks ago, of identifying the correct ldap
 provider. To fix that we added an option to specify the ldap
 provider type. It determines which query will be used in order to
 get the user details.
 
 cc-ing Roy, which added this. iirc it is mandatory to provide this
 option, so you probably don't have this option in your
 environment.
 Roy - is there an upstream release with this fix?
 
 Oved - this was merged upstream.
 T-Sinjon - have you cloned the git repo and compiled or are you using
 RPMs?
 
 Yair - he is probably using the RPMs, as it is harder to run the utility from 
 the git repo.
 
 
 Regards,
 Oved
 On 15 May, 2012, at 10:47 AM, T-Sinjon wrote:
 
 
 I have added those SRV info into my zone file , and it did go ,
 the log looks fine , but engine-manage-domains still return
 error
 
 2012-05-15 10:45:19,222 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
 kerberos configuration for domain(s): local
 2012-05-15 10:45:19,258 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains]
 Successfully
 created kerberos configuration for domain(s): local
 2012-05-15 10:45:19,259 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing
 kerberos configuration for domain: local
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 Error:  exception message: Integrity check on decrypted field
 failed (31) - PREAUTH_FAILED
 Failure while testing domain local. Details: Kerberos error.
 Please
 check log for further details.
 
 
 On 14 May, 2012, at 10:12 PM, Oved Ourfalli wrote:
 
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Monday, May 14, 2012 5:07:46 PM
 Subject: [Users] engine-manage-domains can't add user , domain
 
 
 I use FreeIPA to authenticate users,  ipa user-add has no
 problem,
 but when i do :
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 
 Error: Authentication Failed. Please verify the fully qualified
 domain name that is used for authentication is correct..
 Problematic
 domain is: local
 Failure while applying Kerberos configuration. Details:
 Authentication Failed. Please verify the fully qualified domain
 name
 that is used for authentication is correct.
 
 and log from engine-manage-domains.log :
 
 2012-05-14 21:58:47,892 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
 kerberos configuration for domain(s): local
 2012-05-14 21:58

Re: [Users] engine-manage-domains can't add user , domain

2012-05-15 Thread T-Sinjon
help info like this

[root@ovirt-engine ~]# engine-manage-domains
engine-manage-domains: add/edit/delete/validate/list domains
USAGE:
engine-manage-domains -action=ACTION [-domain=DOMAIN -user=USER 
-passwordFile=PASSWORD_FILE -interactive -configFile=PATH] -report
Where:
ACTION action to perform (add/edit/delete/validate/list). 
See details below.
DOMAIN  (mandatory for add, edit and delete) the domain 
you wish to perform the action on.
USER (optional for edit, mandatory for add) the 
domain user.
PASSWORD_FILE(optional for edit, mandatory for add) 
a file containing the password in the first line.
interactivealternative for using -passwordFile - read the 
password interactively.
PATH   (optional) use the given alternate configuration 
file.

Available actions:
add
Examples:
-action=add -domain=example.com -user=admin 
-passwordFile=/tmp/.pwd
Add a domain called example.com, using user admin and 
read the password from /tmp/.pwd.
-action=edit -domain=example.com 
-passwordFile=/tmp/.new_password
Edit the domain example.com, using another password 
file.
-action=delete -domain=example.com
Delete the domain example.com.
-action=validate
Validate the current configuration (go over all the 
domains, try to authenticate to each domain using the configured 
user/password.).
-report In combination with -action=validate will report all 
validation error, if occured.
Default behaviour is to exit when a validation error 
occurs.
-action=list
Lists the current configuration.
-h
Show this help.

On 15 May, 2012, at 2:22 PM, Yair Zaslavsky wrote:

 On 05/15/2012 09:17 AM, T-Sinjon wrote:
 Oved:
 1,Yes , I used RPMs 
 
 ovirt-engine-restapi-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-dbscripts-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-notification-service-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-backend-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-jboss-deps-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-config-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-webadmin-portal-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-sdk-1.3-1.fc16.noarch
 ovirt-engine-jbossas-1.2-2.fc16.x86_64
 ovirt-engine-iso-uploader-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-setup-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-userportal-3.0.0_0001-1.6.fc16.x86_64
 ovirt-node-2.2.2-2.fc16.noarch
 ovirt-engine-genericapi-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-tools-common-3.0.0_0001-1.6.fc16.x86_64
 ovirt-node-tools-2.2.2-2.fc16.noarch
 ovirt-engine-log-collector-3.0.0_0001-1.6.fc16.x86_64
 ovirt-engine-3.0.0_0001-1.6.fc16.x86_64
 
 2,they are same whether use single quota or not 
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add -domain=local 
 -user=tsinjon -passwordFile=/root/tsinjon 
 No user in Directory was found for tsinjon@LOCAL. Trying next LDAP server in 
 list
 Failure while testing domain local. Details: No user information was found 
 for user
 
 When you run engine-manage-domains without parameters, what do you get?
 
 
 On 15 May, 2012, at 1:47 PM, Oved Ourfalli wrote:
 
 
 
 - Original Message -
 From: Yair Zaslavsky yzasl...@redhat.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: T-Sinjon tscbj1...@gmail.com, users@ovirt.org
 Sent: Tuesday, May 15, 2012 8:48:26 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 On 05/15/2012 08:35 AM, Oved Ourfalli wrote:
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 15, 2012 5:53:16 AM
 Subject: Re: [Users] engine-manage-domains can't add user , domain
 
 after use kinit login tsinjon ,  the error changes to , why this
 happened?
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 Enter password:
 
 No user in Directory was found for tsinjon@LOCAL. Trying next LDAP
 server in list
 Failure while testing domain local. Details: No user information
 was
 found for user
 
 Can't see why kinit matters here, but looking at your command I
 noticed you used single quotes for the user and domain name.
 I'm not sure it knows to handle this correctly.
 Did you try without the quotes?
 
 Also, what version are you working with?
 We had a problem a few weeks ago, of identifying the correct ldap
 provider. To fix that we added an option to specify the ldap
 provider type. It determines which query will be used in order to
 get the user details.
 
 cc-ing Roy, which added this. iirc it is mandatory to provide this
 option, so you probably don't have this option in your
 environment.
 Roy - is there an upstream

[Users] engine-manage-domains can't add user , domain

2012-05-14 Thread T-Sinjon

I use FreeIPA to authenticate users,  ipa user-add has no problem, but when i 
do :

[root@ovirt-engine ~]# engine-manage-domains -action=add -domain='local' 
-user='tsinjon' -interactive

Error: Authentication Failed. Please verify the fully qualified domain name 
that is used for authentication is correct.. Problematic domain is: local
Failure while applying Kerberos configuration. Details: Authentication Failed. 
Please verify the fully qualified domain name that is used for authentication 
is correct.

and log from engine-manage-domains.log :

2012-05-14 21:58:47,892 INFO  
[org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos 
configuration for domain(s): local
2012-05-14 21:58:47,923 ERROR [org.ovirt.engine.core.dns.DnsSRVLocator] Error 
in getting SRV list for protocol _tcp and domain LOCAL Exception message is DNS 
name not found [response code 3] 

my domain is 'local'   , like ovirt-engine.local 、ovirt-node-1.local …etc

What can i do to get through it?


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


Re: [Users] engine-manage-domains can't add user , domain

2012-05-14 Thread T-Sinjon

I have added those SRV info into my zone file , and it did go ,  the log looks 
fine , but engine-manage-domains still return error 

2012-05-15 10:45:19,222 INFO  
[org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos 
configuration for domain(s): local
2012-05-15 10:45:19,258 INFO  
[org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully created 
kerberos configuration for domain(s): local
2012-05-15 10:45:19,259 INFO  
[org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing kerberos 
configuration for domain: local

[root@ovirt-engine ~]# engine-manage-domains -action=add -domain='local' 
-user='tsinjon' -interactive
Enter password:

Error:  exception message: Integrity check on decrypted field failed (31) - 
PREAUTH_FAILED
Failure while testing domain local. Details: Kerberos error. Please check log 
for further details.


On 14 May, 2012, at 10:12 PM, Oved Ourfalli wrote:

 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Monday, May 14, 2012 5:07:46 PM
 Subject: [Users] engine-manage-domains can't add user , domain
 
 
 I use FreeIPA to authenticate users,  ipa user-add has no problem,
 but when i do :
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 
 Error: Authentication Failed. Please verify the fully qualified
 domain name that is used for authentication is correct.. Problematic
 domain is: local
 Failure while applying Kerberos configuration. Details:
 Authentication Failed. Please verify the fully qualified domain name
 that is used for authentication is correct.
 
 and log from engine-manage-domains.log :
 
 2012-05-14 21:58:47,892 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
 kerberos configuration for domain(s): local
 2012-05-14 21:58:47,923 ERROR
 [org.ovirt.engine.core.dns.DnsSRVLocator] Error in getting SRV list
 for protocol _tcp and domain LOCAL Exception message is DNS name not
 found [response code 3]
 
 my domain is 'local'   , like ovirt-engine.local 、ovirt-node-1.local
 …etc
 
 What can i do to get through it?
 
 The utility (and also the ovirt engine) are relying on DNS SRV records in 
 order to find LDAP and kerberos servers (supporting Active directory, IPA or 
 RHDS).
 So, in order to work with it you must have the following in the DNS
 1. PTR record for your LDAP server
 2. LDAP SRV record for your LDAP server
 3. LDAP kerberos record for your LDAP server
 
 If you don't really have access to the DNS you can install a package called 
 dnsmasq, and perform this changes by yourself in its config file.
 
 Oved
 
 ___
 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


Re: [Users] engine-manage-domains can't add user , domain

2012-05-14 Thread T-Sinjon
after use kinit login tsinjon ,  the error changes to , why this happened?

[root@ovirt-engine ~]# engine-manage-domains -action=add -domain='local' 
-user='tsinjon' -interactive
Enter password:

No user in Directory was found for tsinjon@LOCAL. Trying next LDAP server in 
list
Failure while testing domain local. Details: No user information was found for 
user

On 15 May, 2012, at 10:47 AM, T-Sinjon wrote:

 
 I have added those SRV info into my zone file , and it did go ,  the log 
 looks fine , but engine-manage-domains still return error 
 
 2012-05-15 10:45:19,222 INFO  
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos 
 configuration for domain(s): local
 2012-05-15 10:45:19,258 INFO  
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully created 
 kerberos configuration for domain(s): local
 2012-05-15 10:45:19,259 INFO  
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing kerberos 
 configuration for domain: local
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add -domain='local' 
 -user='tsinjon' -interactive
 Enter password:
 
 Error:  exception message: Integrity check on decrypted field failed (31) - 
 PREAUTH_FAILED
 Failure while testing domain local. Details: Kerberos error. Please check log 
 for further details.
 
 
 On 14 May, 2012, at 10:12 PM, Oved Ourfalli wrote:
 
 
 
 - Original Message -
 From: T-Sinjon tscbj1...@gmail.com
 To: users@ovirt.org
 Sent: Monday, May 14, 2012 5:07:46 PM
 Subject: [Users] engine-manage-domains can't add user , domain
 
 
 I use FreeIPA to authenticate users,  ipa user-add has no problem,
 but when i do :
 
 [root@ovirt-engine ~]# engine-manage-domains -action=add
 -domain='local' -user='tsinjon' -interactive
 
 Error: Authentication Failed. Please verify the fully qualified
 domain name that is used for authentication is correct.. Problematic
 domain is: local
 Failure while applying Kerberos configuration. Details:
 Authentication Failed. Please verify the fully qualified domain name
 that is used for authentication is correct.
 
 and log from engine-manage-domains.log :
 
 2012-05-14 21:58:47,892 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
 kerberos configuration for domain(s): local
 2012-05-14 21:58:47,923 ERROR
 [org.ovirt.engine.core.dns.DnsSRVLocator] Error in getting SRV list
 for protocol _tcp and domain LOCAL Exception message is DNS name not
 found [response code 3]
 
 my domain is 'local'   , like ovirt-engine.local 、ovirt-node-1.local
 …etc
 
 What can i do to get through it?
 
 The utility (and also the ovirt engine) are relying on DNS SRV records in 
 order to find LDAP and kerberos servers (supporting Active directory, IPA or 
 RHDS).
 So, in order to work with it you must have the following in the DNS
 1. PTR record for your LDAP server
 2. LDAP SRV record for your LDAP server
 3. LDAP kerberos record for your LDAP server
 
 If you don't really have access to the DNS you can install a package called 
 dnsmasq, and perform this changes by yourself in its config file.
 
 Oved
 
 ___
 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