[Engine-devel] 答复: Engine-devel Digest, Vol 20, Issue 39

2013-05-14 Thread wlbleaboy@126
Re: ovirt-engine-sdk with C (Jarod. w)
Yes, you understanded my idea, I want to use c to invoke ovirt
engine RestAPI directly,
I'll try it(libcurl), but is there any exist example in ovirt-engine
project. I just want to connect
to ovirt-engine and get vms info, console vm and do some action(start,
stop.).

thinks.

-邮件原件-
发件人: engine-devel-boun...@ovirt.org
[mailto:engine-devel-boun...@ovirt.org] 代表 engine-devel-requ...@ovirt.org
发送时间: 2013年5月14日 14:19
收件人: engine-devel@ovirt.org
主题: Engine-devel Digest, Vol 20, Issue 39

Send Engine-devel mailing list submissions to
engine-devel@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/engine-devel
or, via email, send a message with subject or body 'help' to
engine-devel-requ...@ovirt.org

You can reach the person managing the list at
engine-devel-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Engine-devel digest..."


Today's Topics:

   1. Re: ovirt-engine-sdk with C (Jarod. w)
   2. Re: [ANN] New development environment for ovirt-engine
  (Yair Zaslavsky)
   3. Re: [ANN] New development environment for ovirt-engine
  (Alon Bar-Lev)
   4. Re: [ANN] New development environment for ovirt-engine
  (Alon Bar-Lev)


--

Message: 1
Date: Tue, 14 May 2013 10:27:11 +0800
From: "Jarod. w" 
To: "leaboy@126" 
Cc: engine-devel@ovirt.org
Subject: Re: [Engine-devel] ovirt-engine-sdk with C
Message-ID:

Content-Type: text/plain; charset="utf-8"

2013/5/13 leaboy@126 

>  Hi?All
>
>  I felt oivrt-engine-sdk coded with Python is slowly to connect***
> *
>
> ovirt-engine and console vm when a user have many vms, So, I just
>
> want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk
>
> with C to connect overt-engine and console vm, would anyone give 
>
> me some suggestion.
>
Do you want to use c to invoke ovirt engine RestAPI, right?
If yes, you can use libcurl to do the thing, and it'll make you happy.



> 
>
> ** **
>
>  Now, the problem is how can I connect to ovit-engine with C, and*
> ***
>
> how can I get some information of vms, and how ovirrt-engine can 
>
> respond my action(start,stop, .eg)
>
Agree with Michael Pasternak.
You should parse your code into the mail list, or someone can't help
you.


> 
>
> ** **
>
>
> Leaboy@beijing
>
>  Thinks***
> *
>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
>


-- 
---
Best Regards
Jarod.W
-- next part --
An HTML attachment was scrubbed...
URL:


--

Message: 2
Date: Mon, 13 May 2013 22:39:19 -0400 (EDT)
From: Yair Zaslavsky 
To: Eli Mesika 
Cc: engine-devel , arch 
Subject: Re: [Engine-devel] [ANN] New development environment for
ovirt-engine
Message-ID: <975472192.855606.1368499159787.javamail.r...@redhat.com>
Content-Type: text/plain; charset=utf-8

Alon,
I have FC17, and followed the steps at the wiki , i defined the ovirt
nightly repo 

[ovirt-nightly]
name=ovirt-nightly
baseurl=http://resources.ovirt.org/releases/nightly/rpm/Fedora/17/
enabled=1
gpgcheck=0
priority=1
protect=1

And performed yum install according to your guidelines.
It fails to find python-m2crypto

Can you please advise on the matter?

Many thanks,
Yair



- Original Message -
> From: "Eli Mesika" 
> To: "Alon Bar-Lev" 
> Cc: "engine-devel" , "arch" 
> Sent: Tuesday, May 14, 2013 3:45:41 AM
> Subject: Re: [Engine-devel] [ANN] New development environment for
ovirt-engine
> 
> 
> 
> - Original Message -
> > From: "Alon Bar-Lev" 
> > To: "engine-devel" 
> > Cc: "arch" , "Sharad Mishra" ,
"Limor
> > Gavish" 
> > Sent: Sunday, May 12, 2013 2:52:51 PM
> > Subject: [Engine-devel] [ANN] New development environment for
ovirt-engine
> > 
> > Hello all ovirt-engine developers,
> > 
> > When I first joined the ovirt project, it took me about two weeks to
setup
> > a
> > development environment, I needed to work on a bug related to
host-deploy
> > so
> > I needed an environment that could use the ssh, PKI, vdsm-bootstrap and
> > communicate with vdsm using SSL, this was virtually impossible to do so
> > without tweaking the product in a way that it is so different from
> > production use, that I cannot guarantee that whatever tested in
development
> > will actually work in production.
> > 
> > I peeked at the installation script in a hope that I can create partial
> > environment similar to production, but I found that the packaging
> > implementatio

[Engine-devel] vm in pool can't be suspended

2013-05-16 Thread wlbleaboy@126
Hi all:

 When I create some vms in pool, the vm in pool can't be suspended,

I don't know is a bug, or it's don't support.

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about ovirt-shell

2013-05-21 Thread wlbleaboy@126
Hi all:

 When I connect to ovirt-engine use ovirt-shell like this: It's
failed, I don't know why.

The ovirt-engine is build and deployed by myself and base ovirt-engine 3.2

 

 But when I connect to the ovirt-engine use rmp installed,
