[Users] webadmin login issues with AD
by Keith Mitchell
I'm trying to get rhevm 3.1 (which seems to be pretty much ovirt 3.1
from what I can tell) authenticating against our active directory
infrastructure bu am having some difficulty that I don't quite
understand and was hoping someone may know what is happening.
The server where rhevm/ovirt is running is a RHEL6 based server that has
NIS configured (with user home directories mounted via
nfs/automounter). The userids in nis match the userids in our
ActiveDirectory server (in fact the passwords should match too since
there is a sync between the two).
I added the Activedirectory server into ovirt (through
rhevm-manage-domains) and it is added/validated successfully. As the
local admin user I can go in and search agains the active directory, add
permissions, etc.
But... If I try to log into the webadmin/user portals with one of the
active directory accounts it seems to hang... and I noticed that it
seems to be trying to mount the home directory of a bunch of users via
the automounter (perhaps its trying to mount everyones home directory...
can't tell). This takes a super long time since the home directories
are all across the world and nfs access to some of these filesystems is
really slow... i'm not sure it will ever complete... certainly not
before the user gives up.
Anyone know what would cause this? I wouldn't think this should
happen. I was thinking it should just authenticate the password and
then look at the permissions granted inside overt/rhevm.
thanks.
11 years, 9 months
Re: [Users] Rest-api to fetch the hosts details ( active vm's , CPU , Physical memory etc.)
by Michael Pasternak
Hi Romil,
Not sure i understand, are you talking about quota resources allocation?
On 03/01/2013 11:03 AM, Romil Gupta wrote:
> Hi ..thanks for continuous help :)
>
> I have a query is their any way we can check how much Cores remaining in a cluster in Rhev-m before provisioning a VM ?
>
> coz after creating 5-10 VM's in a cluster if we create new VM then it shows exception like Cluster doesnt contains cores!
>
> Thanks .
> Romil
>
>
>
>
> On Tue, Feb 19, 2013 at 3:56 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com>> wrote:
>
>
> Hi Romil,
>
> On 02/19/2013 11:22 AM, Romil Gupta wrote:
> > Hi Michael ,
> >
> >
> > Thanks for ur continuous help. I have one more query here ....
> >
> > I want to fetch the host elements like ..
> > Type
> > address
> > status
> > No. of CPUs
> > cpu->type
> > cpu -> name->topology->cores->sockets
> > memory
> > summary
> > version
> >
> > Is is the correct way of doing to get these details?
> >
> > hosts=api.hosts.list()
> > for host in hosts:
> > type=api.hosts.get(host.id <http://host.id> <http://host.id>).type
> > address=api.hosts.get(host.id <http://host.id> <http://host.id>).address
>
> no, please use getter methods instead as they're encapsulating attributes that may be
> called differently in python,
>
> for instance 'type' attribute in python renamed to 'type_' cause 'type' is preserved name.
>
> you can see all available get_X() methods by running code bellow:
>
> #> print [token for token in type(host.superclass).__dict__.keys() if token.startswith('get_')]
>
> >
> > I got some exception :
> > address=api.hosts.get(host.id <http://host.id> <http://host.id>).get_address()
> > AttributeError: 'NoneType' object has no attribute 'get_address'
>
> this can only happen if your host lookup has failed.
>
> >
> >
> > Please suggest me the correct way of doing it ....if have referred
> > https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtual...
> >
> > Regards,
> > Romil
> >
> >
> >
> >
> >
> >
> > On Wed, Jan 30, 2013 at 6:50 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>> wrote:
> >
> > On 01/30/2013 03:09 PM, Romil Gupta wrote:
> > > thanks for all your guidance , now I m able to fetch the details of a host using
> > > the below script :
> > >
> > > hosts=api.hosts.list()
> > > for host in hosts:
> > > print "host name--> %s id--->> %s \n"%(host.name <http://host.name> <http://host.name> <http://host.name> , host.id <http://host.id> <http://host.id>
> <http://host.id>)
> > > clusterid=api.hosts.get(host.name <http://host.name> <http://host.name> <http://host.name>).cluster.id <http://cluster.id> <http://cluster.id>
> <http://cluster.id>
> > > print clusterid
> > >
> > > hostname=api.hosts.get(host.name <http://host.name> <http://host.name> <http://host.name>)
> > > statistic=hostname.statistics.list()
> > > i=0
> > > while i < 14:
> > > print statistic[i].name
> > > print statistic[i].description
> > > print statistic[i].unit
> > > print statistic[i].values.value[0].datum
> > > i=i+1;
> > >
> > >
> > > summary=api.get_summary()
> > > print summary
> > >
> > > How I can print the summary , its only return the Object??
> >
> > this is summary object structure:
> >
> > <summary>
> > <vms>
> > <total></total>
> > <active></active>
> > </vms>
> > <hosts>
> > <total></total>
> > <active></active>
> > </hosts>
> > <users>
> > <total></total>
> > <active></active>
> > </users>
> > <storage_domains>
> > <total></total>
> > <active></active>
> > </storage_domains>
> > </summary>
> >
> > you can access properties directly, like this:
> > summary.hosts.active
> >
> > >
> > > Thanks,
> > > Romil
> > >
> > >
> > > On Wed, Jan 30, 2013 at 4:52 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>
> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>>> wrote:
> > >
> > >
> > > Romil,
> > >
> > > On 01/30/2013 12:18 PM, Romil Gupta wrote:
> > > > Hi,
> > > >
> > > > Is this is a right way to get it ??
> > > >
> > > > statistics=params.Host(host.name <http://host.name> <http://host.name> <http://host.name> <http://host.name>).get_statistic()
> > >
> > > 1. first you need to fetch the host to see it's statistics (by doing params.Host(...) you creating
> > > host parameters holder which is needed for adding new host to the system)
> > >
> > > 2. get_x() getters used to access object attributes, while collections are exposed as properties, do
> > >
> > > 1. myhost = api.hosts.get(name="xxx")
> > > 2. myhost.statistics.list()
> > > 3. loop over returned collection of statistics to find what you're looking for
> > >
> > > - note, statistic objects are complex types, you can look for data at:
> > >
> > > statistics[i].unit // the unit of the holder data
> > > statistics[i].values.value[0].datum // actual data
> > >
> > > > print statistics
> > > >
> > > > summary=params.Host(host.name <http://host.name> <http://host.name> <http://host.name> <http://host.name>).get_summary()
> > >
> > > summary() is an api method, do:
> > >
> > > 1. api = API(url='', username='', password='')
> > > 2. api.get_summary()
> > >
> > >
> > > > print summary
> > > >
> > > >
> > > > Output is : none
> > > >
> > > > Thanks
> > > > Romil
> > > >
> > > >
> > > > On Wed, Jan 30, 2013 at 2:04 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com
> <mailto:mpastern@redhat.com>> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>>
> > <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>> <mailto:mpastern@redhat.com
> <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>>>> wrote:
> > > >
> > > >
> > > > Hi Romil,
> > > >
> > > > On 01/30/2013 10:17 AM, Romil Gupta wrote:
> > > > > Hi all ,
> > > > >
> > > > > how I can get the hosts details like Active VM's ,
> > > >
> > > > host doesn't have running vms attribute, instead you
> > > > can see in the guest on which host it's running,
> > > >
> > > > general system summary you can see at api.get_summary()
> > > >
> > > > Number of CPU's , CPU name , CPU type ,
> > > >
> > > > these are host attributes
> > > >
> > > > Physical Memory (used , free ) , swap size and other parameters
> > > >
> > > > these are host.statistics attributes
> > > >
> > > > > using ovirt-engine-sdk-3.2.0.5-1.
> > > > >
> > > > >
> > > > >
> > > > > Regards,
> > > > > Romil
> > > > >
> > > > > --
> > > > > I don't wish to be everything to everyone, but I would like to be something to someone.
> > > >
> > > >
> > > > --
> > > >
> > > > Michael Pasternak
> > > > RedHat, ENG-Virtualization R&D
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > I don't wish to be everything to everyone, but I would like to be something to someone.
> > >
> > >
> > > --
> > >
> > > Michael Pasternak
> > > RedHat, ENG-Virtualization R&D
> > >
> > >
> > >
> > >
> > > --
> > > I don't wish to be everything to everyone, but I would like to be something to someone.
> >
> >
> > --
> >
> > Michael Pasternak
> > RedHat, ENG-Virtualization R&D
> >
> >
> >
> >
> > --
> > I don't wish to be everything to everyone, but I would like to be something to someone.
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
>
>
>
>
> --
> I don't wish to be everything to everyone, but I would like to be something to someone.
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
11 years, 9 months
[Users] ovirtmgmt
by victor nunes
goodnight
I installed 3.2 and oVirt vdsm on the same machine (fedora 18) with the
command.
yum install oVirt-engine-setup-plugin-allinone and then
engine-setup - config-allinone = yes
then, the configuration was successful, however now I am having problems
with interfaces.
I have two interfaces, `em1` (this interface was that I had configured a
static ip it) `and` ovirtmgmt, both with the same ip address.
If I erase the # 1, I just can not access the oVirt,
what can I do to solve this interface problem?
--
“Encarada do ponto de vista da juventude, a vida parece um futuro
indefinidamente longo, ao passo que, na velhice, ela parece um passado
deveras curto. Assim, a vida no seu início se apresenta do mesmo modo
que as coisas quando as olhamos através de um binóculo usado ao contrário;
mas, ao
seu final, ela se parece com as coisas tal qual são vistas quando o
binóculo
é usado de modo normal. Um homem precisa ter envelhecido e vivido
bastante para perceber como a vida é curta”.
(Poema de Arthur Schopenhauer)
11 years, 9 months
Re: [Users] Spice client USB - Linux
by Itamar Heim
On 02/03/2013 13:31, Winfried de Heiden wrote:
> Hi Itamar,
>
> As mentioned: cluster version 3.2.
>
> It turns out I can select a USB-device on a Windows virtual guest;
> however; I can't using a Fedora 18 or Centos 6.0 guest.
legacy is supposed to only be enabled for windows.
but usb native (assuming you chose spice of course) has no such limitations.
michal - thoughts?
>
> What's missing?
>
> Winfried
>
>
> Op 28-02-13 17:17, Itamar Heim schreef:
>> On 28/02/2013 10:49, Winfried de Heiden wrote:
>>> Hi all,
>>>
>>> As mentioned in the features of oVirt, I should be able to use an
>>> USB-drive on my (Spice) guest.However, the option to choose an USB
>>> device is greyed out in the Spice Console.
>>>
>>> "Big Uncle" RHEV 3.1 tells in
>>> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtual...
>>>
>>> to use "Native USB"
>>>
>>> Am I missing something? Or: I tried using a serverprofile. Is USB
>>> redirection only available using a desktop profile? Anyway: how can I
>>> enable USB on my Spice Client. (Fedora 18)
>>
>> which cluster version do you have?
>>
>
11 years, 9 months
Re: [Users] build vdsm error at TestSuperVdsm
by bigclouds
------=_Part_28990_2072646971.1362101178519
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
i get it 'git clone http://gerrit.ovirt.org/p/vdsm.git' this morning. and make it again. error remains.
i fellow http://www.ovirt.org/Vdsm_Developers step by step until(make rpm).but if add 'NOSE_EXCLUDE=.* ' ,make can success
thanks.
error message:
testConnectWithoutCertificateFails OK
testSessionIsCached OK
SPM_MailMonitorTests
testThreadLeak OK
TestSuperVdsm
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
Traceback (most recent call last):
File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
utils.retry(self._connect, Exception, timeout=60, tries=3)
File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
return func()
File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect
self._manager.connect()
File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
conn = Client(self._address, authkey=self._authkey)
File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
c = SocketClient(address)
File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
s.connect(address)
File "<string>", line 1, in connect
error: [Errno 111] Connection refused
Killed
[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm
At 2013-02-28 23:33:10,"Yaniv Bronheim" <ybronhei(a)redhat.com> wrote:
>i dont think they're related at all
>
>run it without the tests:
>./autogen.sh --system && ./configure --enable-hooks && make rpm NOSE_EXCLUDE=.*
>
>tell me what you've got..
>what vdsm branch do you compile? master or ovirt-3.2?
>
>----- Original Message -----
>From: "bigclouds" <bigclouds(a)163.com>
>To: "Yaniv Bronheim" <ybronhei(a)redhat.com>
>Sent: Thursday, February 28, 2013 5:18:20 PM
>Subject: Re:Re: [Users] build vdsm error at TestSuperVdsm
>
>
>
>hi, i think the error occurs when do unit test during compiling engine code.
>my env is centos6.3,engine code is latest from git-repo.
>
>
>
>
>
>
>
>
>At 2013-02-28 22:00:08,"Yaniv Bronheim" <ybronhei(a)redhat.com> wrote:
>>Hey,
>>Maybe you've got vdsm that already runs on your machine ? but it doesn't supposed to throw this exception anyway
>>/msg NickServ identify
>>What version of vdsm do you compile?? maybe the tests couldn't create the socket for the communication between supervdsm and vdsm..
>>its wrong that all the compilation fails that way.. ill check it. but did you try more than once to run it?
>>
>>
>>----- Original Message -----
>>From: "bigclouds" <bigclouds(a)163.com>
>>To: users(a)ovirt.org
>>Sent: Thursday, February 28, 2013 7:47:37 AM
>>Subject: [Users] build vdsm error at TestSuperVdsm
>>
>>
>>
>>
>>testThreadLeak OK
>>TestSuperVdsm
>>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
>>Traceback (most recent call last):
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
>>utils.ret ry(self._connect, Exception, timeout=60, tries=3)
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
>>return func()
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect
>>self._manager.connect()
>>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
>>conn = Client(self._address, authkey=self._authkey)
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
>>c = SocketClient(address)
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
>>s.connect(address)
>>File "<string>", line 1, in connect
>>error: [Errno 111] Connection refused
>>Killed
>>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm
>>
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)ovirt.org
>>http://lists.ovirt.org/mailman/listinfo/users
------=_Part_28990_2072646971.1362101178519
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br><div> i get it '<span style="white-space: pre-wrap; line-height: 1.7;">git clone </span><span>http://gerrit.ovirt.org/p/vdsm.git' this morning. and make it again. error remains.<br></span></div><div><span style="line-height: 1.7;">i fellow </span>http://www.ovirt.org/Vdsm_Developers step by step until(<span style="white-space: pre-wrap;">make rpm</span><span style="line-height: 1.7;">).but if add '</span><span style="white-space: pre-wrap; line-height: 1.7;">NOSE_EXCLUDE=.* </span><span style="line-height: 1.7;">' ,make can success</span></div><div>thanks.</div><div><br>error message:</div><div><div> testConnectWithoutCertificateFails OK</div><div> testSessionIsCached OK</div><div>SPM_MailMonitorTests</div><div> testThreadLeak OK</div><div>TestSuperVdsm</div><div> testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused</div><div>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused</div><div>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused</div><div>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm</div><div>Traceback (most recent call last):</div><div> File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch</div><div> utils.retry(self._connect, Exception, timeout=60, tries=3)</div><div> File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry</div><div> return func()</div><div> File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect</div><div> self._manager.connect()</div><div> File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect</div><div> conn = Client(self._address, authkey=self._authkey)</div><div> File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client</div><div> c = SocketClient(address)</div><div> File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient</div><div> s.connect(address)</div><div> File "<string>", line 1, in connect</div><div>error: [Errno 111] Connection refused</div><div>Killed</div><div>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm</div><div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2013-02-28 23:33:10,"Yaniv Bronheim" <<a href="mailto:ybronhei@redhat.com">ybronhei(a)redhat.com</a>> wrote:
>i dont think they're related at all
>
>run it without the tests:
>./autogen.sh --system && ./configure --enable-hooks && make rpm NOSE_EXCLUDE=.*
>
>tell me what you've got..
>what vdsm branch do you compile? master or ovirt-3.2?
>
>----- Original Message -----
>From: "bigclouds" <<a href="mailto:bigclouds@163.com">bigclouds(a)163.com</a>>
>To: "Yaniv Bronheim" <<a href="mailto:ybronhei@redhat.com">ybronhei(a)redhat.com</a>>
>Sent: Thursday, February 28, 2013 5:18:20 PM
>Subject: Re:Re: [Users] build vdsm error at TestSuperVdsm
>
>
>
>hi, i think the error occurs when do unit test during compiling engine code.
>my env is centos6.3,engine code is latest from git-repo.
>
>
>
>
>
>
>
>
>At 2013-02-28 22:00:08,"Yaniv Bronheim" <<a href="mailto:ybronhei@redhat.com">ybronhei(a)redhat.com</a>> wrote:
>>Hey,
>>Maybe you've got vdsm that already runs on your machine ? but it doesn't supposed to throw this exception anyway
>>/msg NickServ identify
>>What version of vdsm do you compile?? maybe the tests couldn't create the socket for the communication between supervdsm and vdsm..
>>its wrong that all the compilation fails that way.. ill check it. but did you try more than once to run it?
>>
>>
>>----- Original Message -----
>>From: "bigclouds" <<a href="mailto:bigclouds@163.com">bigclouds(a)163.com</a>>
>>To: <a href="mailto:users@ovirt.org">users(a)ovirt.org</a>
>>Sent: Thursday, February 28, 2013 7:47:37 AM
>>Subject: [Users] build vdsm error at TestSuperVdsm
>>
>>
>>
>>
>>testThreadLeak OK
>>TestSuperVdsm
>>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
>>Traceback (most recent call last):
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
>>utils.ret ry(self._connect, Exception, timeout=60, tries=3)
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
>>return func()
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect
>>self._manager.connect()
>>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
>>conn = Client(self._address, authkey=self._authkey)
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
>>c = SocketClient(address)
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
>>s.connect(address)
>>File "<string>", line 1, in connect
>>error: [Errno 111] Connection refused
>>Killed
>>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm
>>
>>
>>_______________________________________________
>>Users mailing list
>><a href="mailto:Users@ovirt.org">Users(a)ovirt.org</a>
>>http://lists.ovirt.org/mailman/listinfo/users
</pre></div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_28990_2072646971.1362101178519--
11 years, 9 months
[Users] 'mvn install' error
by bigclouds
------=_Part_30589_1847727401.1362101419355
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
hi:
os centos6.3, engine is pulled this moning from 'git clone git://gerrit.ovirt.org/ovirt-engine
'
i fellow 'http://www.ovirt.org/Building_oVirt_engine', it error when reach 'mvn clean install'.
error message:
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /mnt/ovirt-engine/backend/manager/dependencies/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/main/java
[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /mnt/ovirt-engine/backend/manager/dependencies/target/dependencies-3.3.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for: org.ovirt.engine:jboss-modules-maven-plugin:1.0-SNAPSHOT
Cause: Class 'java.util.List' cannot be instantiated
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Thu Feb 28 20:26:34 CST 2013
[INFO] Final Memory: 56M/135M
[INFO] ------------------------------------------------------------------------
[root@ovirtdev ovirt-engine]# mvn clean install
------=_Part_30589_1847727401.1362101419355
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi:</div><div>os centos6.3, engine is pulled this moning from '<span style="white-space: pre-wrap; line-height: 1.7;">git clone git://gerrit.ovirt.org/ovirt-engine</span></div><div>'</div><div>i fellow 'http://www.ovirt.org/Building_oVirt_engine', it error when reach 'mvn clean install'.</div><div><br></div><div><br></div><div>error message:</div><div><br></div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] [clean:clean {execution: default-clean}]</div><div>[INFO] Deleting directory /mnt/ovirt-engine/backend/manager/dependencies/target</div><div>[INFO] [resources:resources {execution: default-resources}]</div><div>[INFO] Using 'UTF-8' encoding to copy filtered resources.</div><div>[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/main/java</div><div>[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/main/resources</div><div>[INFO] [compiler:compile {execution: default-compile}]</div><div>[INFO] No sources to compile</div><div>[INFO] [resources:testResources {execution: default-testResources}]</div><div>[INFO] Using 'UTF-8' encoding to copy filtered resources.</div><div>[INFO] skip non existing resourceDirectory /mnt/ovirt-engine/backend/manager/dependencies/src/test/resources</div><div>[INFO] [compiler:testCompile {execution: default-testCompile}]</div><div>[INFO] No sources to compile</div><div>[INFO] [surefire:test {execution: default-test}]</div><div>[INFO] No tests to run.</div><div>[INFO] [jar:jar {execution: default-jar}]</div><div>[WARNING] JAR will be empty - no content was marked for inclusion!</div><div>[INFO] Building jar: /mnt/ovirt-engine/backend/manager/dependencies/target/dependencies-3.3.0-SNAPSHOT.jar</div><div>[INFO] ------------------------------------------------------------------------</div><div>[ERROR] BUILD ERROR</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Failed to configure plugin parameters for: org.ovirt.engine:jboss-modules-maven-plugin:1.0-SNAPSHOT</div><div><br></div><div><br></div><div><br></div><div>Cause: Class 'java.util.List' cannot be instantiated</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] For more information, run Maven with the -e switch</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 24 seconds</div><div>[INFO] Finished at: Thu Feb 28 20:26:34 CST 2013</div><div>[INFO] Final Memory: 56M/135M</div><div>[INFO] ------------------------------------------------------------------------</div><div>[root@ovirtdev ovirt-engine]# mvn clean install</div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_30589_1847727401.1362101419355--
11 years, 9 months
Re: [Users] build vdsm error at TestSuperVdsm
by bigclouds
------=_Part_477026_824530892.1362064758448
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
hi, i think the error occurs when do unit test during compiling engine code.
my env is centos6.3,engine code is latest from git-repo.
At 2013-02-28 22:00:08,"Yaniv Bronheim" <ybronhei(a)redhat.com> wrote:
>Hey,
>Maybe you've got vdsm that already runs on your machine ? but it doesn't supposed to throw this exception anyway
>
>What version of vdsm do you compile?? maybe the tests couldn't create the socket for the communication between supervdsm and vdsm..
>its wrong that all the compilation fails that way.. ill check it. but did you try more than once to run it?
>
>
>----- Original Message -----
>From: "bigclouds" <bigclouds(a)163.com>
>To: users(a)ovirt.org
>Sent: Thursday, February 28, 2013 7:47:37 AM
>Subject: [Users] build vdsm error at TestSuperVdsm
>
>
>
>
>testThreadLeak OK
>TestSuperVdsm
>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
>Traceback (most recent call last):
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
>utils.ret ry(self._connect, Exception, timeout=60, tries=3)
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
>return func()
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect
>self._manager.connect()
>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
>conn = Client(self._address, authkey=self._authkey)
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
>c = SocketClient(address)
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
>s.connect(address)
>File "<string>", line 1, in connect
>error: [Errno 111] Connection refused
>Killed
>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm
>
>
>_______________________________________________
>Users mailing list
>Users(a)ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
------=_Part_477026_824530892.1362064758448
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi, i think the error occurs when do unit test during compiling engine code.<div style="font-family: Helvetica, 'Microsoft Yahei', verdana;">my env is centos6.3,engine code is latest from git-repo.</div><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2013-02-28 22:00:08,"Yaniv Bronheim" <ybronhei(a)redhat.com> wrote:
>Hey,
>Maybe you've got vdsm that already runs on your machine ? but it doesn't supposed to throw this exception anyway
>
>What version of vdsm do you compile?? maybe the tests couldn't create the socket for the communication between supervdsm and vdsm..
>its wrong that all the compilation fails that way.. ill check it. but did you try more than once to run it?
>
>
>----- Original Message -----
>From: "bigclouds" <bigclouds(a)163.com>
>To: users@ovirt.org
>Sent: Thursday, February 28, 2013 7:47:37 AM
>Subject: [Users] build vdsm error at TestSuperVdsm
>
>
>
>
>testThreadLeak OK
>TestSuperVdsm
>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
>Traceback (most recent call last):
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
>utils.ret ry(self._connect, Exception, timeout=60, tries=3)
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
>return func()
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect
>self._manager.connect()
>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
>conn = Client(self._address, authkey=self._authkey)
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
>c = SocketClient(address)
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
>s.connect(address)
>File "<string>", line 1, in connect
>error: [Errno 111] Connection refused
>Killed
>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm
>
>
>_______________________________________________
>Users mailing list
>Users(a)ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_477026_824530892.1362064758448--
11 years, 9 months