Re: [ovirt-users] Problem to login virtengine on remote browser

2017-11-09 Thread Stephen Liu
 > What do you mean by that? What error message do you get?
> Can you ssh from the engine machine to this address manually?
> If not, first solve this, then try again to add it.
> Perhaps it's the firewall blocking or something like that.

Status - Install Failed
Nov 9, 2017 7:01:44 PM
Host ovirtnode.example.com installation failed. Command returned failure code 1 
during SSH session 'root@192.168.8.5'.

Nov 9, 2017 7:01:43 PM
Failed to install Host ovirtnode.example.com. Failed to execute stage 'Setup 
validation': Hardware does not support virtualization.

Nov 9, 2017 7:01:43 PM
Host ovirtnode.example.com installation in progress . Machine does not support 
constant timestamp counter, this may effect performance.


On Host Terminal:
$ ssh root@192.168.8.5 (ovirt node IP)
The authenticity of host '192.168.8.5 (192.168.8.5)' can't be established.
ECDSA key fingerprint is SHA256:J2gMI1fvZj5dNC36YClUjAGHQrnszQ23y46xjNcJnYw.
Are you sure you want to continue connecting (yes/no)? 

Whether I have to proceed here first, connecting "ovirt note"?

$ egrep -c '(vmx|svm)' /proc/cpuinfo
8

$ uname -m
x86_64
$ kvm-ok
INFO: /dev/kvm existsKVM acceleration can be used

RegardsSL





On Thursday, November 9, 2017, 11:18:06 PM GMT+8, Yedidyah Bar David 
<d...@redhat.com> wrote:  
 
 On Thu, Nov 9, 2017 at 5:03 PM, Stephen Liu <sati...@yahoo.com> wrote:
>>> if running;
>>> 192.168.8.8 (IP of vm1)
>>> I can connect 'oVirt Open Virtualization Manager' but I can't login with
>>> following warning:
>>>'The client is not authorized to request an authorization. It's required
>>> to
>>>access the system using FQDN.'
>
>> Indeed, see the other thread.
>
>> If this isn't enough, please provide more details - the name you provided
>> as engine FQDN during engine-setup, whether you fixed name resolution -
>> by updating the dns or the hosts file, etc.
>
> Hi,
>
> I solved the problem with following steps:-
>
> # nano /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf
>
> Change:
> SSO_ALTERNATE_ENGINE_FQDNS=""
> To:
> SSO_ALTERNATE_ENGINE_FQDNS="192.168.8.8" (ovirtengine IP)
>
> # systemctl restart ovirt-engine.service
>
> Now I can remote login ovirtengine on Host's browser running:
> http://ovirtengine.example.com
>
> On ovirtengine
> $ cat /etc/hosts
> 127.0.0.1  localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1        localhost localhost.localdomain localhost6
> localhost6.localdomain6
>
> 192.168.8.8  ovirtengine.example.com
> 192.168.8.5  ovirtnode.example.com
> [/end]
>
> Now I encounter another problem in "Add oVirt Node (ovirtnode.example) to
> ovirt engine from Web Administrator Portal", failure to add new host "ovirt
> node".
>
> To connect/login "ovirt node" on Host I must run;
> 192.168.8.5:9090
>
> Adding 192.168.8.5 to the new host, "ovirt node" can't be connected.

What do you mean by that? What error message do you get?
Can you ssh from the engine machine to this address manually?
If not, first solve this, then try again to add it.
Perhaps it's the firewall blocking or something like that.