ovirt-shell work well.

 

 

++

 

   Welcome to oVirt shell

 

 ++





[oVirt shell (disconnected)]# connect --url http://192.168.1.201 --user
admin@internal --password 11

 

 

error: [ERROR]::No response returned from server. If you're using HTTP
protocol

against a SSL secured server, then try using HTTPS instead.

 

 

[oVirt shell (disconnected)]#

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 答复: about ovirt-shell

2013-05-22 Thread wlbleaboy@126
I got the failed info like this

error: [ERROR]::oVirt API connection failure, [Errno 185090050] _ssl.c:340:
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

when I used ovirt-shell -l https://192.168.1.198:443/api -u admin@internal
-c -A ~/.spicec/ca.crt

-邮件原件-
发件人: Moti Asayag [mailto:masa...@redhat.com] 
发送时间: 2013年5月22日 15:36
收件人: wlbleaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] about ovirt-shell

On 05/22/2013 09:59 AM, wlbleaboy@126 wrote:
> Hi all:
> 
>  When I connect to ovirt-engine use ovirt-shell like this: It’s
> failed, I don’t know why.
> 
> The ovirt-engine is build and deployed by myself and base ovirt-engine 3.2
> 
>  
> 
>  But when I connect to the ovirt-engine use rmp installed,
> ovirt-shell work well.
> 
>  
> 
>  
> 
> ++
> 
>  
> 
>Welcome to oVirt shell
> 
>  
> 
>  ++
> 
>
> 
>
> 
> [oVirt shell (disconnected)]# connect --url http://192.168.1.201 --user
> admin@internal --password 11

The URL should be in a format of http://address:port/api

for example:

if running from the command line, you can connect to it via (verify your
host address and port):

ovirt-shell -l http://localhost:8080/api -u admin@internal -c

and provide the password when prompted to.

> 
>  
> 
>  
> 
> error: [ERROR]::No response returned from server. If you're using HTTP
> protocol
> 
> against a SSL secured server, then try using HTTPS instead.
> 
>  
> 
>  
> 
> [oVirt shell (disconnected)]#
> 
>  
> 
>  
> 
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 答复: 答复: about ovirt-shell

2013-05-22 Thread wlbleaboy@126
Hi, all:
I solved it.
The ovirtsdk I used is ovirt-engine-sdk 3.2.0.6, the ovirt-engine is 3.2,
Afternoon, I update ovirt-sdek-engine to 3.2.0.11, and when assign --ca-file
I use "/home/leaboy/.spicec/ca.crt" replace the " ~/.spicec/ca.crt"
And then, it work well.

-邮件原件-
发件人: Aravinda [mailto:avish...@redhat.com] 
发送时间: 2013年5月22日 17:41
收件人: wlbleaboy@126
抄送: 'Moti Asayag'; engine-devel@ovirt.org
主题: Re: [Engine-devel] 答复: about ovirt-shell

On 05/22/2013 01:21 PM, wlbleaboy@126 wrote:
> I got the failed info like this
>
> error: [ERROR]::oVirt API connection failure, [Errno 185090050]
_ssl.c:340:
> error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system
lib
>
> when I used ovirt-shell -l https://192.168.1.198:443/api -u admin@internal
> -c -A ~/.spicec/ca.crt
Try without -c
-c is to connect automatically using the credentials present in file
~/.ovirtshellrc


> -邮件原件-
> 发件人: Moti Asayag [mailto:masa...@redhat.com] 
> 发送时间: 2013年5月22日 15:36
> 收件人: wlbleaboy@126
> 抄送: engine-devel@ovirt.org
> 主题: Re: [Engine-devel] about ovirt-shell
>
> On 05/22/2013 09:59 AM, wlbleaboy@126 wrote:
>> Hi all:
>>
>>  When I connect to ovirt-engine use ovirt-shell like this: It’s
>> failed, I don’t know why.
>>
>> The ovirt-engine is build and deployed by myself and base ovirt-engine 3.
2
>>
>>  
>>
>>  But when I connect to the ovirt-engine use rmp installed,
>> ovirt-shell work well.
>>
>>  
>>
>>  
>>
>> ++
>>
>>  
>>
>>Welcome to oVirt shell
>>
>>  
>>
>>  ++
>>
>>
>>
>>
>>
>> [oVirt shell (disconnected)]# connect --url http://192.168.1.201 --user
>> admin@internal --password 11
> The URL should be in a format of http://address:port/api
>
> for example:
>
> if running from the command line, you can connect to it via (verify your
> host address and port):
>
> ovirt-shell -l http://localhost:8080/api -u admin@internal -c
>
> and provide the password when prompted to.
>
>>  
>>
>>  
>>
>> error: [ERROR]::No response returned from server. If you're using HTTP
>> protocol
>>
>> against a SSL secured server, then try using HTTPS instead.
>>
>>  
>>
>>  
>>
>> [oVirt shell (disconnected)]#
>>
>>  
>>
>>  
>>
>>
>>
>> ___
>> Engine-devel mailing list
>> Engine-devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel

--
Aravinda


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about user roles

2013-05-22 Thread wlbleaboy@126
Hi all:

 I have a question about user role.

Recently, I connect to ovirt-engine by ovirt-engine-sdk, use the
admin@internal 

login is ok, because admin have System Permissions. 

 

 But , when I have a domain named ovirt.test.com, and have a user
name leaboy

