[Users] ovirt-sdk-python 3.3.0.1 released
by Michael Pasternak
- added new collection ClusterGlusterVolumeBrickStatistics
- added NetUp 'cloned disk' importing capabilities
- to ClusterGlusterVolumeBricks.list() added new argument "all_content"
- to ClusterGlusterVolumeBricks.get() added new argument "all_content"
- to host install method added new parameter "image"
- to host add method added new parameter "display.address"
- to vm add method added new parameter "vm.cpu.mode"
- to vm add method added new overload for creating vm from snapshot
- to cluster added tunnel_migration
- to display added keyboard_layout
- to display added smartcard_enabled
- to DataCenter added Clusters sub-collection
- to StorageDomain added Disks sub-collection
- to Disks.list() added 'unregistered' argument
- to Host added display.address
- to Snapshot added commit/preview/undo actions
- to vms.add() added overload for creating vm from snapshot
- to hosts.add() added [@param host.display.address: string]
- to vm.ticket() added [@param action.ticket.value: string]
- return error if amount of fetched objects in X.get() is > 1 #890327
- session based authentication for /localhost is broken #916285
- explicitly ask for reply in xml
- Add constructor parameter validate_cert_chain=True #915225
- defend against malformed server reply
For more details see [1].
[1] http://wiki.ovirt.org/Python-sdk-changelog
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
10 years, 11 months
[Users] Documentation: Storage Domain conversion from Data Domain to Export Domain
by Michael Ayers
This is a multipart message in MIME format.
------=_NextPart_000_018F_01CDB69A.3C5318B0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hey All,
I ran into this issue myself where I needed to convert a data domain to an
export domain in order to recover virtual guests from a corrupted
ovirt/rhevm instance into a new ovirt/rhevm instance. This wasn't
documented anywhere that I saw but with the help of Itamar Heim and an
well timed email to the list from Igor Lvovsky last night I was able to do
this and wanted to send to the list a documented procedure for how to
modify the metadata of the data domain prior to import as an export
domain. This procedure works for both RHEV-M and Ovirt. Let me know if
you have any questions.
Original Data Domain Metadata File
--------------------------------------------------
CLASS=Data
DESCRIPTION=vm-storage
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
LOCKPOLICY=
LOCKRENEWALINTERVALSEC=5
MASTER_VERSION=2
POOL_DESCRIPTION=MyPool
POOL_DOMAINS=dd8bc200-6e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-419
c-9f72-76d27bf7d788:Active,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active
POOL_SPM_ID=2
POOL_SPM_LVER=17
POOL_UUID=a207f052-f4bf-44a3-b637-c6d2020a7c41
REMOTE_PATH=nfsserver:/ovirt/vm-storage
ROLE=Master
SDUUID=66b3b243-6cc6-465f-b130-6f2cd0b70514
TYPE=NFS
VERSION=0
_SHA_CKSUM=009fa538321ac56749669127f43cc754aa59d398
Diff between Original DD Metadata File and ED Metadata File
--------------------------------------------------
--- metadata-data-storage 2012-10-30 12:24:52.484006958 -0700
+++ metadata-exp-storage 2012-10-30 12:14:59.043807789 -0700
@@ -1,5 +1,5 @@
-CLASS=Data
-DESCRIPTION=vm-storage
+CLASS=Backup
+DESCRIPTION=export-storage
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
@@ -7,13 +7,12 @@
LOCKRENEWALINTERVALSEC=5
MASTER_VERSION=2
POOL_DESCRIPTION=MyPool
-POOL_DOMAINS=dd8bc200-6e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-41
9c-9f72-76d27bf7d788:Active,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active
+POOL_DOMAINS=
POOL_SPM_ID=2
POOL_SPM_LVER=17
-POOL_UUID=a207f052-f4bf-44a3-b637-c6d2020a7c41
-REMOTE_PATH=nfsserver:/ovirt/vm-storage
-ROLE=Master
+POOL_UUID=
+REMOTE_PATH=nfsserver:/ovirt/export-storage
+ROLE=Regular
SDUUID=66b3b243-6cc6-465f-b130-6f2cd0b70514
TYPE=NFS
VERSION=0
-_SHA_CKSUM=009fa538321ac56749669127f43cc754aa59d398
Thanks,
Michael
-------------------------------------
Michael J. Ayers
Red Hat Inc.
Solutions Architect
e: <mailto:ayersmj@redhat.com> ayersmj(a)redhat.com
w: <http://www.redhat.com/> www.redhat.com
------=_NextPart_000_018F_01CDB69A.3C5318B0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hey =
All,<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>I ran into this issue myself where I needed to convert =
a data domain to an export domain in order to recover virtual guests =
from a corrupted ovirt/rhevm instance into a new ovirt/rhevm =
instance. This wasn’t documented anywhere that I saw but =
with the help of Itamar Heim and an well timed email to the list from =
Igor Lvovsky last night I was able to do this and wanted to send to the =
list a documented procedure for how to modify the metadata of the data =
domain prior to import as an export domain. This procedure works =
for both RHEV-M and Ovirt. Let me know if you have any =
questions.<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Original Data Domain =
Metadata File<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-------------------------=
-------------------------<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>CLASS=3DData<o:p></o:p></=
span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>DESCRIPTION=3Dvm-storage<=
o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>IOOPTIMEOUTSEC=3D10<o:p><=
/o:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>LEASERETRIES=3D3<o:p></o:=
p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>LEASETIMESEC=3D60<o:p></o=
:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>LOCKPOLICY=3D<o:p></o:p><=
/span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>LOCKRENEWALINTERVALSEC=3D=
5<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>MASTER_VERSION=3D2<o:p></=
o:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>POOL_DESCRIPTION=3DMyPool=
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>POOL_DOMAINS=3Ddd8bc200-6=
e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-419c-9f72-76d27bf7d788:Ac=
tive,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>POOL_SPM_ID=3D2<o:p></o:p=
></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>POOL_SPM_LVER=3D17<o:p></=
o:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>POOL_UUID=3Da207f052-f4bf=
-44a3-b637-c6d2020a7c41<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>REMOTE_PATH=3Dnfsserver:/=
ovirt/vm-storage<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>ROLE=3DMaster<o:p></o:p><=
/span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>SDUUID=3D66b3b243-6cc6-46=
5f-b130-6f2cd0b70514<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>TYPE=3DNFS<o:p></o:p></sp=
an></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>VERSION=3D0<o:p></o:p></s=
pan></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>_SHA_CKSUM=3D009fa538321a=
c56749669127f43cc754aa59d398<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span><=
/p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span><=
/p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Diff between Original DD =
Metadata File and ED Metadata File<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-------------------------=
-------------------------<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>--- =
metadata-data-storage 2012-10-30 =
12:24:52.484006958 -0700<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+++ =
metadata-exp-storage =
2012-10-30 12:14:59.043807789 -0700<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>@@ -1,5 +1,5 =
@@<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-CLASS=3DData<o:p></o:p><=
/span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-DESCRIPTION=3Dvm-storage=
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+CLASS=3DBackup<o:p></o:p=
></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+DESCRIPTION=3Dexport-sto=
rage<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
IOOPTIMEOUTSEC=3D10<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
LEASERETRIES=3D3<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
LEASETIMESEC=3D60<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>@@ -7,13 +7,12 =
@@<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
LOCKRENEWALINTERVALSEC=3D5<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
MASTER_VERSION=3D2<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
POOL_DESCRIPTION=3DMyPool<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-POOL_DOMAINS=3Ddd8bc200-=
6e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-419c-9f72-76d27bf7d788:A=
ctive,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active<o:p></o:p></span></p><p=
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+POOL_DOMAINS=3D<o:p></o:=
p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
POOL_SPM_ID=3D2<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
POOL_SPM_LVER=3D17<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-POOL_UUID=3Da207f052-f4b=
f-44a3-b637-c6d2020a7c41<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-REMOTE_PATH=3Dnfsserver:=
/ovirt/vm-storage<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-ROLE=3DMaster<o:p></o:p>=
</span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+POOL_UUID=3D<o:p></o:p><=
/span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+REMOTE_PATH=3Dnfsserver:=
/ovirt/export-storage<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>+ROLE=3DRegular<o:p></o:p=
></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
SDUUID=3D66b3b243-6cc6-465f-b130-6f2cd0b70514<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
TYPE=3DNFS<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'> =
VERSION=3D0<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-_SHA_CKSUM=3D009fa538321=
ac56749669127f43cc754aa59d398<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span><=
/p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Thanks,<o:p></o:p></span>=
</p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span><=
/p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Michael<o:p></o:p></span>=
</p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>-------------------------=
------------<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Michael J. =
Ayers<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Red Hat =
Inc.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>Solutions =
Architect<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>e: <a =
href=3D"mailto:ayersmj@redhat.com"><span =
style=3D'color:blue'>ayersmj(a)redhat.com</span></a><o:p></o:p></span></p><=
p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'>w: <a =
href=3D"http://www.redhat.com/"><span =
style=3D'color:blue'>www.redhat.com</span></a><o:p></o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span><=
/p></div></body></html>
------=_NextPart_000_018F_01CDB69A.3C5318B0--
11 years
[Users] ovirt-cli 3.3.0.1 released
by Michael Pasternak
- at vm.start() --vm-os-boot doesn't send the order of devices #921464
- rephrase status command help
- add option to retrieve system summary #854369
- accept IP address as FQ argument rather than string #886067
- fix broken pipe
- Bad error message when trying to create a new Role #908284
- add flag --dont-validate-cert-chain #915231
- collection-based-options could be passed in 2 ways #859684
- make NO_SUCH_ACTION error a bit more clear
- ovirt-cli DistributionNotFound exception on f18 #881011
- ovirt-shell misleading help for command "connect" #907943
- show event -id accept strings instead of numeric values #886786
- Use vncviewer passwordFile instead of passwdInput
More details can be found at [1].
[1] http://wiki.ovirt.org/Cli-changelog
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
11 years, 1 month
[Users] How to add internal networks
by Frank Wall
Hi,
I'm using oVirt 3.2 on a single hosts with only one NIC. Currently
there is only the ovirtmgmt network configured. But I need to add
more networks, especially some internal networks like 192.168.x.y/24
need to be usable for VMs.
From the oVirt Admin Portal this does not seem to be possible. It
seems I cannot reuse the ovirtmgmt interface for any other network.
Is this true? How am I supposed to add several networks in oVirt if
I have just one NIC?
Thanks
- Frank
11 years, 3 months
[Users] Database creation failed on engine-setup
by Robber Phex
Hi, I'm unable to complete engine-setup:
$ sudo engine-setup
Welcome to oVirt Engine setup utility
HTTP Port [8080] :
HTTPS Port [8443] :
Host fully qualified domain name, note that this name should be fully
resolvable [RobberPhex-PC] :
ERROR: domain is not a valid domain name
User input failed validation, do you still wish to use it? (yes|no): yes
Password for Administrator (admin@internal) :
Warning: Weak Password.
Confirm password :
Database password (required for secure authentication with the locally
created database) :
Warning: Weak Password.
Confirm password :
Organization Name for the Certificate: RobberPhexCloud
The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'] [NFS] :
Should the installer configure NFS share on this server to be used as an
ISO Domain? ['yes'| 'no'] [yes] :
Mount point path: /mnt/iso
Display name for the ISO Domain: RPiso
Firewall ports need to be opened.
You can let the installer configure iptables automatically overriding the
current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example iptables
file found under /usr/share/ovirt-engine/conf/iptables.example
Configure iptables ? ['yes'| 'no']: yes
oVirt Engine will be installed using the following configuration:
=================================================================
http-port: 8080
https-port: 8443
host-fqdn: RobberPhex-PC
auth-pass: ********
db-pass: ********
org-name: RobberPhexCloud
default-dc-type: NFS
nfs-mp: /mnt/iso
iso-domain-name: RPiso
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes
Installing:
Configuring oVirt-engine... [ DONE ]
Creating CA... [ DONE ]
Editing JBoss Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ ERROR ]
Database creation failed
Please check log file
/var/log/ovirt-engine/engine-setup_2012_08_13_01_01_02.log for more
information
and,It's engine-setup_2012_08_13_01_01_02.log:
2012-08-13 01:03:58::DEBUG::common_utils::196::root:: cmd = /sbin/ip addr
2012-08-13 01:03:58::DEBUG::common_utils::201::root:: output = 1: lo:
<LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
link/ether 98:4b:e1:ca:1a:ba brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
link/ether ec:55:f9:6c:54:15 brd ff:ff:ff:ff:ff:ff
inet 172.16.70.224/16 brd 172.16.255.255 scope global wlan0
inet6 fe80::ee55:f9ff:fe6c:5415/64 scope link
valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN
link/ether 52:54:00:78:30:62 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master virbr0
state DOWN qlen 500
link/ether 52:54:00:78:30:62 brd ff:ff:ff:ff:ff:ff
2012-08-13 01:03:58::DEBUG::common_utils::202::root:: stderr =
2012-08-13 01:03:58::DEBUG::common_utils::203::root:: retcode = 0
2012-08-13 01:03:58::DEBUG::common_utils::318::root:: Found IP Address:
172.16.70.224
2012-08-13 01:03:58::DEBUG::common_utils::318::root:: Found IP Address:
192.168.122.1
2012-08-13 01:03:58::DEBUG::engine-setup::2004::root:: initiating command
line option parser
2012-08-13 01:03:58::DEBUG::engine-setup::1897::root:: Entered
main(configFile='None')
2012-08-13 01:03:58::DEBUG::engine-setup::1464::root:: checking the status
of engine
2012-08-13 01:03:58::DEBUG::common_utils::196::root:: cmd = /sbin/service
ovirt-engine status
2012-08-13 01:03:58::DEBUG::common_utils::201::root:: output =
ovirt-engine.service - oVirt Engine
Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled)
Active: failed (Result: signal) since Mon, 13 Aug 2012 00:55:25
+0800; 8min ago
Main PID: 587 (code=killed, signal=KILL)
CGroup: name=systemd:/system/ovirt-engine.service
2012-08-13 01:03:58::DEBUG::common_utils::202::root:: stderr = Redirecting
to /bin/systemctl status ovirt-engine.service
2012-08-13 01:03:58::DEBUG::common_utils::203::root:: retcode = 3
2012-08-13 01:03:58::DEBUG::engine-setup::1211::root:: going over group
{'PRE_CONDITION_MATCH': True, 'DESCRIPTION': 'General configuration
parameters', 'POST_CONDITION': False, 'GROUP_NAME': 'ALL_PARAMS',
'PRE_CONDITION': False, 'POST_CONDITION_MATCH': True}
2012-08-13 01:03:59::DEBUG::engine_validators::48::root:: Validating 8080
as a valid TCP Port
2012-08-13 01:03:59::DEBUG::common_utils::175::root:: Checking if TCP port
8080 is open by any process
2012-08-13 01:03:59::DEBUG::common_utils::196::root:: cmd = /usr/sbin/lsof
-i -n -P
2012-08-13 01:03:59::DEBUG::common_utils::201::root:: output = COMMAND
PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 29u IPv6 12597 0t0 TCP *:631 (LISTEN)
systemd 1 root 30u IPv4 12598 0t0 UDP *:631
avahi-dae 606 avahi 12u IPv4 16379 0t0 UDP *:5353
avahi-dae 606 avahi 13u IPv4 16380 0t0 UDP *:57705
chronyd 648 chrony 1u IPv4 12086 0t0 UDP *:123
chronyd 648 chrony 2u IPv6 12087 0t0 UDP *:123
chronyd 648 chrony 3u IPv4 12088 0t0 UDP *:323
chronyd 648 chrony 5u IPv6 12089 0t0 UDP *:323
rpcbind 785 root 7u IPv4 18666 0t0 UDP *:111
rpcbind 785 root 8u IPv4 18667 0t0 UDP *:959
rpcbind 785 root 9u IPv4 18668 0t0 TCP *:111 (LISTEN)
rpcbind 785 root 10u IPv6 18669 0t0 UDP *:111
rpcbind 785 root 11u IPv6 18670 0t0 UDP *:959
rpcbind 785 root 12u IPv6 18671 0t0 TCP *:111 (LISTEN)
rpc.statd 828 rpcuser 5u IPv4 15226 0t0 UDP 127.0.0.1:1004
rpc.statd 828 rpcuser 8u IPv4 15296 0t0 UDP *:48348
rpc.statd 828 rpcuser 9u IPv4 15298 0t0 TCP *:49245 (LISTEN)
rpc.statd 828 rpcuser 10u IPv6 15300 0t0 UDP *:48164
rpc.statd 828 rpcuser 11u IPv6 15302 0t0 TCP *:37143 (LISTEN)
dnsmasq 885 nobody 5u IPv4 17073 0t0 UDP *:67
dnsmasq 885 nobody 6u IPv4 17077 0t0 UDP 192.168.122.1:53
dnsmasq 885 nobody 7u IPv4 17078 0t0 TCP
192.168.122.1:53(LISTEN)
rpc.mount 959 root 7u IPv4 15360 0t0 UDP *:20048
rpc.mount 959 root 8u IPv4 20482 0t0 TCP *:20048 (LISTEN)
rpc.mount 959 root 9u IPv6 20484 0t0 UDP *:20048
rpc.mount 959 root 10u IPv6 20486 0t0 TCP *:20048 (LISTEN)
httpd 986 root 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 990 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 991 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 992 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 993 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 994 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 995 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 996 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 997 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
proftpd 1002 nobody 2u IPv6 18309 0t0 TCP *:12021 (LISTEN)
mysqld 1203 mysql 10u IPv4 20816 0t0 TCP *:3306 (LISTEN)
cupsd 1780 root 4u IPv6 12597 0t0 TCP *:631 (LISTEN)
cupsd 1780 root 5u IPv4 12598 0t0 UDP *:631
cupsd 1780 root 12u IPv4 21343 0t0 TCP 127.0.0.1:631(LISTEN)
dhclient 3149 root 6u IPv4 28928 0t0 UDP *:68
dhclient 3149 root 20u IPv4 29992 0t0 UDP *:3721
dhclient 3149 root 21u IPv6 29993 0t0 UDP *:29724
firefox 3153 robberphex 50u IPv4 32247 0t0 TCP
172.16.70.224:40030->74.125.31.18:443 (ESTABLISHED)
firefox 3153 robberphex 65u IPv4 45162 0t0 TCP
172.16.70.224:60227->74.125.31.106:443 (ESTABLISHED)
firefox 3153 robberphex 66u IPv4 45185 0t0 TCP
172.16.70.224:46433->74.125.31.94:443 (ESTABLISHED)
firefox 3153 robberphex 67u IPv4 45190 0t0 TCP
172.16.70.224:37722->74.125.31.138:443 (ESTABLISHED)
telepathy 3224 robberphex 10u IPv4 28333 0t0 TCP
172.16.70.224:43924->74.125.31.125:5222 (ESTABLISHED)
telepathy 3224 robberphex 16u IPv4 31169 0t0 TCP
172.16.70.224:40980->207.46.124.170:5222 (ESTABLISHED)
telepathy 3225 robberphex 8u IPv4 30929 0t0 TCP
172.16.70.224:33843->78.40.125.4:6697 (ESTABLISHED)
plugin-co 4223 robberphex 22u IPv4 34571 0t0 TCP 127.0.0.1:33441->
127.0.0.1:38507 (ESTABLISHED)
GoogleTal 4278 robberphex 16u IPv4 36888 0t0 TCP
127.0.0.1:38507(LISTEN)
GoogleTal 4278 robberphex 18u IPv4 36895 0t0 TCP
127.0.0.1:54688(LISTEN)
GoogleTal 4278 robberphex 21u IPv4 35218 0t0 TCP 127.0.0.1:38507->
127.0.0.1:33441 (ESTABLISHED)
sendmail 4443 root 4u IPv4 37046 0t0 TCP 127.0.0.1:25(LISTEN)
postgres 5872 postgres 3u IPv4 46120 0t0 TCP
127.0.0.1:5432(LISTEN)
postgres 5872 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5875 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5876 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5877 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5878 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
2012-08-13 01:03:59::DEBUG::common_utils::202::root:: stderr =
2012-08-13 01:03:59::DEBUG::common_utils::203::root:: retcode = 0
2012-08-13 01:04:00::DEBUG::engine_validators::48::root:: Validating 8443
as a valid TCP Port
2012-08-13 01:04:00::DEBUG::common_utils::175::root:: Checking if TCP port
8443 is open by any process
2012-08-13 01:04:00::DEBUG::common_utils::196::root:: cmd = /usr/sbin/lsof
-i -n -P
2012-08-13 01:04:00::DEBUG::common_utils::201::root:: output = COMMAND
PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 29u IPv6 12597 0t0 TCP *:631 (LISTEN)
systemd 1 root 30u IPv4 12598 0t0 UDP *:631
avahi-dae 606 avahi 12u IPv4 16379 0t0 UDP *:5353
avahi-dae 606 avahi 13u IPv4 16380 0t0 UDP *:57705
chronyd 648 chrony 1u IPv4 12086 0t0 UDP *:123
chronyd 648 chrony 2u IPv6 12087 0t0 UDP *:123
chronyd 648 chrony 3u IPv4 12088 0t0 UDP *:323
chronyd 648 chrony 5u IPv6 12089 0t0 UDP *:323
rpcbind 785 root 7u IPv4 18666 0t0 UDP *:111
rpcbind 785 root 8u IPv4 18667 0t0 UDP *:959
rpcbind 785 root 9u IPv4 18668 0t0 TCP *:111 (LISTEN)
rpcbind 785 root 10u IPv6 18669 0t0 UDP *:111
rpcbind 785 root 11u IPv6 18670 0t0 UDP *:959
rpcbind 785 root 12u IPv6 18671 0t0 TCP *:111 (LISTEN)
rpc.statd 828 rpcuser 5u IPv4 15226 0t0 UDP 127.0.0.1:1004
rpc.statd 828 rpcuser 8u IPv4 15296 0t0 UDP *:48348
rpc.statd 828 rpcuser 9u IPv4 15298 0t0 TCP *:49245 (LISTEN)
rpc.statd 828 rpcuser 10u IPv6 15300 0t0 UDP *:48164
rpc.statd 828 rpcuser 11u IPv6 15302 0t0 TCP *:37143 (LISTEN)
dnsmasq 885 nobody 5u IPv4 17073 0t0 UDP *:67
dnsmasq 885 nobody 6u IPv4 17077 0t0 UDP 192.168.122.1:53
dnsmasq 885 nobody 7u IPv4 17078 0t0 TCP
192.168.122.1:53(LISTEN)
rpc.mount 959 root 7u IPv4 15360 0t0 UDP *:20048
rpc.mount 959 root 8u IPv4 20482 0t0 TCP *:20048 (LISTEN)
rpc.mount 959 root 9u IPv6 20484 0t0 UDP *:20048
rpc.mount 959 root 10u IPv6 20486 0t0 TCP *:20048 (LISTEN)
httpd 986 root 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 990 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 991 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 992 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 993 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 994 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 995 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 996 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
httpd 997 apache 3u IPv4 19590 0t0 TCP *:12080 (LISTEN)
proftpd 1002 nobody 2u IPv6 18309 0t0 TCP *:12021 (LISTEN)
mysqld 1203 mysql 10u IPv4 20816 0t0 TCP *:3306 (LISTEN)
cupsd 1780 root 4u IPv6 12597 0t0 TCP *:631 (LISTEN)
cupsd 1780 root 5u IPv4 12598 0t0 UDP *:631
cupsd 1780 root 12u IPv4 21343 0t0 TCP 127.0.0.1:631(LISTEN)
dhclient 3149 root 6u IPv4 28928 0t0 UDP *:68
dhclient 3149 root 20u IPv4 29992 0t0 UDP *:3721
dhclient 3149 root 21u IPv6 29993 0t0 UDP *:29724
firefox 3153 robberphex 50u IPv4 32247 0t0 TCP
172.16.70.224:40030->74.125.31.18:443 (ESTABLISHED)
firefox 3153 robberphex 65u IPv4 45162 0t0 TCP
172.16.70.224:60227->74.125.31.106:443 (ESTABLISHED)
firefox 3153 robberphex 66u IPv4 45185 0t0 TCP
172.16.70.224:46433->74.125.31.94:443 (ESTABLISHED)
firefox 3153 robberphex 67u IPv4 45190 0t0 TCP
172.16.70.224:37722->74.125.31.138:443 (ESTABLISHED)
telepathy 3224 robberphex 10u IPv4 28333 0t0 TCP
172.16.70.224:43924->74.125.31.125:5222 (ESTABLISHED)
telepathy 3224 robberphex 16u IPv4 31169 0t0 TCP
172.16.70.224:40980->207.46.124.170:5222 (ESTABLISHED)
telepathy 3225 robberphex 8u IPv4 30929 0t0 TCP
172.16.70.224:33843->78.40.125.4:6697 (ESTABLISHED)
plugin-co 4223 robberphex 22u IPv4 34571 0t0 TCP 127.0.0.1:33441->
127.0.0.1:38507 (ESTABLISHED)
GoogleTal 4278 robberphex 16u IPv4 36888 0t0 TCP
127.0.0.1:38507(LISTEN)
GoogleTal 4278 robberphex 18u IPv4 36895 0t0 TCP
127.0.0.1:54688(LISTEN)
GoogleTal 4278 robberphex 21u IPv4 35218 0t0 TCP 127.0.0.1:38507->
127.0.0.1:33441 (ESTABLISHED)
sendmail 4443 root 4u IPv4 37046 0t0 TCP 127.0.0.1:25(LISTEN)
postgres 5872 postgres 3u IPv4 46120 0t0 TCP
127.0.0.1:5432(LISTEN)
postgres 5872 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5875 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5876 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5877 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
postgres 5878 postgres 6u IPv4 41925 0t0 UDP 127.0.0.1:42123->
127.0.0.1:42123
2012-08-13 01:04:00::DEBUG::common_utils::202::root:: stderr =
2012-08-13 01:04:00::DEBUG::common_utils::203::root:: retcode = 0
2012-08-13 01:04:00::DEBUG::engine-setup::433::root:: setting default value
(00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF) for key (MAC_RANGE)
2012-08-13 01:04:01::INFO::engine_validators::122::root:: Validating
RobberPhex-PC as a FQDN
2012-08-13 01:04:01::INFO::engine_validators::96::root:: validating
RobberPhex-PC as a valid domain string
2012-08-13 01:04:01::DEBUG::engine-setup::519::root:: asking user: User
input failed validation, do you still wish to use it? (yes|no):
2012-08-13 01:04:03::DEBUG::engine-setup::523::root:: user answered: yes
2012-08-13 01:04:06::DEBUG::engine_validators::71::root:: Validating
password
2012-08-13 01:04:06::WARNING::engine_validators::77::root:: Password failed
check
2012-08-13 01:04:06::WARNING::engine_validators::78::root:: Traceback (most
recent call last):
File "/usr/share/ovirt-engine/scripts/engine_validators.py", line 75, in
validatePassword
cracklib.FascistCheck(param)
ValueError: it is based on a dictionary word
2012-08-13 01:04:13::DEBUG::engine_validators::71::root:: Validating
password
2012-08-13 01:04:13::WARNING::engine_validators::77::root:: Password failed
check
2012-08-13 01:04:13::WARNING::engine_validators::78::root:: Traceback (most
recent call last):
File "/usr/share/ovirt-engine/scripts/engine_validators.py", line 75, in
validatePassword
cracklib.FascistCheck(param)
ValueError: it is based on a dictionary word
2012-08-13 01:04:30::INFO::engine_validators::203::root:: validating
organization name
2012-08-13 01:04:31::INFO::engine_validators::84::root:: Validating NFS as
part of ['NFS', 'FC', 'ISCSI']
2012-08-13 01:04:31::DEBUG::engine-setup::1211::root:: going over group
{'PRE_CONDITION_MATCH': 'yes', 'DESCRIPTION': 'ISO Domain paramters',
'POST_CONDITION': False, 'GROUP_NAME': 'NFS', 'PRE_CONDITION':
'CONFIG_NFS', 'POST_CONDITION_MATCH': True}
2012-08-13 01:04:31::INFO::engine_validators::84::root:: Validating yes as
part of ['yes', 'no']
2012-08-13 01:04:36::INFO::engine_validators::17::root:: validating
/mnt/iso as a valid mount point
2012-08-13 01:04:36::DEBUG::engine_validators::288::root:: attempting to
write temp file to /mnt
2012-08-13 01:04:36::DEBUG::common_utils::349::root:: Checking available
space on /mnt
2012-08-13 01:04:36::DEBUG::common_utils::354::root:: Available space on
/mnt is 59217
2012-08-13 01:04:42::INFO::engine_validators::186::root:: validating iso
domain name
2012-08-13 01:04:42::DEBUG::engine-setup::1211::root:: going over group
{'PRE_CONDITION_MATCH': True, 'DESCRIPTION': 'Firewall related paramters',
'POST_CONDITION': False, 'GROUP_NAME': 'IPTABLES', 'PRE_CONDITION': False,
'POST_CONDITION_MATCH': True}
2012-08-13 01:04:47::INFO::engine_validators::84::root:: Validating yes as
part of ['yes', 'no']
2012-08-13 01:04:47::INFO::engine-setup::1292::root:: *** User input
summary ***
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: http-port: 8080
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: https-port: 8443
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: host-fqdn:
RobberPhex-PC
2012-08-13 01:04:47::INFO::engine-setup::1303::root:: auth-pass: ********
2012-08-13 01:04:47::INFO::engine-setup::1303::root:: db-pass: ********
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: org-name:
RobberPhexCloud
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: default-dc-type: NFS
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: nfs-mp: /mnt/iso
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: iso-domain-name: RPiso
2012-08-13 01:04:47::INFO::engine-setup::1307::root:: override-iptables: yes
2012-08-13 01:04:47::INFO::engine-setup::1309::root:: *** User input
summary ***
2012-08-13 01:04:47::DEBUG::engine-setup::519::root:: asking user: Proceed
with the configuration listed above? (yes|no):
2012-08-13 01:04:49::DEBUG::engine-setup::523::root:: user answered: yes
2012-08-13 01:04:49::DEBUG::engine-setup::1336::root:: user chose to accept
user parameters
2012-08-13 01:04:49::DEBUG::engine-setup::1923::root:: {'ORG_NAME':
'RobberPhexCloud', 'HOST_FQDN': 'RobberPhex-PC', 'AUTH_PASS_CONFIRMED':
'********', 'HTTP_PORT': '8080', 'HTTPS_PORT': '8443', 'DB_PASS_CONFIRMED':
'********', 'CONFIG_NFS': 'yes', 'AUTH_PASS': '********', 'DB_PASS':
'********', 'ISO_DOMAIN_NAME': 'RPiso', 'MAC_RANGE':
'00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF', 'NFS_MP': '/mnt/iso',
'OVERRIDE_IPTABLES': 'yes', 'DC_TYPE': 'NFS'}
2012-08-13 01:04:49::DEBUG::engine-setup::1926::root:: Entered
Configuration stage
2012-08-13 01:04:49::DEBUG::engine-setup::1016::root:: running
setMaxSharedMemory
2012-08-13 01:04:49::DEBUG::engine-setup::1390::root:: loading
/etc/sysctl.conf
2012-08-13 01:04:49::DEBUG::engine-setup::1397::root:: current shared
memory max in kernel is 35554432, there is no need to update the kernel
parameters
2012-08-13 01:04:49::DEBUG::engine-setup::1019::root:: running _createCA
2012-08-13 01:04:49::DEBUG::engine-setup::729::root:: updating
/etc/pki/ovirt-engine/cacert.template
2012-08-13 01:04:49::DEBUG::engine-setup::729::root:: updating
/etc/pki/ovirt-engine/cert.template
2012-08-13 01:04:49::DEBUG::engine-setup::647::root:: current timezone
offset is -8
2012-08-13 01:04:49::DEBUG::engine-setup::661::root:: Date string is
120812010449-0800
2012-08-13 01:04:49::DEBUG::common_utils::219::root:: Executing command -->
'/etc/pki/ovirt-engine/installCA.sh RobberPhex-PC US RobberPhexCloud engine
******** 120812010449-0800 /etc/pki/ovirt-engine RobberPhex-PC.59529'
2012-08-13 01:04:52::DEBUG::common_utils::226::root:: output =
} Creating CA...
} Creating KeyStore...
}} Converting formats...
> Importing CA certificate...
} Creating client certificate for oVirt...
}} Creating certificate request...
}} Signing certificate request...
X509v3 Subject Key Identifier:
}} Converting formats...
} Importing oVirt certificate...
} Exporting oVirt key as SSH...
2012-08-13 01:04:52::DEBUG::common_utils::227::root:: stderr = Generating
RSA private key, 1024 bit long modulus
.....................................................................++++++
...............++++++
e is 65537 (0x10001)
Using configuration from openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
organizationName :PRINTABLE:'RobberPhexCloud'
commonName :PRINTABLE:'CA-RobberPhex-PC.59529'
Certificate is to be certified until Aug 10 17:04:49 2022 GMT (3650 days)
Write out database with 1 new entries
Data Base Updated
Certificate was added to keystore
Certificate was added to keystore
Using configuration from openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
organizationName :PRINTABLE:'RobberPhexCloud'
commonName :PRINTABLE:'RobberPhex-PC'
Certificate is to be certified until Jul 17 17:04:51 2017 GMT (1800 days)
Write out database with 1 new entries
Data Base Updated
Certificate reply was installed in keystore
Certificate stored in file <keys/engine.pub.tmp>
2012-08-13 01:04:52::DEBUG::common_utils::228::root:: retcode = 0
2012-08-13 01:04:52::DEBUG::common_utils::219::root:: Executing command -->
'/etc/pki/ovirt-engine/generate-ssh-keys -s /etc/pki/ovirt-engine/.keystore
-p ******** -a engine -k /etc/pki/ovirt-engine/keys/engine_id_rsa'
2012-08-13 01:04:52::DEBUG::common_utils::226::root:: output = Finished
successfuly
2012-08-13 01:04:52::DEBUG::common_utils::227::root:: stderr =
2012-08-13 01:04:52::DEBUG::common_utils::228::root:: retcode = 0
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/pki/ovirt-engine/keys/engine.ssh.key.txt to target destination
/usr/share/ovirt-engine/deployments/ROOT.war
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/engine.ssh.key.txt uid/gid
ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/engine.ssh.key.txt mode to -1
2012-08-13 01:04:52::DEBUG::common_utils::219::root:: Executing command -->
'/usr/bin/openssl x509 -in /etc/pki/ovirt-engine/ca.pem -fingerprint -noout'
2012-08-13 01:04:52::DEBUG::common_utils::226::root:: output = SHA1
Fingerprint=38:C1:B1:E0:4F:D6:D6:18:7D:C9:29:BB:0A:AB:60:76:FC:0E:6A:4F
2012-08-13 01:04:52::DEBUG::common_utils::227::root:: stderr =
2012-08-13 01:04:52::DEBUG::common_utils::228::root:: retcode = 0
2012-08-13 01:04:52::DEBUG::common_utils::219::root:: Executing command -->
'/usr/bin/ssh-keygen -lf /etc/pki/ovirt-engine/keys/engine.ssh.key.txt'
2012-08-13 01:04:52::DEBUG::common_utils::226::root:: output = 2048
a8:7f:bd:f9:5d:6f:2d:b0:5f:68:ec:9d:8c:57:3b:63 engine (RSA)
2012-08-13 01:04:52::DEBUG::common_utils::227::root:: stderr =
2012-08-13 01:04:52::DEBUG::common_utils::228::root:: retcode = 0
2012-08-13 01:04:52::DEBUG::engine-setup::722::root:: changing ownership of
/etc/pki/ovirt-engine/ca.pem to 108/986 (uid/gid)
2012-08-13 01:04:52::DEBUG::engine-setup::724::root:: changing file
permissions for /etc/pki/ovirt-engine/ca.pem to 0750
2012-08-13 01:04:52::DEBUG::engine-setup::722::root:: changing ownership of
/etc/pki/ovirt-engine/.keystore to 108/986 (uid/gid)
2012-08-13 01:04:52::DEBUG::engine-setup::724::root:: changing file
permissions for /etc/pki/ovirt-engine/.keystore to 0750
2012-08-13 01:04:52::DEBUG::engine-setup::722::root:: changing ownership of
/etc/pki/ovirt-engine/private to 108/986 (uid/gid)
2012-08-13 01:04:52::DEBUG::engine-setup::724::root:: changing file
permissions for /etc/pki/ovirt-engine/private to 0750
2012-08-13 01:04:52::DEBUG::engine-setup::722::root:: changing ownership of
/etc/pki/ovirt-engine/private/ca.pem to 108/986 (uid/gid)
2012-08-13 01:04:52::DEBUG::engine-setup::724::root:: changing file
permissions for /etc/pki/ovirt-engine/private/ca.pem to 0750
2012-08-13 01:04:52::DEBUG::engine-setup::722::root:: changing ownership of
/etc/pki/ovirt-engine/.truststore to 108/986 (uid/gid)
2012-08-13 01:04:52::DEBUG::engine-setup::724::root:: changing file
permissions for /etc/pki/ovirt-engine/.truststore to 0750
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/pki/ovirt-engine/keys/engine.ssh.key.txt to target destination
/usr/share/ovirt-engine/deployments/ROOT.war
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/engine.ssh.key.txt uid/gid
ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/engine.ssh.key.txt mode to -1
2012-08-13 01:04:52::DEBUG::engine-setup::1016::root:: running
configJbossXml
2012-08-13 01:04:52::DEBUG::engine-setup::1710::root:: Backing up
/etc/ovirt-engine/ovirt-engine.xml into
/etc/ovirt-engine/ovirt-engine.xml.BACKUP.4141705
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/ovirt-engine/ovirt-engine.xml to target destination
/etc/ovirt-engine/ovirt-engine.xml.BACKUP.4141705
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.BACKUP.4141705 uid/gid ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.BACKUP.4141705 mode to -1
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/ovirt-engine/ovirt-engine.xml to target destination
/etc/ovirt-engine/ovirt-engine.xml.EDIT.9205173
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.EDIT.9205173 uid/gid ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.EDIT.9205173 mode to -1
2012-08-13 01:04:52::DEBUG::engine-setup::1715::root:: loading xml file
handler
2012-08-13 01:04:52::DEBUG::engine-setup::1722::root:: Configuring Jboss
2012-08-13 01:04:52::DEBUG::engine-setup::1781::root:: Configuring Jboss's
network
2012-08-13 01:04:52::DEBUG::engine-setup::1783::root:: Removing all
interfaces from the public interface
2012-08-13 01:04:52::DEBUG::engine-setup::1786::root:: Adding access to
public interface
2012-08-13 01:04:52::DEBUG::engine-setup::1789::root:: Setting ports
2012-08-13 01:04:52::DEBUG::engine-setup::1796::root:: Network has been
configured for jboss
2012-08-13 01:04:52::DEBUG::engine-setup::1802::root:: Configuring SSL for
jboss
2012-08-13 01:04:52::DEBUG::engine-setup::1804::root:: Registering web
namespaces
2012-08-13 01:04:52::DEBUG::engine-setup::1814::root:: Disabling default
welcome-content
2012-08-13 01:04:52::DEBUG::engine-setup::1818::root:: SSL has been
configured for jboss
2012-08-13 01:04:52::DEBUG::engine-setup::1725::root:: Jboss has been
configured
2012-08-13 01:04:52::DEBUG::engine-setup::1731::root:: Jboss configuration
has been saved
2012-08-13 01:04:52::DEBUG::engine-setup::1016::root:: running _editRootWar
2012-08-13 01:04:52::DEBUG::engine-setup::595::root:: update
/etc/ovirt-engine/web-conf.js with http & ssl urls
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/ovirt-engine/web-conf.js to target destination
/usr/share/ovirt-engine/deployments/ROOT.war
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/web-conf.js uid/gid ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/web-conf.js mode to -1
2012-08-13 01:04:52::DEBUG::engine-setup::583::root:: copying
/etc/pki/ovirt-engine/ca.pem to
/usr/share/ovirt-engine/deployments/ROOT.war/ca.crt
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/pki/ovirt-engine/ca.pem to target destination
/usr/share/ovirt-engine/deployments/ROOT.war/ca.crt
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/ca.crt uid/gid ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/usr/share/ovirt-engine/deployments/ROOT.war/ca.crt mode to -1
2012-08-13 01:04:52::DEBUG::engine-setup::1635::root:: checking if rhevm db
is already installed..
2012-08-13 01:04:52::DEBUG::common_utils::235::root:: running sql query
engine on db: 'select 1'.
2012-08-13 01:04:52::DEBUG::common_utils::196::root:: cmd = /usr/bin/psql
-U postgres -d engine -c "select 1"
2012-08-13 01:04:52::DEBUG::common_utils::201::root:: output =
2012-08-13 01:04:52::DEBUG::common_utils::202::root:: stderr = psql: FATAL:
database "engine" does not exist
2012-08-13 01:04:52::DEBUG::common_utils::203::root:: retcode = 2
2012-08-13 01:04:52::DEBUG::engine-setup::1016::root:: running
_updatePgPassFile
2012-08-13 01:04:52::DEBUG::engine-setup::950::root:: found existing pgpass
file, backing current to /root/.pgpass.2012_08_13_01_04_52
2012-08-13 01:04:52::DEBUG::engine-setup::1016::root:: running
_encryptDBPass
2012-08-13 01:04:52::DEBUG::common_utils::219::root:: Executing command -->
'/etc/pki/ovirt-engine/encryptpasswd.sh ********'
2012-08-13 01:04:52::DEBUG::common_utils::226::root:: output = Encoded
password: -39a96ce1daaca3a5
2012-08-13 01:04:52::DEBUG::common_utils::227::root:: stderr =
2012-08-13 01:04:52::DEBUG::common_utils::228::root:: retcode = 0
2012-08-13 01:04:52::DEBUG::common_utils::376::root:: found new parsed
string: -39a96ce1daaca3a5
2012-08-13 01:04:52::DEBUG::engine-setup::1016::root:: running
configEncryptedPass
2012-08-13 01:04:52::DEBUG::engine-setup::1677::root:: Backing up
/etc/ovirt-engine/ovirt-engine.xml into None
2012-08-13 01:04:52::DEBUG::common_utils::406::root:: successfully copied
file /etc/ovirt-engine/ovirt-engine.xml to target destination
/etc/ovirt-engine/ovirt-engine.xml.EDIT.6399505
2012-08-13 01:04:52::DEBUG::common_utils::414::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.EDIT.6399505 uid/gid ownership
2012-08-13 01:04:52::DEBUG::common_utils::417::root:: setting file
/etc/ovirt-engine/ovirt-engine.xml.EDIT.6399505 mode to -1
2012-08-13 01:04:52::DEBUG::engine-setup::1681::root:: loading xml file
handler
2012-08-13 01:04:52::DEBUG::engine-setup::1742::root:: Configuring security
for jboss
2012-08-13 01:04:52::DEBUG::engine-setup::1744::root:: Registering security
namespaces
2012-08-13 01:04:53::DEBUG::engine-setup::1774::root:: Security has been
configured for jboss
2012-08-13 01:04:53::DEBUG::engine-setup::1693::root:: Jboss configuration
has been saved
2012-08-13 01:04:53::DEBUG::engine-setup::1016::root:: running _createDB
2012-08-13 01:04:53::DEBUG::engine-setup::806::root:: installing postgres db
2012-08-13 01:04:53::DEBUG::engine-setup::809::root:: engine db creation is
logged at /var/log/ovirt-engine//engine-db-install-2012_08_13_01_04_53.log
2012-08-13 01:04:53::DEBUG::common_utils::219::root:: Executing command -->
'/usr/share/ovirt-engine/dbscripts/engine-db-install.sh
engine-db-install-2012_08_13_01_04_53.log ********'
2012-08-13 01:04:56::DEBUG::common_utils::226::root:: output = error,
failed creating enginedb
2012-08-13 01:04:56::DEBUG::common_utils::227::root:: stderr =
2012-08-13 01:04:56::DEBUG::common_utils::228::root:: retcode = 1
2012-08-13 01:04:56::DEBUG::engine-setup::1614::root:: *** The following
params were used as user input:
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: override-iptables:
yes
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: http-port: 8080
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: https-port: 8443
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: mac-range:
00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: host-fqdn:
RobberPhex-PC
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: auth-pass: ********
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: db-pass: ********
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: org-name:
RobberPhexCloud
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: default-dc-type: NFS
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: config-nfs: yes
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: nfs-mp: /mnt/iso
2012-08-13 01:04:56::DEBUG::engine-setup::1618::root:: iso-domain-name:
RPiso
2012-08-13 01:04:56::ERROR::engine-setup::2115::root:: Traceback (most
recent call last):
File "/bin/engine-setup", line 2109, in <module>
main(confFile)
File "/bin/engine-setup", line 1930, in main
runMainFunctions(conf)
File "/bin/engine-setup", line 1852, in runMainFunctions
runFunction([_createDB, _updateVDCOptions],
output_messages.INFO_CREATE_DB)
File "/bin/engine-setup", line 1026, in runFunction
raise Exception(instance)
Exception: Database creation failed
I think postgresql-Mon.log is useful:
LOG: database system was shut down at 2012-08-13 01:00:57 CST
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
FATAL: database "engine" does not exist
LOG: received fast shutdown request
LOG: aborting any active transactions
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
LOG: database system was shut down at 2012-08-13 01:01:46 CST
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
FATAL: database "engine" does not exist
ERROR: database "engine" does not exist
STATEMENT: DROP DATABASE engine;
ERROR: extension "uuid-ossp" already exists
STATEMENT: CREATE EXTENSION "uuid-ossp";
Any idea whats wrong and how I can fix it?
11 years, 3 months
[Users] Problem Creating "oVirt Engine" - Stuck on FQDN
by Richie@HIP
--Apple-Mail=_AD180662-4FCF-4C73-B3D5-7EED0DCBC0AA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252
hi oVirt Community.
This will be my first posting for help to the oVirt community, so please =
bear with me I'f I'm not to the etiquette standards you might have =
already.
I'm trying to test oVirt as a FOSS Virtualization solution for small- to =
medium-sized healthcare organizations implementing various health =
information technology solutions (HIT) that the new health care reform =
is requiring. As a Clinical informatist, I'm very concerned about =
health care costs, hence I'm pushing for open source to take a wider =
stance in U.S. health care to reduce costs where possible and divert =
moneys to patient care. Now enough with my altruistic desires, and let =
go into the deep.
I'm trying to create "virtual machines" (using VirtualBox, Parallels =
and/or VMWare Workstation); mainly one for "oVirt Engine"; ind later a =
the second one for "oVirt Nodes". This way, these VM's files can be =
copier to any hardware and underlying OS, so at least the "Virt Engine" =
is easily installed and brought-up to facilitate managing oVirt Nodes. =
I considered creating ".iso" images of each component (Engine and Nodes) =
but I'm afraid this will hit the wall for linux novices when installing =
the ".iso" images in different hardware platforms (with different =
processors, number of cores, RAM, chipsets, etc.)
I've begun with creating a VM for oVirt Engine under Parallels (albeit I =
began with VirtualBox, but drivers "client additions" aren't compatible =
with Fedora 18 - so I'll migrate this Parallels VM to VB once it is =
operational) Fedora 18 installed without a single problem. I then =
installed all "oVirt Engine" requirements by performing the instructions =
published in http://www.ovirt.org/Download - that is:
First:=20
sudo yum localinstall =
http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm
Second: =20
sudo yum install -y ovirt-engine
Third: =85I get stuck=85!!!
When I am performing the third step, I hit the fan. Each time I perform =
the third step shown in the aforementioned web page (i.e. sudo =
engine-setup), the "Welcome to oVirt Engine setup utility" appears and =
begins to run until I reach the point where I need to define a "Fully =
Qualified Domain Name." =20
NOTE - A video of how to install oVirt in a single machine, entitled =
"Installing oVirt on a single machine" (at: =
http://www.ovirt.org/Documentation) shows the process (with some =
exemptions because it was recorded while oVirt v3.x was in beta), but I =
don't get what the video shows=85!!!
This is what I do and before getting stuck in the "FQDN thing" (no pun =
intended=85!!!). As third-step, I enter:
sudo engine-setup
I follow the prompts that appear after the "Welcome to oVirt Engine =
setup utility" is shown in the terminal window until I get to the =
prompt:
=20
Host fully qualified domain name. Note: this name should be =
fully resolvable [localhost.localdomain] :=20
If I press "Enter", I get=85:
The IP (127.0.0.1) which was resolved from the FQDN =
localhost.localdomain is not configured on any non loopback interface on =
this host
I figured that in order to define a FQDNm I had to expose my "oVirt =
Engine" VN to the Internet. Since I'm doing all from home (where I'm =
limited to a "Dynamic IP", albeit, which hardly-ever changes) I went to =
DynDns.org and created an entry so my "FQDN Text-URL" would resolve to =
the IP where I'm at. I also modified my Domain's DNS and entered a "DNS =
Alias" named "dcmanagement", defining this "DNS alias" to resolve into =
my IP by going to DynDNS.org to get my "Public IP". Hence, the alias =
"dcmanagement1" resolves by going to "healthcareinfopartners.dyndns.org" =
and gets my Public IP.
NOTE - To test this setup, I do "ping" to either =
"healthcareinfopartners.dyndns.org" or =
"dcmanagement1.healthcareinfopartners.dyndns.org" and I get my Dynamic =
Public IP back. Once the "Text URL" issue was returning my IP (as FQDN =
expect) I repeated the:=20
sudo engine-setup
Upon reaching:
Host fully qualified domain name. Note: this name should be =
fully resolvable [localhost.localdomain] :=20
I entered "dcmanagement1.healthcareinfopartners.com" and got my Public =
IP back with the following message:
The IP (70.45.xxx.xx) which was resolved from the FQDN =
dcmanagement1.healthcareinfopartners.com is not configured on any non =
loopback interface on this host
Now, here's the question. What does anyone suggest I do to overcome the =
FQDN setting and continue the installation process=85?
=20
Jos=E9 E ("Richie") Piovanetti, MD, MS=20
M: 787-615-4884 | richiepiovanetti(a)healthcareinfopartners.com
--Apple-Mail=_AD180662-4FCF-4C73-B3D5-7EED0DCBC0AA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hi =
oVirt Community.<div><br></div><div>This will be my first posting for =
help to the oVirt community, so please bear with me I'f I'm not to the =
etiquette standards you might have already.</div><div><br></div><div>I'm =
trying to test oVirt as a FOSS Virtualization solution for small- to =
medium-sized healthcare organizations implementing various health =
information technology solutions (HIT) that the new health care reform =
is requiring. As a Clinical informatist, I'm very concerned about =
health care costs, hence I'm pushing for open source to take a wider =
stance in U.S. health care to reduce costs where possible and divert =
moneys to patient care. Now enough with my altruistic desires, and =
let go into the deep.</div><div><br></div><div>I'm trying to create =
"virtual machines" (using VirtualBox, Parallels and/or VMWare =
Workstation); mainly one for "oVirt Engine"; ind later a the second one =
for "oVirt Nodes". This way, these VM's files can be copier to any =
hardware and underlying OS, so at least the "Virt Engine" is easily =
installed and brought-up to facilitate managing oVirt Nodes. I =
considered creating ".iso" images of each component (Engine and Nodes) =
but I'm afraid this will hit the wall for linux novices when installing =
the ".iso" images in different hardware platforms (with different =
processors, number of cores, RAM, chipsets, =
etc.)</div><div><br></div><div>I've begun with creating a VM for oVirt =
Engine under Parallels (albeit I began with VirtualBox, but drivers =
"client additions" aren't compatible with Fedora 18 - so I'll migrate =
this Parallels VM to VB once it is operational) Fedora 18 =
installed without a single problem. I then installed all "oVirt =
Engine" requirements by performing the instructions published in <a =
href=3D"http://www.ovirt.org/Download">http://www.ovirt.org/Download</a> =
- that is:</div><div><br></div><div><b>First:</b> </div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span> sudo yum localinstall <a =
href=3D"http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm">http://=
ovirt.org/releases/ovirt-release-fedora.noarch.rpm</a></div><div><br></div=
><div><b>Second:</b> </div><div><span style=3D"font-family: =
Courier; "><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>sudo yum install -y =
ovirt-engine</span></div><div><br></div><div><b>Third:</b> =85I =
get stuck=85!!!</div><div><br></div><div>When I am performing the =
<b>third</b> step, I hit the fan. Each time I perform the third =
step shown in the aforementioned web page (i.e. <font =
face=3D"Courier">sudo engine-setup</font>), the "<b>Welcome to oVirt =
Engine setup utility</b>" appears and begins to run until I reach the =
point where I need to define a "<i><b>Fully Qualified Domain =
Name</b></i>." </div><div><br></div><div><i>NOTE - A video of how =
to install oVirt in a single machine, entitled "Installing oVirt on =
a single machine" (at: <a =
href=3D"http://www.ovirt.org/Documentation">http://www.ovirt.org/Documenta=
tion</a>) shows the process (with some exemptions because it was =
recorded while oVirt v3.x was in beta), but I don't get what the video =
shows=85!!!</i></div><div><br></div><div>This is what I do and before =
getting stuck in the "FQDN thing" (no pun intended=85!!!). <b>As =
third-step, I enter:</b></div><div><br></div><div><font =
face=3D"Courier"><span class=3D"Apple-tab-span" style=3D"white-space:pre">=
</span>sudo engine-setup</font></div><div><br></div><div>I =
follow the prompts that appear after the <i>"Welcome to oVirt Engine =
setup utility"</i> is shown in the terminal =
window until I get to the prompt:</div><div><span =
style=3D"font-family: Courier; "> </span></div><div><span =
style=3D"font-family: Courier; "><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>Host fully qualified domain name. =
Note: this name should be fully resolvable</span><span =
style=3D"font-family: Courier; "> </span><span =
style=3D"font-family: Courier; ">[localhost.localdomain] :</span><span =
style=3D"font-family: Courier; "> </span></div><div><div><font =
face=3D"Courier"><br></font></div><div><b>If I press "Enter", I =
get=85:<br></b><font face=3D"Courier"><br></font></div><div><font =
face=3D"Courier"><span class=3D"Apple-tab-span" style=3D"white-space:pre">=
</span>The IP (127.0.0.1) which was resolved from the FQDN =
localhost.localdomain is not configured on any non loopback interface on =
this host<br></font><br>I figured that in order to define a FQDNm I had =
to expose my "oVirt Engine" VN to the Internet. Since I'm doing =
all from home (where I'm limited to a "Dynamic IP", albeit, which =
hardly-ever changes) I went to <a =
href=3D"http://DynDns.org">DynDns.org</a> and created an entry so my =
"FQDN Text-URL" would resolve to the IP where I'm at. I also =
modified my Domain's DNS and entered a "DNS Alias" named "dcmanagement", =
defining this "DNS alias" to resolve into my IP by going to <a =
href=3D"http://DynDNS.org">DynDNS.org</a> to get my "Public IP". =
Hence, <b>the alias "dcmanagement1" resolves by going =
to "<a =
href=3D"http://healthcareinfopartners.dyndns.org">healthcareinfopartners.d=
yndns.org</a>" and gets my Public IP.</b></div><div><br></div><div>NOTE =
- To test this setup, I do "ping" to either "<i><a =
href=3D"http://healthcareinfopartners.dyndns.org">healthcareinfopartners.d=
yndns.org</a></i>" or "<i><a =
href=3D"http://dcmanagement1.healthcareinfopartners.dyndns.org">dcmanageme=
nt1.healthcareinfopartners.dyndns.org</a></i>" and I get my Dynamic =
Public IP back. Once the "Text URL" issue was returning my IP (as =
FQDN expect) I repeated the: </div><div><br><span =
class=3D"Apple-tab-span" style=3D"font-family: Courier; white-space: =
pre; "> </span><span style=3D"font-family: Courier; ">sudo =
engine-setup</span><br><br>Upon reaching:<br><br><font =
face=3D"Courier"><span class=3D"Apple-tab-span" style=3D"white-space:pre">=
</span>Host fully qualified domain name. Note: this name should =
be fully resolvable [localhost.localdomain] =
:</font> </div><div><br></div><div>I entered <b>"<a =
href=3D"http://dcmanagement1.healthcareinfopartners.com">dcmanagement1.hea=
lthcareinfopartners.com</a>"</b> and got my Public IP back with the =
following message:<br><br><font face=3D"Courier"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>The IP =
(70.45.xxx.xx) which was resolved from the FQDN <a =
href=3D"http://dcmanagement1.healthcareinfopartners.com">dcmanagement1.hea=
lthcareinfopartners.com</a> is not configured on any non loopback =
interface on this host</font><br><br><br><b>Now, here's the question. =
What does anyone suggest I do to overcome the FQDN setting and =
continue the installation =
process=85?</b><br><div><br></div><div> <br><div =
apple-content-edited=3D"true">
<div style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
medium; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: medium; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div><b><br class=3D"Apple-interchange-newline">Jos=E9=
E ("Richie") Piovanetti, MD, MS</b> </div><div>M: 787-615-4884 | =
<a =
href=3D"mailto:richiepiovanetti@healthcareinfopartners.com">richiepiovanet=
ti(a)healthcareinfopartners.com</a></div><div><br></div></div></span><br =
class=3D"Apple-interchange-newline"></div></span><br =
class=3D"Apple-interchange-newline"></div></span><br =
class=3D"Apple-interchange-newline"></span><br =
class=3D"Apple-interchange-newline"></div>
</div>
<br></div></div></div></body></html>=
--Apple-Mail=_AD180662-4FCF-4C73-B3D5-7EED0DCBC0AA--
11 years, 4 months
[Users] invalid vgs
by Eduardo Ramos
This is a multi-part message in MIME format.
--------------050000080507040901030409
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi all!
My SPM has logging such a strange message on vdsm.log. I tries to get
information from a VG that doesn't exist. In fact, I don't know where it
got the id " 0226b818-59a6-41bc-8590-91f520aa7859". The log of vdsm can
be read here: http://pastebin.com/mZcSLzxi
Could anybody help me?
Thanks.
--------------050000080507040901030409
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all!<br>
<br>
My SPM has logging such a strange message on vdsm.log. I tries to
get information from a VG that doesn't exist. In fact, I don't know
where it got the id "
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
0226b818-59a6-41bc-8590-91f520aa7859". The log of vdsm can be read
here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://pastebin.com/mZcSLzxi">http://pastebin.com/mZcSLzxi</a><br>
<br>
Could anybody help me?<br>
<br>
Thanks.<br>
</body>
</html>
--------------050000080507040901030409--
11 years, 4 months
[Users] Guest Agent
by suporte@logicworks.pt
------=_Part_24260_2085822951.1368902281445
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi, where can I found guest agent for installation?
Thanks
Jose
--
Jose Ferradeira
http://www.logicworks.pt
------=_Part_24260_2085822951.1368902281445
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><body><div style="font-family: Times New Roman; font-size: 10pt; color: #000000"><div>Hi, where can I found guest agent for installation?<br></div><div><br></div><div>Thanks<br></div><div>Jose<br></div><div><br></div><div>-- <br></div><div><span name="x"></span><hr style="width: 100%; height: 2px;" data-mce-style="width: 100%; height: 2px;">Jose Ferradeira<br>http://www.logicworks.pt<br><span name="x"></span><br></div></div></body></html>
------=_Part_24260_2085822951.1368902281445--
11 years, 4 months
[Users] Fibre channel - LVM problems
by Łukasz Faber
Hello,
I'm trying to set up an oVirt 3.2.1 cluster with FC storage.
However, I have encountered a problem when adding the storage to the
cluster. The action fails with the error shown in the log fragment
below.
Thread-628::DEBUG::2013-07-25 21:07:56,385::task::568::TaskManager.Task::(_updateState) Task=`2a9c1ec3-3ab7-467c-949d-f47260e95dda`::moving from state init -> state preparing
Thread-628::INFO::2013-07-25 21:07:56,386::logUtils::41::dispatcher::(wrapper) Run and protect: createVG(vgname='7d6f6cd0-608a-4221-aca4-67fffb874b45', devlist=['3600a0b800074a36e000006e951f14e7d'], force=False, options=None)
Thread-628::DEBUG::2013-07-25 21:07:56,387::misc::84::Storage.Misc.excCmd::(<lambda>) '/usr/bin/sudo -n /sbin/lvm pvcreate --config " devices { preferred_names = [\\"^/dev/mapper/\\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \\"a%3600a0b800074a36e000006e951f14e7d%\\", \\"r%.*%\\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --metadatasize 128m --metadatacopies 2 --metadataignore y /dev/mapper/3600a0b800074a36e000006e951f14e7d' (cwd None)
Thread-628::DEBUG::2013-07-25 21:07:56,427::misc::84::Storage.Misc.excCmd::(<lambda>) SUCCESS: <err> = ''; <rc> = 0
Thread-628::DEBUG::2013-07-25 21:07:56,428::lvm::471::OperationMutex::(_invalidatepvs) Operation 'lvm invalidate operation' got the operation mutex
Thread-628::DEBUG::2013-07-25 21:07:56,428::lvm::474::OperationMutex::(_invalidatepvs) Operation 'lvm invalidate operation' released the operation mutex
Thread-628::DEBUG::2013-07-25 21:07:56,429::misc::84::Storage.Misc.excCmd::(<lambda>) '/usr/bin/sudo -n /sbin/lvm pvchange --config " devices { preferred_names = [\\"^/dev/mapper/\\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \\"a%3600a0b800074a36e000006e951f14e7d%\\", \\"r%.*%\\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --metadataignore n /dev/mapper/3600a0b800074a36e000006e951f14e7d' (cwd None)
Thread-628::DEBUG::2013-07-25 21:07:56,468::misc::84::Storage.Misc.excCmd::(<lambda>) FAILED: <err> = ' No device found for PV W8eewg-xskW-2b4S-NJf6-6aux-ySua-1kAU9J.\n /dev/mapper/3600a0b800074a36e000006e951f14e7d: lseek 18446744073575333888 failed: Invalid argument\n /dev/mapper/3600a0b800074a36e000006e951f14e7d: lseek 18446744073575333888 failed: Invalid argument\n Failed to store physical volume "/dev/mapper/3600a0b800074a36e000006e951f14e7d"\n'; <rc> = 5
Thread-628::ERROR::2013-07-25 21:07:56,470::task::833::TaskManager.Task::(_setError) Task=`2a9c1ec3-3ab7-467c-949d-f47260e95dda`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 840, in _run
return fn(*args, **kargs)
File "/usr/share/vdsm/logUtils.py", line 42, in wrapper
res = f(*args, **kwargs)
File "/usr/share/vdsm/storage/hsm.py", line 1951, in createVG
(force.capitalize() == "True")))
File "/usr/share/vdsm/storage/lvm.py", line 865, in createVG
raise se.PhysDevInitializationError(pvs[0])
PhysDevInitializationError: Failed to initialize physical device: ('/dev/mapper/3600a0b800074a36e000006e951f14e7d',)
Thread-628::DEBUG::2013-07-25 21:07:56,473::task::852::TaskManager.Task::(_run) Task=`2a9c1ec3-3ab7-467c-949d-f47260e95dda`::Task._run: 2a9c1ec3-3ab7-467c-949d-f47260e95dda ('7d6f6cd0-608a-4221-aca4-67fffb874b45', ['3600a0b800074a36e000006e951f14e7d'], False) {} failed - stopping task
As you can see, the PV is created but the next action (pvchange) fails
due to a wrong lseek parameter value. I have pinpointed the problem to the
metadatacopies parameter (a manually created PV without this parameter
works fine).
I have found a similar issue here:
https://www.redhat.com/archives/lvm-devel/2011-February/msg00127.html
List of PVs after the error:
# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/3600a0b800074a36e000006e951f14e7d lvm2 a-- 100,00g 100,00g
/dev/sdb2 fedora lvm2 a-- 556,44g 0
# pvck -v /dev/mapper/3600a0b800074a36e000006e951f14e7d
Scanning /dev/mapper/3600a0b800074a36e000006e951f14e7d
Found label on /dev/mapper/3600a0b800074a36e000006e951f14e7d, sector 1, type=LVM2 001
Found text metadata area: offset=4096, size=135262208
Huge memory allocation (size 50003968) rejected - metadata corruption?
Bounce buffer malloc failed
Read from /dev/mapper/3600a0b800074a36e000006e951f14e7d failed
Found text metadata area: offset=107239964672, size=134217728
Huge memory allocation (size 50003968) rejected - metadata corruption?
Bounce buffer malloc failed
Read from /dev/mapper/3600a0b800074a36e000006e951f14e7d failed
The OS is Fedora 19.
# lvm version
LVM version: 2.02.98(2) (2012-10-15)
Library version: 1.02.77 (2012-10-15)
Driver version: 4.24.0
Best regards,
Łukasz
11 years, 4 months