>  But
> I'm not allowed adding "192.168.8.5:9090" to Address there.
>
> Please advise is there any solution to delete ":9090"?
>
> Thanks
>
> Regards
> SL
>
>
> On Thursday, November 9, 2017, 8:34:30 PM GMT+8, Yedidyah Bar David
> <d...@redhat.com> wrote:
>
>
> On Thu, Nov 9, 2017 at 1:57 PM, Stephen Liu <sati...@yahoo.com> wrote:
>> Hi all,
>>
>> Problem to login virtengine on remote browser
>> client is not authorized to request an authorization
>
> Please check recent thread on this list, with subject "[ovirt-users]
> engine FQDN".
>
>>
>> vm1 - ovirtengine on CentOS 7, Gnome desktop (internal IP 192.168.8.8)
>> vm2 - ovirt node on CentOS 7, minimal (internal IP 192.168.8.5)
>> Host - Ubuntu 16.04 Gnome desktop
>> KVM
>>
>> vm1
>> ===
>> on Firefox running;
>> ovirtengine.example.com
>> I can login 'oVirt Open Virtualization Manager'
>>
>> on Firefox running;
>> 192.168.8.5:9090 (ovirt node IP)
>> I can login ovirt node as root
>>
>> Host
>> 
>> on Firefox running;
>> ovirtengine.example.com
>> Server not found
>> (Firewall of vm1 already stopped running;
>> # systemctl stop firewalld )
>
> "Server not found" is usually unrelated to the firewall, but is a result
> of bad/missing name resolution.
>
>>
>> if running;
>> 192.168.8.8 (IP of vm1)
>> I can connect '

Re: [ovirt-users] Problem to login virtengine on remote browser

2017-11-09 Thread Stephen Liu
 >> if running;
 >> 192.168.8.8 (IP of vm1)
 >> I can connect 'oVirt Open Virtualization Manager' but I can't login with
 >> following warning:
 >>'The client is not authorized to request an authorization. It's required to
 >>access the system using FQDN.'

> Indeed, see the other thread.

> If this isn't enough, please provide more details - the name you provided
> as engine FQDN during engine-setup, whether you fixed name resolution -
> by updating the dns or the hosts file, etc.
Hi,

I solved the problem with following steps:-

# nano /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf
   Change:SSO_ALTERNATE_ENGINE_FQDNS=""
To:
SSO_ALTERNATE_ENGINE_FQDNS="192.168.8.8" (ovirtengine IP)

# systemctl restart ovirt-engine.service
Now I can remote login ovirtengine on Host's browser 
running:http://ovirtengine.example.com
On ovirtengine$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.8.8  ovirtengine.example.com
192.168.8.5  ovirtnode.example.com
[/end]
Now I encounter another problem in "Add oVirt Node (ovirtnode.example) to ovirt 
engine from Web Administrator Portal", failure to add new host "ovirt node".
To connect/login "ovirt node" on Host I must run;192.168.8.5:9090
Adding 192.168.8.5 to the new host, "ovirt node" can't be connected.  But I'm 
not allowed adding "192.168.8.5:9090" to Address there.
Please advise is there any solution to delete ":9090"?
Thanks
RegardsSL


On Thursday, November 9, 2017, 8:34:30 PM GMT+8, Yedidyah Bar David 
<d...@redhat.com> wrote:  
 
 On Thu, Nov 9, 2017 at 1:57 PM, Stephen Liu <sati...@yahoo.com> wrote:
> Hi all,
>
> Problem to login virtengine on remote browser
> client is not authorized to request an authorization

Please check recent thread on this list, with subject "[ovirt-users]
engine FQDN".

>
> vm1 - ovirtengine on CentOS 7, Gnome desktop (internal IP 192.168.8.8)
> vm2 - ovirt node on CentOS 7, minimal (internal IP 192.168.8.5)
> Host - Ubuntu 16.04 Gnome desktop
> KVM
>
> vm1
> ===
> on Firefox running;
> ovirtengine.example.com
> I can login 'oVirt Open Virtualization Manager'
>
> on Firefox running;
> 192.168.8.5:9090 (ovirt node IP)
> I can login ovirt node as root
>
> Host
> 
> on Firefox running;
> ovirtengine.example.com
> Server not found
> (Firewall of vm1 already stopped running;
> # systemctl stop firewalld )

"Server not found" is usually unrelated to the firewall, but is a result
of bad/missing name resolution.

>
> if running;
> 192.168.8.8 (IP of vm1)
> I can connect 'oVirt Open Virtualization Manager' but I can't login with
> following warning:
> 'The client is not authorized to request an authorization. It's required to
> access the system using FQDN.'

Indeed, see the other thread.

If this isn't enough, please provide more details - the name you provided
as engine FQDN during engine-setup, whether you fixed name resolution -
by updating the dns or the hosts file, etc.

Regards,

>
> on Firefox running;
> 192.168.8.5:9090  (ovirt node IP)
> I can login ovirt node as root
>
>
> Please help.  Thanks in advice.
>
>
> Regards
> SL
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


[ovirt-users] Problem to login virtengine on remote browser

2017-11-09 Thread Stephen Liu
Hi all,

Problem to login virtengine on remote browser
client is not authorized to request an authorization

vm1 - ovirtengine on CentOS 7, Gnome desktop (internal IP 192.168.8.8)
vm2 - ovirt node on CentOS 7, minimal (internal IP 192.168.8.5)
Host - Ubuntu 16.04 Gnome desktop
KVM

vm1
===
on Firefox running;
ovirtengine.example.com
I can login 'oVirt Open Virtualization Manager'

on Firefox running;
192.168.8.5:9090 (ovirt node IP)
I can login ovirt node as root

Host

on Firefox running;
ovirtengine.example.com
Server not found
(Firewall of vm1 already stopped running;
# systemctl stop firewalld )

if running;
192.168.8.8 (IP of vm1)
I can connect 'oVirt Open Virtualization Manager' but I can't login with 
following warning:
'The client is not authorized to request an authorization. It's required to 
access the system using FQDN.'

on Firefox running;
192.168.8.5:9090  (ovirt node IP)
I can login ovirt node as root


Please help.  Thanks in advice.


Regards
SL


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


[ovirt-users] Problem login virtengine on remote browser

2017-11-09 Thread Stephen Liu
Hi all,

Problem login virtengine on remote browser
client is not authorized to request an authorization

vm1 - ovirtengine on CentOS 7, Gnome desktop (internal IP 192.168.8.8)
vm2 - ovirt node on CentOS 7, minimal (internal IP 192.168.8.5)
Host - Ubuntu 16.04 Gnome desktop
KVM


vm1
===
on Firefox running;
ovirtengine.example.com
I can login 'oVirt Open Virtualization Manager'

on Firefox running;
192.168.8.5:9090 (ovirt node IP)
I can login ovirt node as root


Host

on Firefox running;
ovirtengine.example.com
Server not found
(Firewall of vm1 already stopped on running;
# systemctl stop firewalld )

if running;
192.168.8.8 (IP of vm1)
I can connect 'oVirt Open Virtualization Manager' but I can't login with 
following warning:
'The client is not authorized to request an authorization. It's required to 
access the system using FQDN.'

on Firefox running;
192.168.8.5:9090  (ovirt node IP)
I can login ovirt node as root


Please help.  Thanks in advice.


Regards
SL


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


[ovirt-users] Problem on installing ovirtengine and ovirtnode

2017-11-05 Thread Stephen Liu
Hi all,

I followed below document to install ovirtengine and ovirtnode on CentOS 7 
gnome desktop which is a VM on KVM.

How to install and configure oVirt 4.0 on CentOS 7 / RHEL 7
https://www.linuxtechi.com/install-configure-ovirt-4-0-on-centos7-rhel7/

Installation went through without problem.  After finish on local browser 
running; http://ovirtengin.example.com I can't connect "oVirt OPEN 
VIRTUALIZATION MANAGER"
I don't understand the use of adding;
192.168.1.30  ovirtengine.example.com
192.168.1.40  ovirtnode.example.com

to /etc/hosts ???

The internal network is 192.168.8.0/24

However on local browser running 192.168.8.8 (the local IP of CentOS 7) I can 
connect "oVirt OPEN VIRTUALIZATION MANAGER"

There is a warning: "ovirtengine.example.com: Name or service not known"

For remote browser (Host) to connect "oVirt OPEN VIRTUALIZATION MANAGER" I must 
stop the firewall of CentOS 7 running;
# systemctl stop firewalld

before running 192.168.8.8 (the local IP of CentOS 7)

Please advise what I can do about the domain "ovirtengine.example.com" and 
"ovirtnode.example.com"

What is the use adding following 2 lines on /etc/hosts
192.168.1.30  ovirtengine.example.com
192.168.1.40  ovirtnode.example.com

Thanks in advance.

Regards
SL


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


Re: [ovirt-users] How to start oVirt in GUI

2017-10-31 Thread Stephen Liu
I suppose it needs 3 command lines
ip ad ad 10.0.0.x/24 dev eth0
 ip ro ad default via 10.0.0.x
 echo "nameserver 8.8.8.8" > /etc/resolv.conf
# ip ad ad 10.0.0.x/24 dev eth0Error: ??? prefix is expected rather than 
"10.0.0.x/24"


 

On Tuesday, October 31, 2017, 11:48:00 PM GMT+8, Nathanaël Blanchet 
<blanc...@abes.fr> wrote:  
 
  
did you correctly read my precedent post?
 
the command is not "iproute", it is "ip"
 
ip ad ad 10.0.0.x/24 dev eth0
 ip ro ad default via 10.0.0.x
 echo "nameserver 8.8.8.8" > /etc/resolv.conf
 
 Le 31/10/2017 à 16:32, Stephen Liu a écrit :
  
   # iproute -bash command not found 
  # echo "8.8.8.8" > /etc/resolv.conf 
  # systemctl reboot (reboot oVirt) 
  # ping yahoo.com ping: yahoo.com: name or service not known 
  # cat /etc/resolv.conf nameservers 8.8.8.8
  
  # ping 192.168.8.3 (Host ip address)
  connect: Network is unreacheable
  
 On Tuesday, October 31, 2017, 10:52:50 PM GMT+8, Stephen Liu 
<sati...@yahoo.com> wrote:  
  
Ryan, 
  Thanks for your advice. 
  My problem here is oVirt node unable to connect Internet.  Neither I have a 
text editor here to edit /etc/sysconfig/network-scripts/ifcfg-eth0 
  Nor ifconfig is available here.   
  # ip addr show eth0  doesn't show ip address  
  I have tried several hours without a breakthrough.  Please help. 
  Whether I need to install CentOS 7 on a VM as host and then install oVirt on 
CentOS 7? 
  Thanks 
  Regards SL

  
 On Tuesday, October 31, 2017, 10:10:55 PM GMT+8, Ryan Barry 
<rba...@redhat.com> wrote:  
  
oVirt Node does not ship with an X server.
 
  The recommended setup path is to install oVirt, then open a web browser and 
browse to:
 
  http://ip.address.of.node:9090
 
  And click the "Virtualization" tab after you log in. Use this to configure 
oVirt Hosted Engine, and the web console for the Engine  will manage everything 
which cockpit cannot
  
 On Tue, Oct 31, 2017 at 9:51 AM, Stephen Liu <sati...@yahoo.com> wrote:
 
Hi all,
 
 I have ovirt-node-ng-installer-ovirt- 4.1-2017103006.iso installed on KVM as 
VM.  It is now running but only a console  without GUI.  I can login to run 
commands.  Copy and Paste between Host and VM is NOT  working (I suppose 
because not running on graphic mode).
 
 Please advise how to start GUI oVirt?
 
 Thanks
 
 Regards
 SL
 
 __ _
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/ mailman/listinfo/users
 
 
  
 
 
 -- 
   
RYAN BARRY
 
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
 
Red Hat NA
 
rba...@redhat.com    M: +1-651-815-9306     IM: rbarry
 
|  |

  
  
 ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
 
 
 -- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to start oVirt in GUI

2017-10-31 Thread Stephen Liu




On Tuesday, October 31, 2017, 11:12:51 PM GMT+8, Nathanaël Blanchet 
<blanc...@abes.fr> wrote:  
 
  

 
 
 Le 31/10/2017 à 15:52, Stephen Liu a écrit :
  
  Ryan, 
  Thanks for your advice. 
  My problem here is oVirt node unable to connect Internet.  Neither I have a 
text editor here to edit /etc/sysconfig/network-scripts/ifcfg-eth0 
  Nor ifconfig is available here.    
 ifconfig is deprecated, you may use iproute:
 ip ad ad 10.0.0.x/24 dev eth0
 ip ro ad default via 10.0.0.x
 echo "nameserver 8.8.8.8" > /etc/resolv.conf
 
  
  # ip addr show eth0  doesn't show ip address  
  I have tried several hours without a breakthrough.  Please help. 
  Whether I need to install CentOS 7 on a VM as host and then install oVirt on 
CentOS 7? 
  Thanks 
  Regards SL

  
 On Tuesday, October 31, 2017, 10:10:55 PM GMT+8, Ryan Barry 
<rba...@redhat.com> wrote:  
  
oVirt Node does not ship with an X server.
 
  The recommended setup path is to install oVirt, then open a web browser and 
browse to:
 
  http://ip.address.of.node:9090
 
  And click the "Virtualization" tab after you log in. Use this to configure 
oVirt Hosted Engine, and the web console for the Engine will manage everything  
which cockpit cannot
  
 On Tue, Oct 31, 2017 at 9:51 AM, Stephen Liu <sati...@yahoo.com> wrote:
 
Hi all,
 
 I have ovirt-node-ng-installer-ovirt- 4.1-2017103006.iso installed on KVM as 
VM.  It is now running but only a console without GUI.  I can login to run 
commands.  Copy and Paste between Host and VM is NOT working (I suppose because 
not running on  graphic mode).
 
 Please advise how to start GUI oVirt?
 
 Thanks
 
 Regards
 SL
 
 __ _
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/ mailman/listinfo/users
 
 
  
 
 
 -- 
   
RYAN BARRY
 
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
 
Red Hat NA
 
rba...@redhat.com    M: +1-651-815-9306     IM: rbarry
 
|  |

  
  
 ___Users mailing 
listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users 
 
 -- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  ___
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: [ovirt-users] How to start oVirt in GUI

2017-10-31 Thread Stephen Liu
 # iproute-bash command not found
# echo "8.8.8.8" > /etc/resolv.conf
# systemctl reboot(reboot oVirt)
# ping yahoo.comping: yahoo.com: name or service not known
# cat /etc/resolv.confnameservers 8.8.8.8

# ping 192.168.8.3 (Host ip address)
connect: Network is unreacheable

On Tuesday, October 31, 2017, 10:52:50 PM GMT+8, Stephen Liu 
<sati...@yahoo.com> wrote:  
 
 Ryan,
Thanks for your advice.
My problem here is oVirt node unable to connect Internet.  Neither I have a 
text editor here to edit /etc/sysconfig/network-scripts/ifcfg-eth0
Nor ifconfig is available here.  
# ip addr show eth0doesn't show ip address
I have tried several hours without a breakthrough.  Please help.
Whether I need to install CentOS 7 on a VM as host and then install oVirt on 
CentOS 7?
Thanks
RegardsSL
 

On Tuesday, October 31, 2017, 10:10:55 PM GMT+8, Ryan Barry 
<rba...@redhat.com> wrote:  
 
 oVirt Node does not ship with an X server.

The recommended setup path is to install oVirt, then open a web browser and 
browse to:

http://ip.address.of.node:9090

And click the "Virtualization" tab after you log in. Use this to configure 
oVirt Hosted Engine, and the web console for the Engine will manage everything 
which cockpit cannot

On Tue, Oct 31, 2017 at 9:51 AM, Stephen Liu <sati...@yahoo.com> wrote:

Hi all,

I have ovirt-node-ng-installer-ovirt- 4.1-2017103006.iso installed on KVM as 
VM.  It is now running but only a console without GUI.  I can login to run 
commands.  Copy and Paste between Host and VM is NOT working (I suppose because 
not running on graphic mode).

Please advise how to start GUI oVirt?

Thanks

Regards
SL

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





-- 

RYAN BARRY

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR

Red Hat NA

rba...@redhat.com    M: +1-651-815-9306     IM: rbarry

|  |

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


Re: [ovirt-users] How to start oVirt in GUI

2017-10-31 Thread Stephen Liu
Ryan,
Thanks for your advice.
My problem here is oVirt node unable to connect Internet.  Neither I have a 
text editor here to edit /etc/sysconfig/network-scripts/ifcfg-eth0
Nor ifconfig is available here.  
# ip addr show eth0doesn't show ip address
I have tried several hours without a breakthrough.  Please help.
Whether I need to install CentOS 7 on a VM as host and then install oVirt on 
CentOS 7?
Thanks
RegardsSL
 

On Tuesday, October 31, 2017, 10:10:55 PM GMT+8, Ryan Barry 
<rba...@redhat.com> wrote:  
 
 oVirt Node does not ship with an X server.

The recommended setup path is to install oVirt, then open a web browser and 
browse to:

http://ip.address.of.node:9090

And click the "Virtualization" tab after you log in. Use this to configure 
oVirt Hosted Engine, and the web console for the Engine will manage everything 
which cockpit cannot

On Tue, Oct 31, 2017 at 9:51 AM, Stephen Liu <sati...@yahoo.com> wrote:

Hi all,

I have ovirt-node-ng-installer-ovirt- 4.1-2017103006.iso installed on KVM as 
VM.  It is now running but only a console without GUI.  I can login to run 
commands.  Copy and Paste between Host and VM is NOT working (I suppose because 
not running on graphic mode).

Please advise how to start GUI oVirt?

Thanks

Regards
SL

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





-- 

RYAN BARRY

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR

Red Hat NA

rba...@redhat.com    M: +1-651-815-9306     IM: rbarry

|  |

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


[ovirt-users] How to start oVirt in GUI

2017-10-31 Thread Stephen Liu
Hi all,

I have ovirt-node-ng-installer-ovirt-4.1-2017103006.iso installed on KVM as VM. 
 It is now running but only a console without GUI.  I can login to run 
commands.  Copy and Paste between Host and VM is NOT working (I suppose because 
not running on graphic mode).

Please advise how to start GUI oVirt?

Thanks

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


Re: [ovirt-users] Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?

2017-10-27 Thread Stephen Liu
Where can I find the updated documentation to follow?  Thanks
SL
 

On Friday, October 27, 2017, 7:11:37 PM GMT+8, Yaniv Kaul 
<yk...@redhat.com> wrote:  
 
 

On Oct 27, 2017 11:50 AM, "Stephen Liu" <sati...@yahoo.com> wrote:

 Hi YK,

Thanks for your advice.

I shall install oVirt on Fedora, the host, which is running on KVM as guest.  
Whether I need to install following packages;

vdsm-hook-macspoof
vdsm-hook-nestedvt

on Fedora first before installing oVirt?

Whether following document is relevent for me to follow?
Deploy and test oVirt using nested 
virtualization environments 
http://resources.ovirt.org/ old-site-files/wiki/OVirt- nested-virt-markwu.pdf


A bit outdated, but yes, that's the general direction. Y. 


Thanks

Regards
SL

On Friday, October 27, 2017, 2:01:15 PM GMT+8, Yaniv Kaul 
<yk...@redhat.com> wrote:  
 
 

On Oct 27, 2017 7:24 AM, "Stephen Liu" <sati...@yahoo.com> wrote:

Hi all,

Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?


Yes, you can. You need to enable nested virtualization. Y. 


I have been running both VirtualBox and KVM/QEMU for prolonged time.  I never 
tried oVirt before.  Now I'm prepared testing oVirt but I have only 2 PCs, one 
running KVM/QEMU and another VirtualBox.  If I can't install oVirt on VM of 
VirtualBox nor on Guest of KVM/QEMU then I have to get a new HD for testing 
oVirt?

Please advise.  Thanks

Regards
SL

__ _
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: [ovirt-users] Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?

2017-10-27 Thread Stephen Liu
 Hi YK,

Thanks for your advice.

I shall install oVirt on Fedora, the host, which is running on KVM as guest.  
Whether I need to install following packages;

vdsm-hook-macspoof
vdsm-hook-nestedvt

on Fedora first before installing oVirt?

Whether following document is relevent for me to follow?
Deploy and test oVirt using nested 
virtualization environments 
http://resources.ovirt.org/old-site-files/wiki/OVirt-nested-virt-markwu.pdf

Thanks

Regards
SL

On Friday, October 27, 2017, 2:01:15 PM GMT+8, Yaniv Kaul 
<yk...@redhat.com> wrote:  
 
 

On Oct 27, 2017 7:24 AM, "Stephen Liu" <sati...@yahoo.com> wrote:

Hi all,

Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?


Yes, you can. You need to enable nested virtualization. Y. 


I have been running both VirtualBox and KVM/QEMU for prolonged time.  I never 
tried oVirt before.  Now I'm prepared testing oVirt but I have only 2 PCs, one 
running KVM/QEMU and another VirtualBox.  If I can't install oVirt on VM of 
VirtualBox nor on Guest of KVM/QEMU then I have to get a new HD for testing 
oVirt?

Please advise.  Thanks

Regards
SL

__ _
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


[ovirt-users] Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?

2017-10-26 Thread Stephen Liu
Hi all,

Can oVirt run on VM of VirtualBox or Guest of KVM/QEMU, just for testing ?

I have been running both VirtualBox and KVM/QEMU for prolonged time.  I never 
tried oVirt before.  Now I'm prepared testing oVirt but I have only 2 PCs, one 
running KVM/QEMU and another VirtualBox.  If I can't install oVirt on VM of 
VirtualBox nor on Guest of KVM/QEMU then I have to get a new HD for testing 
oVirt?

Please advise.  Thanks

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


Re: [Users] Install oVirt from source - 2nd test

2012-11-14 Thread Stephen Liu
 From: Allon Mureinik amure...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org 
Sent: Wednesday, November 14, 2012 6:37 PM
Subject: Re: [Users] Install oVirt from source - 2nd test
 

- Original Message - 

 From: Stephen Liu sati...@yahoo.com
 To: users@ovirt.org
 Sent: Tuesday, November 13, 2012 4:39:25 PM
 Subject: [Users] Install oVirt from source - 2nd test

 Hi all,

 Have another round to build oVirt from source following;

 Building Engine Draft
 http://wiki.ovirt.org/wiki/Building_Engine_Draft
Why are you using this draft and not the official 
http://wiki.ovirt.org/wiki/Building_oVirt_engine ?

On my 1st round building oVirt I used the official document and encountered 
problems.  Then Juan told me to follow;
http://wiki.ovirt.org/wiki/Building_Engine_Draft

On this round, 2nd round, I followed Building_Engine_Draft



 OS - Fedora 17 desktop 64bit, fresh and clean installed.

 Not much problem encountered up to Installing JBoss AS except
 follows:

 1)
 Maven personal settings
 ==

 $ mkdir $HOME/.m2
 $ wget -O $HOME/.m2/settings.xml
 http://wiki.ovirt.org/w/images/1/18/Settings.xml.png

 (it should read
 http://wiki.ovirt.org/w/images/1/18/Settings.xml.png;;)
  (not www)
It's fixed at http://wiki.ovirt.org/wiki/Building_oVirt_engine

 2)
 Check that the application server starts correctly:

 $ cd $JBOSS_HOME/bin
 $ ./standalone.sh -b 0.0.0.0
 ===

 JBoss Bootstrap Environment

 JBOSS_HOME: /home/satimis/jboss-as

 JAVA: java

 JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation
 -Xms64m -Xmx512m -XX:MaxPermSize=256m
 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true
 -Dsun.rmi.dgc.client.gcInterval=360
 -Dsun.rmi.dgc.server.gcInterval=360
 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=tr
 
 .

 22:14:38,217 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874:
 JBoss AS 7.1.1.Final Brontes started in 6662ms - Started 133 of
 208 services (74 services are passive or on-demand)

 It hung here;
This seems fine to me - JBoss is up and running, and no new log messages are 
created...


Noted.  Thanks



 Press [Ctrl] + c
 it continued to display:

 19:49,653 INFO [org.jboss.as.osgi] (MSC service thread 1-3)
 JBAS011942: Stopping OSGi Framework
 22:19:49,701 INFO [org.jboss.as.logging] JBAS011503: Restored
 bootstrap log handlers
 22:19:49,726 INFO [org.apache.coyote.http11.Http11Protocol] Pausing
 Coyote HTTP/1.1 on http--0.0.0.0-8080
 22:19:49,727 INFO [org.apache.coyote.http11.Http11Protocol] Stopping
 Coyote HTTP/1.1 on http--0.0.0.0-8080
 22:19:49,729 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying
 TransactionManagerService
 22:19:49,730 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping
 transaction recovery manager
 22:19:49,753 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final
 Brontes stopped in 111ms

 Is it normal? Without problem?

 Thanks

 B.R.
 Stephen L
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users



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


[Users] Install oVirt from source - 2nd test

2012-11-13 Thread Stephen Liu
Hi all,

Have another round to build oVirt from source following;

Building Engine Draft
http://wiki.ovirt.org/wiki/Building_Engine_Draft

OS - Fedora 17 desktop 64bit, fresh and clean installed.

Not much problem encountered up to Installing JBoss AS except follows:

1)
Maven personal settings
==

$ mkdir $HOME/.m2 
$ wget -O $HOME/.m2/settings.xml 
http://wiki.ovirt.org/w/images/1/18/Settings.xml.png

(it should read http://wiki.ovirt.org/w/images/1/18/Settings.xml.png;)
                    (not www)

2)
Check that the application server starts correctly: 

$ cd $JBOSS_HOME/bin
$ ./standalone.sh -b 0.0.0.0
===

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/satimis/jboss-as

  JAVA: java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m 
-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true 
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=tr

.

22:14:38,217 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 
7.1.1.Final Brontes started in 6662ms - Started 133 of 208 services (74 
services are passive or on-demand)


It hung here;

Press [Ctrl] + c
it continued to display:

19:49,653 INFO  [org.jboss.as.osgi] (MSC service thread 1-3) JBAS011942: 
Stopping OSGi Framework
22:19:49,701 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log 
handlers
22:19:49,726 INFO  [org.apache.coyote.http11.Http11Protocol] Pausing Coyote 
HTTP/1.1 on http--0.0.0.0-8080
22:19:49,727 INFO  [org.apache.coyote.http11.Http11Protocol] Stopping Coyote 
HTTP/1.1 on http--0.0.0.0-8080
22:19:49,729 INFO  [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying 
TransactionManagerService
22:19:49,730 INFO  [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction 
recovery manager
22:19:49,753 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final Brontes 
stopped in 111ms

Is it normal?  Without problem?

Thanks

B.R.
Stephen L
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] About owner of postgres

2012-11-11 Thread Stephen Liu


 From: Juan Hernandez jhern...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org users@ovirt.org 
Sent: Sunday, November 11, 2012 3:01 AM
Subject: Re: [Users] About owner of postgres


- snip -


Assuming that you don't have the data of any other application in that
PostgreSQL instance I would remove it completely and then create it
again running the following commands as root:

systemctl stop postgresql.service
rm -rf /var/lib/pgsql
postgresql-setup initdb
systemctl start postgresql.service

That will give you a clean instance of PosrgreSQL that you can use for
the ovirt-engine installation.

Let us know if this helps.

Your advice worked for me.  Thanks.


Steps performed as follows:-
# systemctl stop postgresql.service

# rm -rf /var/lib/pgsql
# postgresql-setup initdb
Initializing database ... OK

# systemctl start postgresql.service

# chkconfig postgresql on
Note: Forwarding request to 'systemctl enable postgresql.service'.
ln -s '/usr/lib/systemd/system/postgresql.service' 
'/etc/systemd/system/multi-user.target.wants/postgresql.service'


A further question;

I can change the owner of postgresql in following ways;

1)
# chown satimis satimis /var/lib/pgsql/


OR
2)
sudo su - postgres
initdb -E UTF8

$ createuser -s -U postgres
$ Enter name of role to add: {{ satimis }}


Would there is any difference?

If there is.  After having finished the current test I can start a new test on 
another hard drive.


Besides:
on
http://wiki.ovirt.org/wiki/Installing_PostgreSQL_DB
Connecting to the database 

Run /etc/init.d/postgresql restart (it didn't work)

to be replaced with:
service postgresql restart
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Deploy failed

2012-11-11 Thread Stephen Liu
Hi all,


Document to follow;
http://wiki.ovirt.org/wiki/Building_Engine_Draft


Build
=

[satimis@localhost dbscripts]$ cd $OVIRT_HOME

[satimis@localhost ovirt-engine]$ mvn clean install

without complaint.


Deploy 
==

[satimis@localhost ovirt-engine]$ cd $OVIRT_HOME/ear

[satimis@localhost ear]$ mvn clean install -Pdep,setup
/usr/lib/jvm/java
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.ovirt.engine:engine-server-ear:ear:3.1.0
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-ear-plugin is missing. @ line 154, column 15
[WARNING] 'distributionManagement.repository.id' must not be 'local', this 
identifier is reserved for the local repository, using it for other 
repositories will corrupt your repository metadata. @ line 18, column 11
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] 
[INFO] Building oVirt Server EAR 3.1.0
[INFO] 
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
 (5 KB at 82.5 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
 (24 KB at 343.6 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ engine-server-ear 
---
[INFO] Deleting /home/satimis/ovirt-engine/ear/target
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (undeploy) @ engine-server-ear ---
Downloading: 
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
 (3 KB at 101.2 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
 (5 KB at 164.4 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom (10 KB at 
221.6 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
Downloaded: 
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
 (12 KB at 82.3 KB/sec)
Downloaded: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
 (245 KB at 203.9 KB/sec)
Downloaded: 
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar (1292 KB 
at 384.4 KB/sec)
[INFO] Executing tasks
 [echo] *** Deleting 
/usr/share/jboss-as/standalone/deployments/engine.ear/...
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-ear-plugin:2.6:generate-application-xml 
(default-generate-application-xml) @ engine-server-ear ---
[INFO] Generating application.xml
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
engine-server-ear ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/satimis/ovirt-engine/ear/src/main/java
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-ear-plugin:2.6:ear (default-ear) @ engine-server-ear ---
[INFO] Copying artifact[jar:org.ovirt.engine.core:common:3.1.0] 
to[lib/engine-common.jar]
[INFO] Copying artifact[jar:org.ovirt.engine.core:compat:3.1.0] 
to[lib/engine-compat.jar]
[INFO] Copying artifact[jar:org.ovirt.engine.core:dal:3.1.0] 
to[lib/engine-dal.jar]
[INFO] Copying artifact[jar:org.ovirt.engine.core:utils:3.1.0] 
to[lib/engine-utils.jar]
[INFO] Copying artifact[jar:org.ovirt.engine.core:engineencryptutils:3.1.0] 
to[lib/engine-encryptutils.jar]
[INFO] Copying artifact[jar:org.ovirt.engine.core:vdsbroker:3.1.0] 
to[lib/engine-vdsbroker.jar]
[INFO] Copying artifact[war:org.ovirt.engine.core:root-war:3.1.0] to[root.war] 
(unpacked)
[INFO] Copying artifact[war:org.ovirt.engine.ui:rmw-war:3.1.0] 
to[ovirtengineweb.war] (unpacked)
[INFO] Copying artifact[war:org.ovirt.engine.api:restapi-webapp:3.1.0] 
to[restapi.war] (unpacked)
[INFO] Copying 

Re: [Users] Deploy failed

2012-11-11 Thread Stephen Liu


- Original Message -

 From: Allon Mureinik amure...@redhat.com
 To: Stephen Liu sati...@yahoo.com
 Cc: users@ovirt.org
 Sent: Sunday, November 11, 2012 6:43 PM
 Subject: Re: [Users] Deploy failed
 
  project engine-server-ear: An Ant BuildException has occured: Failed
  to copy
 
 /home/satimis/ovirt-engine/ear/target/engine/engine-bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class
  to
 
 /usr/share/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class
  due to java.io.FileNotFoundException
 
 /usr/share/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class
 
 Seems like you some old .class files lying around, for some reason.
 Have you tried manually removing your target dirs before building?

Hi Allon,

I think it would be better for me to reinstall Fedora 17.  Because I have been 
following 2 instructions to build oVirt on it.  Some old files are still 
hanging around.

I'll come back later.

Thanks

Stephen L





 
 - Original Message -
  From: Stephen Liu sati...@yahoo.com
  To: users@ovirt.org
  Sent: Sunday, November 11, 2012 11:02:41 AM
  Subject: [Users] Deploy failed
 
  Hi all,
 
 
  Document to follow;
  http://wiki.ovirt.org/wiki/Building_Engine_Draft
 
 
  Build
  =
 
  [satimis@localhost dbscripts]$ cd $OVIRT_HOME
 
  [satimis@localhost ovirt-engine]$ mvn clean install
 
  without complaint.
 
 
  Deploy
  ==
 
  [satimis@localhost ovirt-engine]$ cd $OVIRT_HOME/ear
 
  [satimis@localhost ear]$ mvn clean install -Pdep,setup
  /usr/lib/jvm/java
  [INFO] Scanning for projects...
  [WARNING]
  [WARNING] Some problems were encountered while building the effective
  model for org.ovirt.engine:engine-server-ear:ear:3.1.0
  [WARNING] 'build.plugins.plugin.version' for
  org.apache.maven.plugins:maven-ear-plugin is missing. @ line 154,
  column 15
  [WARNING] 'distributionManagement.repository.id' must not be 
 'local',
  this identifier is reserved for the local repository, using it for
  other repositories will corrupt your repository metadata. @ line 18,
  column 11
  [WARNING]
  [WARNING] It is highly recommended to fix these problems because they
  threaten the stability of your build.
  [WARNING]
  [WARNING] For this reason, future Maven versions might no longer
  support building such malformed projects.
  [WARNING]
  [INFO]
  [INFO]
  
  [INFO] Building oVirt Server EAR 3.1.0
  [INFO]
  
  Downloading:
 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
  Downloaded:
 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
  (5 KB at 82.5 KB/sec)
  Downloading:
 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
  Downloaded:
 
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
  (24 KB at 343.6 KB/sec)
  [INFO]
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
  engine-server-ear ---
  [INFO] Deleting /home/satimis/ovirt-engine/ear/target
  [INFO]
  [INFO] --- maven-antrun-plugin:1.3:run (undeploy) @ engine-server-ear
  ---
  Downloading:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
  Downloaded:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
  (3 KB at 101.2 KB/sec)
  Downloading:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
  Downloaded:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
  (5 KB at 164.4 KB/sec)
  Downloading:
  http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
  Downloaded:
  http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
  (10 KB at 221.6 KB/sec)
  Downloading:
 
 http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
  Downloading:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
  Downloading:
  http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
  Downloaded:
 
 http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
  (12 KB at 82.3 KB/sec)
  Downloaded:
 
 http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
  (245 KB at 203.9 KB/sec)
  Downloaded:
  http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
  (1292 KB at 384.4 KB/sec)
  [INFO] Executing tasks
   [echo] *** Deleting
   /usr/share/jboss-as/standalone/deployments/engine.ear/...
  [INFO] Executed tasks
  [INFO]
  [INFO] --- maven-ear-plugin:2.6:generate

Re: [Users] About owner of postgres

2012-11-11 Thread Stephen Liu
 From: Itamar Heim ih...@redhat.com
 To: Stephen Liu sati...@yahoo.com
 Cc: Juan Hernandez jhern...@redhat.com; users@ovirt.org users@ovirt.org
 Sent: Sunday, November 11, 2012 6:57 PM
 Subject: Re: [Users] About owner of postgres
 
- snip -


  A further question;
 
  I can change the owner of postgresql in following ways;
 
  1)
  # chown satimis satimis /var/lib/pgsql/
 
 
  OR
  2)
  sudo su - postgres
  initdb -E UTF8
 
  $ createuser -s -U postgres
  $ Enter name of role to add: {{ satimis }}
 
 
  Would there is any difference?
 
  If there is.  After having finished the current test I can start a new test 
 on another hard drive.
 
 
  Besides:
  on
  http://wiki.ovirt.org/wiki/Installing_PostgreSQL_DB
  Connecting to the database
 
  Run /etc/init.d/postgresql restart (it didn't work)
 
  to be replaced with:
  service postgresql restart
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 i may have missed this, but why are you trying to change the owner of 
 postgres?

On my previous posting I was stuck there.

 I was stuck here;
 
 # su - postgres -c 'pg_ctl initdb'
 The files belonging to this database system will be owned by user
 postgres.
 This user must also own the server process.
 
 The database cluster will be initialized with locale en_US.UTF-8.
 The default database encoding has accordingly been set to UTF8.
 The default text search configuration will be set to english.
 
 initdb: directory /var/lib/pgsql/data exists but is not empty
 If you want to create a new database system, either remove or empty
 the directory /var/lib/pgsql/data or run initdb
 with an argument other than /var/lib/pgsql/data.
 pg_ctl: database system initialization failed

pgsql was owned by postgres not by user nor root

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


Re: [Users] Problem on running chkconfig

2012-11-10 Thread Stephen Liu
Hi  Juan,

Thanks for your advice.

I suppose following link will be relevant for me to install oVirt on Fedora 17

Get oVirt
Install oVirt Engine 3.1 from the stable Fedora 17 x86_64 packages:
http://www.ovirt.org/get-ovirt/

Hoping that it is up-to-date.


I'm also interested learning to install oVirt from source.  

I have 4 hard drives here, old hd each with 180G capacity, installed on 2 PCs 
respectively ready for testing oVirt.  Their bootings are controlled by BIOS, 
all with Fedora 17, 64bit, freshly installed.  One PC is running 4-core AMD CPU 
with 8G RAM installed and another PC is running dualcore AMD CPU with 4G RAM 
installed.


I have been following below documnents to install oVirt;
oVirt 3.1, Glusterized (on Fedora 17)
http://blog.jebpages.com/archives/tag/ovirt/

Up and Running with oVirt, 3.1 Edition
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/

Building oVirt engine
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine

all not successful.


I'll start again following:-

Building Engine Draft
http://wiki.ovirt.org/wiki/Building_Engine_Draft


B.R.
Stephen L





 From: Juan Hernandez jhern...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: Itamar Heim ih...@redhat.com; users@ovirt.org users@ovirt.org 
Sent: Saturday, November 10, 2012 1:49 AM
Subject: Re: [Users] Problem on running chkconfig
 
On 11/09/2012 09:14 AM, Stephen Liu wrote:
 Hi,
 
 Whether I should follow;
 
 Building oVirt engine
 http://wiki.ovirt.org/w/index.php?title=Building_oVirt_enginediff=5237oldid=5236
 
 Is it the latest version of the manual?  Thanks
 
 B.R.
 Stephen L

Stephen, if you are installing the RPMs in Fedora 17 then all you need
to do is configure your machine to use the oVirt repository and then
install the engine, it will automatically install for you the required
JBoss AS version:

yum localinstall http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm

yum install ovirt-engine-3.1.0

Once the packages are installed then you can just use the engine-setup
tool, which is very easy to use:

engine-setup

That will automatically start for you the oVirt engine service. If for
whatever the reason you need to start/stop/restart it you should use the
systemctl tool like this:

systemctl start ovirt-engine.service
systemctl stop ovirt-engine.service
systemctl restart ovirt-engine.service

The wiki page that you mention is intended for users/developers that
want to install from source. Is that you case? If the answer is yes then
I would suggest to take a look at this alternative:

http://wiki.ovirt.org/wiki/Building_Engine_Draft

Is mostly the same content, but a bit more updated. I suggested in to
replace the old one with this one, but didn't get much feedback. If you
have any additional issue please let us know.

     
     *From:* Itamar Heim ih...@redhat.com
     *To:* Stephen Liu sati...@yahoo.com
     *Cc:* users@ovirt.org users@ovirt.org; Juan Antonio Hernandez
     Fernandez jhern...@redhat.com
     *Sent:* Friday, November 9, 2012 2:17 PM
     *Subject:* Re: [Users] Problem on running chkconfig
 
     On 11/09/2012 05:48 AM, Stephen Liu wrote:
      Hi all,
     
      OS - Fedora 17 64bit
      Instruction:
      http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites
     
      Problem encountered as follows;
      $ sudo ln -s /usr/share/jboss-as-7.1.1.Final /usr/share/jboss-as
      $ su - -c 'chmod -R 777 /usr/share/jboss-as'
      lrwxrwxrwx. 1 root root 31 Nov  9 10:21 jboss-as -
      /usr/share/jboss-as-7.1.1.Final
     
      $ chkconfig jboss-as on
      error reading information on service jboss-as: No such file or
     directory
     
      $ sudo chkconfig jboss-as on
      error reading information on service jboss-as: No such file or
     directory
      same problem.
     
      Please advise how to solve the problem?  TIA
 
     iirc, we changed process to use ovirt-engine service by now.
     probably need to update the wiki for this.
     juan?
 
 


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.


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


Re: [Users] Problem on running chkconfig

2012-11-09 Thread Stephen Liu
Hi,

Whether I should follow;

Building oVirt engine
http://wiki.ovirt.org/w/index.php?title=Building_oVirt_enginediff=5237oldid=5236

Is it the latest version of the manual?  Thanks

B.R.
Stephen L







 From: Itamar Heim ih...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org users@ovirt.org; Juan Antonio Hernandez Fernandez 
jhern...@redhat.com 
Sent: Friday, November 9, 2012 2:17 PM
Subject: Re: [Users] Problem on running chkconfig
 
On 11/09/2012 05:48 AM, Stephen Liu wrote:
 Hi all,

 OS - Fedora 17 64bit
 Instruction:
 http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites

 Problem encountered as follows;
 $ sudo ln -s /usr/share/jboss-as-7.1.1.Final /usr/share/jboss-as
 $ su - -c 'chmod -R 777 /usr/share/jboss-as'
 lrwxrwxrwx. 1 root root 31 Nov  9 10:21 jboss-as -
 /usr/share/jboss-as-7.1.1.Final

 $ chkconfig jboss-as on
 error reading information on service jboss-as: No such file or directory

 $ sudo chkconfig jboss-as on
 error reading information on service jboss-as: No such file or directory
 same problem.

 Please advise how to solve the problem?  TIA

iirc, we changed process to use ovirt-engine service by now.
probably need to update the wiki for this.
juan?


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


Re: [Users] Problem on creating database

2012-11-09 Thread Stephen Liu
Hi,

On running further to install oVirt I encountered following problem;

Steps performed;

$ cd $OVIRT_HOME

$ mvn clean install
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 0.110s
[INFO] Finished at: Fri Nov 09 12:23:57 HKT 2012
[INFO] Final Memory: 5M/115M
[INFO] 
[ERROR] The goal you specified requires a project to execute but there is no 
POM in this directory (/home/satimis). Please verify you invoked Maven from the 
correct directory. - [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

Failure ?


$ mvn --version
/usr/lib/jvm/java
Apache Maven 3.0.4 (rNON-CANONICAL_2012-10-24_11-25_mockbuild; 2012-10-24 
19:25:04+0800)
Maven home: /usr/share/maven
Java version: 1.7.0_09-icedtea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.6.5-1.fc17.x86_64, arch: amd64, family: unix


B.R.
Stephen L





 From: Yair Zaslavsky yzasl...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org 
Sent: Friday, November 9, 2012 2:53 PM
Subject: Re: [Users] Problem on creating database
 

Hi, I'm not sure at what point exactly you see this dropdb failure.
I checked the code at the dbscripts folder, and the only place where dropdb is 
run, is at the beginning of execution of create_db.sh which is run from 
create_db_devel.sh
In addition, when I tried to create with non existing DB, I saw the same 
print, but the DB was still created.


Please elaborate on what is your exact problem?
Do you manage to perform psql engine postgres after running the script?
You can also send us create_db.sh.log


Thanks!



From: Stephen Liu sati...@yahoo.com
To: users@ovirt.org
Sent: Friday, November 9, 2012 7:09:05 AM
Subject: [Users] Problem on creating database


Hi all,

OS - Fedora 17 64bit
Manual:
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites


Creating the database 
=

$ ls /home/satimis/ | grep ovirt-engine
ovirt-engine

$OVIRT_HOME = /home/satimis

$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts
$ sudo ./create_db_devel.sh -u postgres
Running original create_db script...
Creating the database: engine
dropdb: database removal failed: ERROR:  database engine does not exist
user name is: postgres
Creating tables...
Creating functions...
Creating common functions...
Inserting data  ...
.
.
Running  upgrade sql script 
upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...
Setting development configuration values ...
Development
 setting done.


dropdb: database removal failed: ERROR:  database engine does not exist

Please advise how to fix the problem?  TIA

B.R.
Stephen L

___
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] Problem on creating database

2012-11-09 Thread Stephen Liu
Hi Oved,


This time I used the full path


$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts
$ sudo ./create_db_devel.sh -u postgres
[sudo] password for satimis: 
Running original create_db script...
Creating the database: engine
user name is: postgres
Creating tables...
Creating functions...
.
Creating stored procedures from vds_groups_sp.sql ...
Creating stored procedures from vds_spm_id_map_sp.sql ...
Creating stored procedures from vds_sp.sql ...
Creating stored procedures from vm_device_sp.sql ...
Creating stored procedures from vm_pool_maps_sp.sql ...
Creating stored procedures from vm_pools_sp.sql ...
Creating stored procedures from vms_sp.sql ...
Creating stored procedures from vm_templates_sp.sql ...
Running  upgrade sql script 
upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...
Setting development configuration values ...
Development setting done.


it worked.

What is the correct command/step creating $OVIRT_HOME which includes 
/home/satimis/ovirt-engine ?  Thanks


Continued


$ cd ../../..
$ mvn clean install

It took long time to complete


Deploy 
==

$ ls
backend   config  ear   LICENSE   packaging
build-tools-root  deployment  frontend  Makefile  pom.xml

$ cd ear/
$ mvn clean install -Pdep,setup
..
[INFO] Executed tasks
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 11.948s
[INFO] Finished at: Fri Nov 09 17:39:27 HKT 2012
[INFO] Final Memory: 16M/331M
[INFO] 


$ mvn clean install -Pdep
...
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 5.990s
[INFO] Finished at: Fri Nov 09 17:40:38 HKT 2012
[INFO] Final Memory: 16M/331M
[INFO] 


Copying vdsm bootstrap files (this step ignored)


Deploying engine-config  engine-manage-domains 


$ cd ..

$ make create_dirs
*** Creating Directories
install: cannot create directory `/usr/local/share/ovirt-engine': Permission 
denied
make: *** [create_dirs] Error 1


Again;
=
$ sudo make create_dirs
[sudo] password for satimis: 
*** Creating Directories


$ make install_tools
make: *** No rule to make target `install_tools'.  Stop.

$ sudo make install_tools
make: *** No rule to make target `install_tools'.  Stop.

Encountered problem here.  Please help


Continued


$ make install_config
*** Deploying engine-config  engine-manage-domains
# Configuration files for the configuration tool:
install -m 644 
backend/manager/tools/engine-config/src/main/resources/engine-config.conf 
/usr/local/etc/ovirt-engine/engine-config/
install: cannot create regular file 
`/usr/local/etc/ovirt-engine/engine-config/engine-config.conf': Permission 
denied
make: *** [install_config] Error 1


Again;
=
$ sudo make install_config
*** Deploying engine-config  engine-manage-domains
# Configuration files for the configuration tool:
install -m 644 
backend/manager/tools/engine-config/src/main/resources/engine-config.conf 
/usr/local/etc/ovirt-engine/engine-config/
install -m 644 
backend/manager/tools/engine-config/src/main/resources/engine-config.*properties
 /usr/local/etc/ovirt-engine/engine-config/
install -m 644 backend/manager/tools/engine-config/src/main/resources/log4j.xml 
/usr/local/etc/ovirt-engine/engine-config/
# Main program for the configuration tool:
install -m 750 
backend/manager/tools/engine-config/src/main/resources/engine-config 
/usr/local/share/ovirt-engine/bin/engine-config.sh
ln -s /usr/local/share/ovirt-engine/bin/engine-config.sh 
/usr/local/bin/engine-config
# Configuration files for the domain management tool:
install -m 644 
backend/manager/modules/utils/src/main/resources/engine-manage-domains.conf 
/usr/local/etc/ovirt-engine/engine-manage-domains/
install -m 644 
backend/manager/modules/utils/src/main/resources/engine-manage-domains/log4j.xml
 /usr/local/etc/ovirt-engine/engine-manage-domains/
# Main program for the domain management tool:
install -m 750 backend/manager/conf/kerberos/engine-manage-domains 
/usr/local/share/ovirt-engine/bin/engine-manage-domains.sh
ln -s /usr/local/share/ovirt-engine/bin/engine-manage-domains.sh 
/usr/local/bin/engine-manage-domains

It worked.


$ sudo ps ax | grep java
 8392 pts/0    S+ 0:00 grep --color=auto java

jboss is running ???


I stopped here without proceeding further in anticipating to rectify previous 
errors first.

Please help.  TIA

B.R.
Stephen L








 From: Oved Ourfalli ov...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org; Yair Zaslavsky yzasl...@redhat.com 
Sent: Friday

[Users] Where can I download Setting.xml.png

2012-11-08 Thread Stephen Liu
Hi all,

I'm following;
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites

to install oVirt on Fedora 17, 64bit.  I was stuck here;

$ wget -O ~/.m2/settings.xml http://www.ovirt.org/w/images/1/18/Settings.xml.png
.
--2012-11-08 18:37:23--  http://www.ovirt.org/w/images/1/18/Settings.xml.png
Resolving www.ovirt.org (www.ovirt.org)... 173.255.252.138
Connecting to www.ovirt.org (www.ovirt.org)|173.255.252.138|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-08 18:37:24 ERROR 404: Not Found.

Please advise where can I download the captioned image?  


TIA

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


Re: [Users] Where can I download Setting.xml.png

2012-11-08 Thread Stephen Liu
Hi,

I see.  Thanks.  It is an alternative.

Where shall I have settings.xml installed?

According to following document;
http://wiki.ovirt.org/wiki/Building_Engine_Draft

it should be on $HOME/.m2/settings.xml ?

B.R.
satimis





 From: Cristian Falcas cristi.fal...@gmail.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org users@ovirt.org 
Sent: Thursday, November 8, 2012 7:31 PM
Subject: Re: [Users] Where can I download Setting.xml.png
 

You don't need an image, but an xml file. Follow the next advice: 

Or copy  paste the content of the file below into ~/.m2/settings.xml 



On Thu, Nov 8, 2012 at 1:12 PM, Stephen Liu sati...@yahoo.com wrote:

Hi all,


I'm following;
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites


to install oVirt on Fedora 17, 64bit.  I was stuck here;


$ wget -O ~/.m2/settings.xml 
http://www.ovirt.org/w/images/1/18/Settings.xml.png
.
--2012-11-08 18:37:23--  http://www.ovirt.org/w/images/1/18/Settings.xml.png
Resolving www.ovirt.org (www.ovirt.org)... 173.255.252.138
Connecting to www.ovirt.org (www.ovirt.org)|173.255.252.138|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-08 18:37:24 ERROR 404: Not Found.


Please advise where can I download the captioned image?  



TIA


B.R.SL

___
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] Where can I download Setting.xml.png

2012-11-08 Thread Stephen Liu
Hi,

I see.  Thanks for your link.

Where shall I have settings.xml installed?

According to following document;
http://wiki.ovirt.org/wiki/Building_Engine_Draft

it should be on $HOME/.m2/settings.xml ?

B.R.
SL






 From: Moti Asayag masa...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org users@ovirt.org 
Sent: Thursday, November 8, 2012 7:47 PM
Subject: Re: [Users] Where can I download Setting.xml.png
 
The link is fixed in the wiki, please try:

wget -O ~/.m2/settings.xml
http://wiki.ovirt.org/w/images/1/18/Settings.xml.png

On 11/08/2012 01:12 PM, Stephen Liu wrote:
 Hi all,
 
 I'm following;
 http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites
 
 to install oVirt on Fedora 17, 64bit.  I was stuck here;
 
 $ wget -O ~/.m2/settings.xml
 http://www.ovirt.org/w/images/1/18/Settings.xml.png
 .
 --2012-11-08 18:37:23--  http://www.ovirt.org/w/images/1/18/Settings.xml.png
 Resolving www.ovirt.org (www.ovirt.org)... 173.255.252.138
 Connecting to www.ovirt.org (www.ovirt.org)|173.255.252.138|:80...
 connected.
 HTTP request sent, awaiting response... 404 Not Found
 2012-11-08 18:37:24 ERROR 404: Not Found.
 
 Please advise where can I download the captioned image? 
 
 TIA
 
 B.R.
 SL
 
 
 ___
 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] Where can I download Setting.xml.png

2012-11-08 Thread Stephen Liu
Hi Moti,

Thanks for your link.

If I understand it correct;

Both locations work.

$M2_HOME/conf/settings.xml
is the global settings

${user.home}/.m2/settings.xml
is the user settings



B.R.
Stephen L




From: Moti Asayag masa...@redhat.com
To: Stephen Liu sati...@yahoo.com 
Cc: users@ovirt.org users@ovirt.org 
Sent: Thursday, November 8, 2012 9:07 PM
Subject: Re: [Users] Where can I download Setting.xml.png
 
On 11/08/2012 02:56 PM, Stephen Liu wrote:
 Hi,
 
 I see.  Thanks for your link.
 
 Where shall I have settings.xml installed?
 
 According to following document;
 http://wiki.ovirt.org/wiki/Building_Engine_Draft
 
 it should be on $HOME/.m2/settings.xml ?

Indeed - $HOME/.m2/settings.xml is the location referred by maven.

See further information from: http://maven.apache.org/settings.html

 
 B.R.
 SL
 
 
     
     *From:* Moti Asayag masa...@redhat.com
     *To:* Stephen Liu sati...@yahoo.com
     *Cc:* users@ovirt.org users@ovirt.org
     *Sent:* Thursday, November 8, 2012 7:47 PM
     *Subject:* Re: [Users] Where can I download Setting.xml.png
 
     The link is fixed in the wiki, please try:
 
     wget -O ~/.m2/settings.xml
    http://wiki.ovirt.org/w/images/1/18/Settings.xml.png
 
     On 11/08/2012 01:12 PM, Stephen Liu wrote:
      Hi all,
     
      I'm following;
      http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites
     
      to install oVirt on Fedora 17, 64bit.  I was stuck here;
     
      $ wget -O ~/.m2/settings.xml
      http://www.ovirt.org/w/images/1/18/Settings.xml.png
      .
      --2012-11-08 18:37:23-- 
    http://www.ovirt.org/w/images/1/18/Settings.xml.png
      Resolving www.ovirt.org (www.ovirt.org)... 173.255.252.138
      Connecting to www.ovirt.org (www.ovirt.org)|173.255.252.138|:80...
      connected.
      HTTP request sent, awaiting response... 404 Not Found
      2012-11-08 18:37:24 ERROR 404: Not Found.
     
      Please advise where can I download the captioned image?
     
      TIA
     
      B.R.
      SL
     
     
      ___
      Users mailing list
      Users@ovirt.org mailto:Users@ovirt.org
      http://lists.ovirt.org/mailman/listinfo/users
     
 
 
 



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


[Users] Problem on running chkconfig

2012-11-08 Thread Stephen Liu
Hi all,

OS - Fedora 17 64bit
Instruction:
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites

Problem encountered as follows;
$ sudo ln -s /usr/share/jboss-as-7.1.1.Final /usr/share/jboss-as
$ su - -c 'chmod -R 777 /usr/share/jboss-as'
lrwxrwxrwx. 1 root root 31 Nov  9 10:21 jboss-as - 
/usr/share/jboss-as-7.1.1.Final

$ chkconfig jboss-as on
error reading information on service jboss-as: No such file or directory

$ sudo chkconfig jboss-as on
error reading information on service jboss-as: No such file or directory
same problem.

Please advise how to solve the problem?  TIA

B.R
Stephen L
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Problem on creating database

2012-11-08 Thread Stephen Liu
Hi all,

OS - Fedora 17 64bit
Manual:
http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites


Creating the database 
=

$ ls /home/satimis/ | grep ovirt-engine
ovirt-engine

$OVIRT_HOME = /home/satimis

$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts
$ sudo ./create_db_devel.sh -u postgres
Running original create_db script...
Creating the database: engine
dropdb: database removal failed: ERROR:  database engine does not exist
user name is: postgres
Creating tables...
Creating functions...
Creating common functions...
Inserting data  ...
.
.
Running  upgrade sql script 
upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...
Setting development configuration values ...
Development setting done.


dropdb: database removal failed: ERROR:  database engine does not exist

Please advise how to fix the problem?  TIA

B.R.
Stephen L___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users