in ovirt.test.com, lea...@ovirt.test.com can't to login ovirt-engine. I
think maybe leaboy

don't have permissions to login ovirt-engine. So , I want to know how can I
do let leaboy

login ovirt-engine, or some exist roles can let leaboy login.

 

   Thanks. 

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 答复: about user roles

2013-05-22 Thread wlbleaboy@126
Thanks very much, it works well.

-邮件原件-
发件人: Itamar Heim [mailto:ih...@redhat.com] 
发送时间: 2013年5月22日 20:23
收件人: wlbleaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] about user roles

On 05/22/2013 02:38 PM, wlbleaboy@126 wrote:
> Hi all:
>
>   I have a question about user role.
>
> Recently, I connect to ovirt-engine by ovirt-engine-sdk, use the
> admin@internal
>
> login is ok, because admin have System Permissions.
>
>   But , when I have a domain named ovirt.test.com, and have a
> user name leaboy
>
> in ovirt.test.com, lea...@ovirt.test.com <mailto:lea...@ovirt.test.com>
> can’t to login ovirt-engine. I think maybe leaboy
>
> don’t have permissions to login ovirt-engine. So , I want to know how
> can I do let leaboy
>
> login ovirt-engine, or some exist roles can let leaboy login.
>
> Thanks.
>
>
>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>

you need to pass the “filter” HTTP header, with a value of “true".


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] which RESTful framework ovirt-engine used

2013-05-24 Thread wlbleaboy@126
Hi all:

 Recently , I'm studying ovirt-engine' REST API, I want to know
which framework of RESTful

ovirt-engine used. 

 For example, if I wanted to build a web server with RESTful API
like ovirt-engine, which framework

or technology I need.

 When I search "RESTful" as a keyword in some opensource website, I
get results like this:

SemREST  --  A Java Framework for the Semantic Extension of RESTful
Web Services

JAX-RS  --   

Kauri

Jersey

RESTEasy

 

and so on.

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about ticket

2013-05-28 Thread wlbleaboy@126
Hi all:

 When I connect to a vm via spicec or spicy, I need a ticket, so I
get a ticket from ovirt-engine via 

ovirt-engine-sdk, and it works well.

 But I don't know how long can a ticket to use? For example, when I
got a ticket, it's validated 

In many minutes, or several hours, or always. Or in some other condition, a
ticket will invalidate.

 If a ticket have a time limits, where and how could I change it,
let it always can validated.

 

 I guess the ticket come from ovirt-node, when I via
ovirt-engine-sdk get a ticket, sdk will get 

ovirt-engine a POST action, and then engine-core give VDSM a command, VDSM
get it from ovirt-node

and return it to ovirt-engine. ovirt-engine-sdk use GET action to get it.

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about IntelliJ

2013-05-29 Thread wlbleaboy@126
Hi, all:

 Is there anyone used Intellij to build and deploy ovirt-engine

http://www.ovirt.org/Building_Ovirt_Engine/IDE#IntelliJ is not explicit,

 

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 答复: ovirt-engine-sdk with C

2013-06-04 Thread wlbleaboy@126
Hi, Jarod. W:

Yes, I just want to use c to invoke ovirt engine RestAPI,

Just get vm’s id, host, port, secur-port, and ticket,

How can I use libcurl to connect https, could give me

a simple demo to connect https://{ovirt-engine}/api 
  with 

--cafile, the ca.crt I get from http://{ovirt-engine}/ca.crt 
 

 

 

发件人: Jarod. w [mailto:work.iec23...@gmail.com] 
发送时间: 2013年5月14日 10:27
收件人: leaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] ovirt-engine-sdk with C

 

2013/5/13 leaboy@126 

Hi,All

 I felt oivrt-engine-sdk coded with Python is slowly to connect

ovirt-engine and console vm when a user have many vms, So, I just

want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk

with C to connect overt-engine and console vm, would anyone give 

me some suggestion.

Do you want to use c to invoke ovirt engine RestAPI, right?

If yes, you can use libcurl to do the thing, and it'll make you happy.

 

 

 Now, the problem is how can I connect to ovit-engine with C, and

how can I get some information of vms, and how ovirrt-engine can 

respond my action(start,stop, .eg)

Agree with Michael Pasternak.

You should parse your code into the mail list, or someone can't help

you.

 

 


Leaboy@beijing

 Thinks


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




-- 
---
Best Regards
Jarod.W

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 答复: ovirt-engine-sdk with C

2013-06-04 Thread wlbleaboy@126
Hi Jarod.w :
Thanks very much, I'll try the codes.

And another thing about ovirt documents, I got a PDF doc from
http://www.ovirt.org/File:OVirt-API-CLI-SDK-2002.pdf , I want to
know is there any other documents about ovirt-engine VMSM ovirt-node
in website like  http://www.ovirt.org/File*** , sometimes , there con't
fint a link from ovirt.org webpage.

-邮件原件-
发件人: David Jaša [mailto:dj...@redhat.com] 
发送时间: 2013年6月4日 16:22
收件人: leaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] ovirt-engine-sdk with C

Hi,

I'm not sure if it is applicable to your case, but there is incomplete
C/GObject implementation of oVirt SDK available here:
http://cgit.freedesktop.org/~teuf/govirt/
As far as I know, it's currently focused just on getting connection
details for VMs but I guess that more complete support for whole oVirt
API is just a matter of development...

David


leaboy@126 píše v Po 13. 05. 2013 v 18:17 +0800:
> Hi,All
> 
>  I felt oivrt-engine-sdk coded with Python is slowly to connect
> 
> ovirt-engine and console vm when a user have many vms, So, I just
> 
> want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk
> 
> with C to connect overt-engine and console vm, would anyone give 
> 
> me some suggestion.
> 
>  
> 
>  Now, the problem is how can I connect to ovit-engine with C, and
> 
> how can I get some information of vms, and how ovirrt-engine can 
> 
> respond my action(start,stop, .eg)
> 
>  
> 
> 
> Leaboy@beijing
> 
>  Thinks
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24




___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about govirt

2013-06-04 Thread wlbleaboy@126
Hi, cfergeau:

 Recently, I do something about ovirt-engine-sdk, I just want to 

console a vm via sdk, but I found the sdk implemented by python is

so slowly, so I want to build a simple sdk use C to do that,

 

 before I do it, I found the code govirt you worte, I felt luckly,
you 

had do that. So I got the code, but when I build it on ubuntu, it's failed

I used autogen.sh , but got the error message

like:

 configure: error: Package requirements (rest-0.7 >= 0.7.13) were
not met:

 

No package 'rest-0.7' found

 

 Because I didn't familiar with autogen and configure, such gnu
build tools,

 

 

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-04 Thread wlbleaboy@126
Hi, Jarod. W:

 I got your demo, and a build libcurl, but I can’t get any info

from https://{ovirt-engine }/api .

my code like this:

int main(void)

{

CURL *curl;

CURLcode res;

curl = curl_easy_init();

 

if (curl)

{

printf("enter\n");

curl_easy_setopt(curl, CURLOPT_URL, "https://192.168.1.201/api";);

curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, callback_func);

curl_easy_setopt(curl, CURLOPT_USERPWD, "admin@internal:11");

curl_easy_setopt(curl, CURLOPT_CAINFO,"/tmp/ca.crt");

curl_easy_perform(curl);

printf("exit.\n");

 

curl_easy_cleanup(curl);

}

 

return 0;

}

 

And when I run it, just outpu :

enter

exit.

 

I got the libcurl from http://curl.haxx.se/download.html 
<http://curl.haxx.se/download.html%20and%20chosed%20curl-7.30.0.tar.gz>  and 
chosed curl-7.30.0.tar.gz

and I use make and make install without any other options . I just guess maybe 
it need

other SSL library supported, but I don’t know how and which .

 

发件人: Jarod. w [mailto:work.iec23...@gmail.com] 
发送时间: 2013年6月4日 18:14
收件人: wlbleaboy@126
抄送: engine-devel@ovirt.org
主题: Re: 答复: [Engine-devel] ovirt-engine-sdk with C

 

2013/6/4 wlbleaboy@126 

Hi, Jarod. W:

Yes, I just want to use c to invoke ovirt engine RestAPI,

Just get vm’s id, host, port, secur-port, and ticket,

How can I use libcurl to connect https, could give me

a simple demo to connect https://{ovirt-engine}/api 
<https://%7bovirt-engine%7d/api>  with 

--cafile, the ca.crt I get from http://{ovirt-engine}/ca.crt 
<http://%7bovirt-engine%7d/ca.crt> 

Please download the demo from the above url:
https://github.com/jarod-w/hglibraries/blob/master/demo/restapi.c
 

 

 

发件人: Jarod. w [mailto:work.iec23...@gmail.com] 
发送时间: 2013年5月14日 10:27
收件人: leaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] ovirt-engine-sdk with C

 

2013/5/13 leaboy@126 

Hi,All

 I felt oivrt-engine-sdk coded with Python is slowly to connect

ovirt-engine and console vm when a user have many vms, So, I just

want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk

with C to connect overt-engine and console vm, would anyone give 

me some suggestion.

Do you want to use c to invoke ovirt engine RestAPI, right?

If yes, you can use libcurl to do the thing, and it'll make you happy.

 

 

 Now, the problem is how can I connect to ovit-engine with C, and

how can I get some information of vms, and how ovirrt-engine can 

respond my action(start,stop, .eg)

Agree with Michael Pasternak.

You should parse your code into the mail list, or someone can't help

you.

 

 


Leaboy@beijing

 Thinks


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




-- 
---
Best Regards
Jarod.W




-- 
---
Best Regards
Jarod.W

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] about govirt

2013-06-04 Thread wlbleaboy@126
Hi, Itamar Heim:
I used ovirit-engine-sdk-python to connect ovirt-engine and get vms
It's about 20 seconds, so I felt it's slow.

I have build govirt success, but how can I use it, I give
REST_URI="https://192.168.1.201/api";,
and proxy = ovirt_proxy_new(REST_URI) always return NULL;

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Wednesday, June 05, 2013 5:29 AM
To: wlbleaboy@126
Cc: cferg...@redhat.com; engine-devel@ovirt.org; Michael Pasternak
Subject: Re: [Engine-devel] about govirt

On 06/04/2013 01:23 PM, wlbleaboy@126 wrote:
> Hi, cfergeau:
>
>   Recently, I do something about ovirt-engine-sdk, I just want to
>
> console a vm via sdk, but I found the sdk implemented by python is
>
> so slowly, so I want to build a simple sdk use C to do that,

Can you please share more info on what do you mean by "slow"?

Thanks,
Itamar

>
>   before I do it, I found the code govirt you worte, I felt
> luckly, you
>
> had do that. So I got the code, but when I build it on ubuntu, it's failed
>
> I used autogen.sh , but got the error message
>
> like:
>
>   configure: error: Package requirements (rest-0.7 >= 0.7.13)
> were not met:
>
> No package 'rest-0.7' found
>
>   Because I didn't familiar with autogen and configure, such gnu
> build tools,
>
>
>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] about govirt

2013-06-05 Thread wlbleaboy@126
En, yes, and choice a better one.

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Wednesday, June 05, 2013 2:58 PM
To: wlbleaboy@126
Cc: cferg...@redhat.com; engine-devel@ovirt.org; 'Michael Pasternak'
Subject: Re: [Engine-devel] about govirt

On 06/05/2013 09:43 AM, wlbleaboy@126 wrote:
> Hi, Itamar Heim:
>   I used ovirit-engine-sdk-python to connect ovirt-engine and get vms
> It's about 20 seconds, so I felt it's slow.

and just to compare, how much time does a curl/wget takes you?

>
>   I have build govirt success, but how can I use it, I give
> REST_URI="https://192.168.1.201/api";,
> and proxy = ovirt_proxy_new(REST_URI) always return NULL;
>
> -Original Message-
> From: Itamar Heim [mailto:ih...@redhat.com]
> Sent: Wednesday, June 05, 2013 5:29 AM
> To: wlbleaboy@126
> Cc: cferg...@redhat.com; engine-devel@ovirt.org; Michael Pasternak
> Subject: Re: [Engine-devel] about govirt
>
> On 06/04/2013 01:23 PM, wlbleaboy@126 wrote:
>> Hi, cfergeau:
>>
>>Recently, I do something about ovirt-engine-sdk, I just want
to
>>
>> console a vm via sdk, but I found the sdk implemented by python is
>>
>> so slowly, so I want to build a simple sdk use C to do that,
>
> Can you please share more info on what do you mean by "slow"?
>
> Thanks,
>  Itamar
>
>>
>>before I do it, I found the code govirt you worte, I felt
>> luckly, you
>>
>> had do that. So I got the code, but when I build it on ubuntu, it's
failed
>>
>> I used autogen.sh , but got the error message
>>
>> like:
>>
>>configure: error: Package requirements (rest-0.7 >= 0.7.13)
>> were not met:
>>
>> No package 'rest-0.7' found
>>
>>Because I didn't familiar with autogen and configure, such gnu
>> build tools,
>>
>>
>>
>> ___
>> Engine-devel mailing list
>> Engine-devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
>
>


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] about govirt

2013-06-05 Thread wlbleaboy@126
I build a local sdk base on ovirt-engine-sdk-python, I do that like this:

First, I created a python file naked wrap.py, in wrap.py I have 
a class naked CWrap , CWrap have some interface for get vm's information
and connect to ovirt-enginelike:
login(), getVmName(), getVmId(), getVmPort(), getVmTicket() etc.

second, I created a C file named engine-sdk.c, in this file I also implement

some interface like getVmName() etc. but in this file, all the function is 
call python module like 
PyObject *pyVmId;
char *vmId;

pyVmId = PyObject_CallMethod(pInstant, "getVmId", "(i)", vmIndex);

if(pyVmId == NULL)
{
DBG("ERROR:Call py Method getVmDisplayType is failed!\n");
return NULL;
}

vmId = PyString_AsString(pyVmId);

so, the local sdk is used for a client(C/S ) implemented by gtk.

Every time, when I use my client login and get vms's information, it's about
10~20 seconds.

-Original Message-
From: Michael Pasternak [mailto:mpast...@redhat.com] 
Sent: Wednesday, June 05, 2013 3:14 PM
To: wlbleaboy@126
Cc: 'Itamar Heim'; cferg...@redhat.com; engine-devel@ovirt.org
Subject: Re: [Engine-devel] about govirt

On 06/05/2013 09:43 AM, wlbleaboy@126 wrote:
> Hi, Itamar Heim:
>   I used ovirit-engine-sdk-python to connect ovirt-engine and get vms
> It's about 20 seconds, so I felt it's slow.

20 seconds? How much VMs did you fetched?, How do you measure the time?, can
i see your code?

> 
>   I have build govirt success, but how can I use it, I give
> REST_URI="https://192.168.1.201/api";,
> and proxy = ovirt_proxy_new(REST_URI) always return NULL;
> 
> -Original Message-
> From: Itamar Heim [mailto:ih...@redhat.com] 
> Sent: Wednesday, June 05, 2013 5:29 AM
> To: wlbleaboy@126
> Cc: cferg...@redhat.com; engine-devel@ovirt.org; Michael Pasternak
> Subject: Re: [Engine-devel] about govirt
> 
> On 06/04/2013 01:23 PM, wlbleaboy@126 wrote:
>> Hi, cfergeau:
>>
>>   Recently, I do something about ovirt-engine-sdk, I just want to
>>
>> console a vm via sdk, but I found the sdk implemented by python is
>>
>> so slowly, so I want to build a simple sdk use C to do that,
> 
> Can you please share more info on what do you mean by "slow"?
> 
> Thanks,
> Itamar
> 
>>
>>   before I do it, I found the code govirt you worte, I felt
>> luckly, you
>>
>> had do that. So I got the code, but when I build it on ubuntu, it's
failed
>>
>> I used autogen.sh , but got the error message
>>
>> like:
>>
>>   configure: error: Package requirements (rest-0.7 >= 0.7.13)
>> were not met:
>>
>> No package 'rest-0.7' found
>>
>>   Because I didn't familiar with autogen and configure, such gnu
>> build tools,
>>
>>
>>
>> ___
>> Engine-devel mailing list
>> Engine-devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
> 
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-07 Thread wlbleaboy@126
Hi, Jarod.W:

 Thanks for your demo, but I think you miss two fucntinos like this:

 

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);

 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);

 

the following new demo code on my ubuntu is work well:

#include 

#include 

 

int main(void)

{

CURL *curl;

CURLcode res;

 

curl_global_init(CURL_GLOBAL_DEFAULT);

 

curl = curl_easy_init();

if(curl)

{

curl_easy_setopt(curl, CURLOPT_URL, "https://192.168.1.201/api/";);

curl_easy_setopt(curl, CURLOPT_USERPWD, "admin@internal:11");

curl_easy_setopt(curl, CURLOPT_CAINFO,"/tmp/ca.crt");

 

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);

 

res = curl_easy_perform(curl);

 

if(res != CURLE_OK)

fprintf(stderr, "curl_easy_perform() failed: %s\n",

curl_easy_strerror(res));

 

curl_easy_cleanup(curl);

}

 

curl_global_cleanup();

 

return 0;

}

 

when I add this two functions , it works well for admin@internal

but can’t work for user portal, I check the information sent by 

admin@internal and user portal, the only difference is Filter,

admin@internal is Filter:False, the user portal is Filter:True.

 

How can I use curl_easy_setopt to set Filter .

 

Thanks

   Leaboy

 

From: Jarod. w [mailto:work.iec23...@gmail.com] 
Sent: Wednesday, June 05, 2013 11:35 AM
To: wlbleaboy@126
Cc: engine-devel@ovirt.org
Subject: Re: Re: [Engine-devel] ovirt-engine-sdk with C

 

2013/6/5 wlbleaboy@126 

Hi, Jarod. W:

 I got your demo, and a build libcurl, but I can’t get any info

from https://{ovirt-engine }/api .

my code like this:

Please try to run the below command:
--
curl https://YOURIP/api -u YOURNAME:YOURPASSWD --cacert /root/ca.crt
--

After, please parse the result.

ps, I run the program on centos 6.4, and it works.

thanks.
 

int main(void)

{

CURL *curl;

CURLcode res;

curl = curl_easy_init();

 

if (curl)

{

printf("enter\n");

curl_easy_setopt(curl, CURLOPT_URL, "https://192.168.1.201/api";);

curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, callback_func);

curl_easy_setopt(curl, CURLOPT_USERPWD, "admin@internal:11");

curl_easy_setopt(curl, CURLOPT_CAINFO,"/tmp/ca.crt");

curl_easy_perform(curl);

printf("exit.\n");

 

curl_easy_cleanup(curl);

}

 

return 0;

}

 

And when I run it, just outpu :

enter

exit.

 

I got the libcurl from http://curl.haxx.se/download.html and chosed 
curl-7.30.0.tar.gz 
<http://curl.haxx.se/download.html%20and%20chosed%20curl-7.30.0.tar.gz> 

and I use make and make install without any other options . I just guess maybe 
it need

other SSL library supported, but I don’t know how and which .

 

发件人: Jarod. w [mailto:work.iec23...@gmail.com] 

发送时间: 2013年6月4日 18:14
收件人: wlbleaboy@126
抄送: engine-devel@ovirt.org
主题: Re: 答复: [Engine-devel] ovirt-engine-sdk with C

 

2013/6/4 wlbleaboy@126 

Hi, Jarod. W:

Yes, I just want to use c to invoke ovirt engine RestAPI,

Just get vm’s id, host, port, secur-port, and ticket,

How can I use libcurl to connect https, could give me

a simple demo to connect https://{ovirt-engine}/api 
<https://%7bovirt-engine%7d/api>  with 

--cafile, the ca.crt I get from http://{ovirt-engine}/ca.crt 
<http://%7bovirt-engine%7d/ca.crt> 

Please download the demo from the above url:
https://github.com/jarod-w/hglibraries/blob/master/demo/restapi.c
 

 

 

发件人: Jarod. w [mailto:work.iec23...@gmail.com] 
发送时间: 2013年5月14日 10:27
收件人: leaboy@126
抄送: engine-devel@ovirt.org
主题: Re: [Engine-devel] ovirt-engine-sdk with C

 

2013/5/13 leaboy@126 

Hi,All

 I felt oivrt-engine-sdk coded with Python is slowly to connect

ovirt-engine and console vm when a user have many vms, So, I just

want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk

with C to connect overt-engine and console vm, would anyone give 

me some suggestion.

Do you want to use c to invoke ovirt engine RestAPI, right?

If yes, you can use libcurl to do the thing, and it'll make you happy.

 

 

 Now, the problem is how can I connect to ovit-engine with C, and

how can I get some information of vms, and how ovirrt-engine can 

respond my action(start,stop, .eg)

Agree with Michael Pasternak.

You should parse your code into the mail list, or someone can't help

you.

 

 


Leaboy@beijing

 Thinks


___
Engine-devel mailing list
Engine-

[Engine-devel] about session_timeout in API

2013-06-08 Thread wlbleaboy@126
Hi, all:

 What's meaning of session_timeout in ovirt-engine-sdk-python API,

 

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] about session_timeout in API

2013-06-09 Thread wlbleaboy@126
Yes, I saw that you assigned, because I'm not familiar with python, so ,
I want to know that's It's specific meaning, what's the meaning of that 
argument used for API.__init__()

-Original Message-
From: Michael Pasternak [mailto:mpast...@redhat.com] 
Sent: Sunday, June 09, 2013 3:06 PM
To: wlbleaboy@126
Cc: engine-devel@ovirt.org
Subject: Re: [Engine-devel] about session_timeout in API

On 06/08/2013 10:34 AM, wlbleaboy@126 wrote:
> Hi, all:
> 
>  What's meaning of session_timeout in ovirt-engine-sdk-python API,

[@param session_timeout: authentication session timeout (if persistent_auth
is enabled)]

p.s you can find this in __doc__ under API.__init__

> 
>  
> 
>  
> 
>  
> 
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] ovirt-engine-sdk

2013-06-24 Thread wlbleaboy@126
Hi, all:

 I found when I connect to ovirt-engine via ovirt-engine-sdk is
slowly

than connect to engine via UserPortal, could anyone explain the reason. 

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] ovirt-engine-sdk

2013-06-24 Thread wlbleaboy@126
"connect to ovirt-engine via ovirt-engine-sdk" is using sdk like this:

Api = API('https://{ovirt-engine}', 'user@domain', 'password',  None, None,
'ca.crt', filter=True)

this function running more than 10 seconds.

And Userportal is faster than it.

-Original Message-
From: Michael Pasternak [mailto:mpast...@redhat.com] 
Sent: Monday, June 24, 2013 9:42 PM
To: wlbleaboy@126
Cc: engine-devel@ovirt.org
Subject: Re: [Engine-devel] ovirt-engine-sdk

On 06/24/2013 12:34 PM, wlbleaboy@126 wrote:
> Hi, all:
> 
>  I found when I connect to ovirt-engine via ovirt-engine-sdk is
slowly
> 
> than connect to engine via UserPortal, could anyone explain the reason.

- what do you mean by saying "connect to ovirt-engine via ovirt-engine-sdk"?
- you comparing two different things, sdk != userportal

> 
>  
> 
>  
> 
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] about vm in vmpool

2013-07-07 Thread wlbleaboy@126
Hi, all:

 I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm's
infomations like

vm's name, vm's id, vm'ticket etc.

 

 but recently, I have a question about vm in vmpool, how could I get
vm's information

that the vm in vmpool. Especially, when a vm is at stop statuss.

 

 For example, when use UserPortal in the web-browser, no matter the
vm is in the vmpool,

it can be showed in the web-browser, but, I can't get vm' s information
which in the vmpool via

the ovirt-sdk.

 

 
Leaboy

 
thanks

 

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] about vm in vmpool

2013-07-14 Thread wlbleaboy@126
Hi, 
How can I 'mocking' the appearance of ovirt-engine-sdk,
or, could you show me how user portal 'mocking' the appearance.
I'm not familiar with java, so It's hardly for me to read user portal's
java code.

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Monday, July 08, 2013 6:25 PM
To: wlbleaboy@126
Cc: engine-devel@ovirt.org; Michal Skrivanek; Einav Cohen
Subject: Re: [Engine-devel] about vm in vmpool

On 07/08/2013 09:04 AM, wlbleaboy@126 wrote:
> Hi, all:
>
>   I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm’s
> infomations like
>
> vm’s name, vm’s id, vm’ticket etc.
>
>   but recently, I have a question about vm in vmpool, how could
> I get vm’s information
>
> that the vm in vmpool. Especially, when a vm is at stop statuss.
>
>   For example, when use UserPortal in the web-browser, no matter
> the vm is in the vmpool,
>
> it can be showed in the web-browser, but, I can’t get vm’ s information
> which in the vmpool via
>
> the ovirt-sdk.
>
>   
>   Leaboy
>
>   
>thanks
>
>
>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>

I'm pretty sure the user portal is 'mocking' the appearance of the VM, 
based on user having permission to the pool.


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] get certificate with SDK

2013-07-25 Thread wlbleaboy@126
Hi, all:

 I can got all the VM’s information in
https://{ovirt-engine}/api/vms/{id}
 , and I can 

get mostly VM’s informations via ovirt-engine-sdk, but I can’t got
 via SDK.

 

 This is a part of XML in https://{ovirt-engine}/api/vms/{id}
  

 

spice

192.168.1.241

5914

5915

1

false



O=thtfc.com,CN=allinone241.thtfc.com



false



 

For example, I can port like

 vm.get_display().get_port()

 

but when I want CN, I tyied use

 vm.get_display().get_certificate().get_subject()

it return

 

>>> vm.get_display().get_certificate().get_subject()

Traceback (most recent call last):

  File "", line 1, in 

AttributeError: 'NoneType' object has no attribute 'get_subject'

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Fwd: get certificate with SDK

2013-07-28 Thread wlbleaboy@126
Thanks for Itamar Heim:
Could I take part in it?

-Original Message-
From: Michael Pasternak [mailto:mpast...@redhat.com] 
Sent: Saturday, July 27, 2013 4:43 PM
To: leaboy@126; engine-devel
Cc: Itamar Heim
Subject: Re: Fwd: [Engine-devel] get certificate with SDK


Hi,

By default not all data returned in the object as some may be retrieved
only via dedicated query that may consume a lot of resources, therefore
we've added new concept called All-Content, in the native api you can pass
All-Content:True http header to see entire object, ovirt-engine-sdk-python
lacks of this capability (for vm specifically) due to a bug in api, this
will
be addressed in the one of upcoming releases.

thanks for reporting.

> 
> 
> Hi, all:
> 
>  I can got all the VM’s information in
https://{ovirt-engine}/api/vms/{id}
, and I can
> 
> get mostly VM’s informations via ovirt-engine-sdk, but I can’t got
 via SDK.
> 
>  
> 
>  This is a part of XML in https://{ovirt-engine}/api/vms/{id}

> 
>  
> 
> spice
> 
> 192.168.1.241
> 
> 5914
> 
> 5915
> 
> 1
> 
> false
> 
> **
> 
> *O=thtfc.com,CN=allinone241.thtfc.com*
> 
> **
> 
> false
> 
> 
> 
>  
> 
> For example, I can port like
> 
>  vm.get_display().get_port()
> 
>  
> 
> but when I want CN, I tyied use
> 
>  vm.get_display().get_certificate().get_subject()
> 
> it return
> 
>  
> 
 vm.get_display().get_certificate().get_subject()
> 
> Traceback (most recent call last):
> 
>   File "", line 1, in 
> 
> AttributeError: 'NoneType' object has no attribute 'get_subject'
> 
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] ovirt3.3,all in one, network configuration

2013-09-16 Thread wlbleaboy@126
Hi, Alon:

 Could I set the DNS with all-in-one in the same Centos?

 

From: Liran Zelkha [mailto:liran.zel...@gmail.com] 
Sent: Monday, September 16, 2013 2:25 PM
To: Alon Bar-Lev
Cc: leaboy wang; engine-devel
Subject: Re: [Engine-devel] ovirt3.3,all in one, network configuration

 

See here for more info http://www.ovirt.org/Troubleshooting#Installation

 

On Mon, Sep 16, 2013 at 8:22 AM, Alon Bar-Lev  wrote:



- Original Message -
> From: "leaboy wang" 
> To: engine-devel@ovirt.org
> Sent: Monday, September 16, 2013 5:45:39 AM
> Subject: [Engine-devel] ovirt3.3,all in one, network configuration
>
> Hi,all:
> I got ovirt3.3 from
> yum localinstall
> http://resources.ovirt.org/releases/ovirt-release-el6-8-1.noarch.rpm -y
> yum localinstall
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
�Cy
> And when I run engine-setup in NETWORK CONFIGURATION step, I got this
error:
>
> [ ERROR ] Host name is not valid: The following addresses: 192.168.1.207
did
> not reverseresolve into leaboy.test.com
> Host fully qualified DNS name of this server [leaboy.test.com]:
>
> Is anyone got this error, and how could I resolve it.

In case of all-in-one you should have proper reverse dns setup into the host
name.

Alon
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel

 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] ovirt3.3,all in one, network configuration

2013-09-16 Thread wlbleaboy@126
Is there any explicit instruction for install all-in-one step-by-step,
I just don't know how to install a DNS and LDAP server in local,with 
All-in-one.

Thanks.^_^

-Original Message-
From: abar...@redhat.com [mailto:abar...@redhat.com] On Behalf Of Alon Bar-Lev
Sent: Monday, September 16, 2013 3:10 PM
To: wlbleaboy@126
Cc: Liran Zelkha; engine-devel
Subject: Re: [Engine-devel] ovirt3.3,all in one, network configuration



- Original Message -
> From: "wlbleaboy@126" 
> To: "Liran Zelkha" , "Alon Bar-Lev" 
> 
> Cc: "engine-devel" 
> Sent: Monday, September 16, 2013 10:07:53 AM
> Subject: RE: [Engine-devel] ovirt3.3,all in one, network configuration
> 
> Hi, Alon:
> 
>  Could I set the DNS with all-in-one in the same Centos?

if set == install, then yes.

>  
> 
> From: Liran Zelkha [mailto:liran.zel...@gmail.com]
> Sent: Monday, September 16, 2013 2:25 PM
> To: Alon Bar-Lev
> Cc: leaboy wang; engine-devel
> Subject: Re: [Engine-devel] ovirt3.3,all in one, network configuration
> 
>  
> 
> See here for more info http://www.ovirt.org/Troubleshooting#Installation
> 
>  
> 
> On Mon, Sep 16, 2013 at 8:22 AM, Alon Bar-Lev  wrote:
> 
> 
> 
> - Original Message -
> > From: "leaboy wang" 
> > To: engine-devel@ovirt.org
> > Sent: Monday, September 16, 2013 5:45:39 AM
> > Subject: [Engine-devel] ovirt3.3,all in one, network configuration
> >
> > Hi,all:
> > I got ovirt3.3 from
> > yum localinstall
> > http://resources.ovirt.org/releases/ovirt-release-el6-8-1.noarch.rpm -y
> > yum localinstall
> > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> –y
> > And when I run engine-setup in NETWORK CONFIGURATION step, I got this
> error:
> >
> > [ ERROR ] Host name is not valid: The following addresses: 192.168.1.207
> did
> > not reverseresolve into leaboy.test.com
> > Host fully qualified DNS name of this server [leaboy.test.com]:
> >
> > Is anyone got this error, and how could I resolve it.
> 
> In case of all-in-one you should have proper reverse dns setup into the host
> name.
> 
> Alon
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
>  
> 
> 


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel