[Engine-devel] Build ovirt from srpms and install

Paco qw qw.iampaco at gmail.com
Fri May 17 10:00:37 UTC 2013


Hi!

Trying to build an RPM of ovirt in Centos 6.2.
Srpms take away http://resources.ovirt.org/releases/3.2/rpm/EL/6/SRPMS/
execute commands engine-cleanup get an error

Installing:
Configuring oVirt Engine...                             [ DONE ]
Configuring JVM...                                      [ DONE ]
Creating CA...                                          [ DONE ]
Updating ovirt-engine service...                        [ DONE ]
Setting Database Configuration...                       [ DONE ]
Setting Database Security...                            [ DONE ]
Creating Database...                                 [ ERROR ]
Database creation failed
Please check log file
/var/log/ovirt-engine/engine-setup_2011_11_24_05_36_26.log for more
information

In log file - psql: FATAL:  database "engine" does not exist

]0;root at rhevm8:/usr/lib/jvm[root at rhevm8 jvm]#
]0;root at rhevm8:/usr/lib/jvm[root at rhevm8 jvm]#
]0;root at rhevm8:/usr/lib/jvm[root at rhevm8 jvm]#
]0;root at rhevm8:/usr/lib/jvm[root at rhevm8 jvm]# moll
java-1.7.0-openjdk-1.7.0.9.x86_64/jre/bin/bin/
cd
/usr/lib/jvm/ll /usr/lib/jvm/jre-1.7.0-openjdk.x86_64
more
/var/log/ovirt-engine/engine-setup_2011_11_24_05_17_02.log

/var/log/ovirt-engine/engine-setup_2011_11_24_05_17_02.log
c
/var/log/ovirt-engine/engine-setup_2011_11_24_05_17_02.log
a
/var/log/ovirt-engine/engine-setup_2011_11_24_05_17_02.log
t
/var/log/ovirt-engine/engine-setup_2011_11_24_05_17_02.log

2011-11-24 05:17:02::DEBUG::engine-setup::2279::root:: importing module
example_plugin_000, from file example_plugin_000.py
2011-11-24 05:17:02::DEBUG::example_plugin_000::17::root:: plugin
example_plugin_000 loaded
2011-11-24 05:17:02::DEBUG::common_utils::1282::root:: checking if
firewalld service is available
2011-11-24 05:17:02::DEBUG::common_utils::1282::root:: checking if iptables
service is available
2011-11-24 05:17:02::DEBUG::common_utils::434::root:: Executing command -->
'/sbin/ip addr'
2011-11-24 05:17:02::DEBUG::common_utils::472::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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
    link/ether 00:21:5a:ac:0b:b6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.91.166/25 brd 192.168.91.255 scope global eth0
    inet6 fe80::221:5aff:feac:bb6/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:21:5a:ac:0b:dc brd ff:ff:ff:ff:ff:ff

2011-11-24 05:17:02::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:02::DEBUG::common_utils::593::root:: Found IP Address:
192.168.91.166
2011-11-24 05:17:02::DEBUG::engine-setup::2228::root:: initiating command
line option parser
2011-11-24 05:17:02::DEBUG::engine-setup::2195::root:: checking total memory
2011-11-24 05:17:02::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/free -m'
2011-11-24 05:17:02::DEBUG::common_utils::472::root:: output =
total       used       free     shared    buffers     cached
Mem:         13928       7087       6841          0         44       6579
-/+ buffers/cache:        463      13465
Swap:        16111          0      16111

2011-11-24 05:17:02::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:02::DEBUG::engine-setup::2207::root:: Found a match,
amount of memory: 13928
2011-11-24 05:17:02::DEBUG::common_utils::332::root:: YUM: VERB: Loaded
plugins: fastestmirror, presto, versionlock
2011-11-24 05:17:02::DEBUG::engine-setup::2097::root:: Entered
main(configFile='None')
2011-11-24 05:17:02::DEBUG::engine-setup::1888::root:: stopping
ovirt-engine service
2011-11-24 05:17:02::DEBUG::common_utils::1266::root:: getting status for
ovirt-engine
2011-11-24 05:17:02::DEBUG::common_utils::1275::root:: executing action
ovirt-engine on service status
2011-11-24 05:17:02::DEBUG::common_utils::434::root:: Executing command -->
'/sbin/service ovirt-engine status'
2011-11-24 05:17:02::DEBUG::common_utils::472::root:: output = The engine
is not running.

2011-11-24 05:17:02::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:02::DEBUG::common_utils::474::root:: retcode = 3
2011-11-24 05:17:02::DEBUG::engine-setup::1597::root:: going over group
PORTS
2011-11-24 05:17:02::DEBUG::common_utils::1326::root:: retrieving version
for ipa-server rpm
2011-11-24 05:17:02::DEBUG::common_utils::332::root:: YUM: VERB: Loaded
plugins: fastestmirror, presto, versionlock
2011-11-24 05:17:02::DEBUG::common_utils::332::root:: YUM: VERB: Loading
mirror speeds from cached hostfile
2011-11-24 05:17:13::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: epel/metalink (0%)
2011-11-24 05:17:13::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: epel/metalink 20 k(100%)
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:  * base:
centos-mirror.rbc.ru
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:  *
c6-media:
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:  * epel:
mirror.yandex.ru
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdia5nU5tmp.xml (0%)
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdia5nU5tmp.xml 3.7 k(100%)
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdsydpX3tmp.xml (0%)
2011-11-24 05:17:17::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdsydpX3tmp.xml 4.0 k(100%)
2011-11-24 05:17:18::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdtkXySWtmp.xml (0%)
2011-11-24 05:17:18::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdtkXySWtmp.xml 1.3 k(100%)
2011-11-24 05:17:18::DEBUG::common_utils::1347::root:: getRpmVersion failed
Traceback (most recent call last):
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1344, in
installed
    getRpmVersion(rpmName=rpm)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1338, in
getRpmVersion
    raise Exception(output_messages.ERR_READ_RPM_VER % rpmName)
Exception: Error reading version number for package ipa-server
2011-11-24 05:17:18::DEBUG::common_utils::1326::root:: retrieving version
for freeipa-server rpm
2011-11-24 05:17:18::DEBUG::common_utils::332::root:: YUM: VERB: Loaded
plugins: fastestmirror, presto, versionlock
2011-11-24 05:17:18::DEBUG::common_utils::332::root:: YUM: VERB: Loading
mirror speeds from cached hostfile
2011-11-24 05:17:20::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: epel/metalink (0%)
2011-11-24 05:17:20::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: epel/metalink 20 k(100%)
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:  * base:
mirror.majorhost.net
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:  *
c6-media:
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:  * epel:
mirror.yandex.ru
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdJIgPbAtmp.xml (0%)
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdJIgPbAtmp.xml 3.7 k(100%)
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdYNz_Eutmp.xml (0%)
2011-11-24 05:17:24::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdYNz_Eutmp.xml 4.0 k(100%)
2011-11-24 05:17:25::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdQ8r269tmp.xml (0%)
2011-11-24 05:17:25::DEBUG::common_utils::332::root:: YUM: VERB:
Downloading: repomdQ8r269tmp.xml 1.3 k(100%)
2011-11-24 05:17:26::DEBUG::common_utils::1347::root:: getRpmVersion failed
Traceback (most recent call last):
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1344, in
installed
    getRpmVersion(rpmName=rpm)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1338, in
getRpmVersion
    raise Exception(output_messages.ERR_READ_RPM_VER % rpmName)
Exception: Error reading version number for package freeipa-server
2011-11-24 05:17:26::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'True', and match: 'True'
2011-11-24 05:17:28::INFO::engine_validators::199::root::
validateOverrideHttpdConfAndChangePortsAccordingly y as part of ['yes',
'no']
2011-11-24 05:17:28::INFO::engine_validators::182::root:: Validating y as
part of ['yes', 'no']
2011-11-24 05:17:28::DEBUG::engine_validators::207::root:: stopping httpd
service
2011-11-24 05:17:28::DEBUG::common_utils::1238::root:: stopping httpd
2011-11-24 05:17:28::DEBUG::common_utils::1275::root:: executing action
httpd on service stop
2011-11-24 05:17:28::DEBUG::common_utils::434::root:: Executing command -->
'/sbin/service httpd stop'
2011-11-24 05:17:28::DEBUG::common_utils::472::root:: output = Stopping
httpd: [FAILED]


2011-11-24 05:17:28::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:28::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:29::DEBUG::engine_validators::62::root:: Validating 80 as
a valid TCP Port
2011-11-24 05:17:29::DEBUG::common_utils::398::root:: Checking if TCP port
80 is open by any process
2011-11-24 05:17:29::DEBUG::common_utils::434::root:: Executing command -->
'/usr/sbin/lsof -i -n -P'
2011-11-24 05:17:29::DEBUG::common_utils::472::root:: output = COMMAND
PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
rpcbind   1225      rpc    6u  IPv4   9182      0t0  UDP *:111
rpcbind   1225      rpc    7u  IPv4   9186      0t0  UDP *:976
rpcbind   1225      rpc    8u  IPv4   9187      0t0  TCP *:111 (LISTEN)
rpcbind   1225      rpc    9u  IPv6   9189      0t0  UDP *:111
rpcbind   1225      rpc   10u  IPv6   9191      0t0  UDP *:976
rpcbind   1225      rpc   11u  IPv6   9192      0t0  TCP *:111 (LISTEN)
rpc.statd 1243  rpcuser    5r  IPv4   9372      0t0  UDP *:995
rpc.statd 1243  rpcuser    8u  IPv4   9376      0t0  UDP *:37288
rpc.statd 1243  rpcuser    9u  IPv4   9380      0t0  TCP *:45184 (LISTEN)
rpc.statd 1243  rpcuser   10u  IPv6   9384      0t0  UDP *:53291
rpc.statd 1243  rpcuser   11u  IPv6   9388      0t0  TCP *:59962 (LISTEN)
sshd      1350     root    3u  IPv4   9728      0t0  TCP *:22 (LISTEN)
sshd      1350     root    4u  IPv6   9730      0t0  TCP *:22 (LISTEN)
sshd      1386     root    3r  IPv4   9969      0t0  TCP 192.168.91.166:22->
62.231.2.201:16232 (ESTABLISHED)
sshd      1433     root    3r  IPv4  10426      0t0  TCP 192.168.91.166:22->
62.231.2.201:15167 (ESTABLISHED)
postmaste 7175 postgres    3u  IPv6  45181      0t0  TCP [::1]:5432 (LISTEN)
postmaste 7175 postgres    4u  IPv4  45182      0t0  TCP 127.0.0.1:5432(LISTEN)
postmaste 7175 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7179 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7180 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7181 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7182 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
engine-se 8001     root   27u  IPv4  48231      0t0  TCP
192.168.91.166:33822->80.239.156.215:443 (ESTABLISHED)
engine-se 8001     root   33u  IPv4  48710      0t0  TCP
192.168.91.166:36829->80.68.249.121:80 (ESTABLISHED)

2011-11-24 05:17:29::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:29::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:29::DEBUG::common_utils::434::root:: Executing command -->
'/usr/sbin/semanage port -l'
2011-11-24 05:17:31::DEBUG::common_utils::472::root:: output = SELinux Port
Type              Proto    Port Number

afs_bos_port_t                 udp      7007
afs_client_port_t              udp      7001
afs_fs_port_t                  tcp      2040
afs_fs_port_t                  udp      7000, 7005
afs_ka_port_t                  udp      7004
afs_pt_port_t                  udp      7002
afs_vl_port_t                  udp      7003
agentx_port_t                  tcp      705
agentx_port_t                  udp      705
amanda_port_t                  tcp      10080-10083
amanda_port_t                  udp      10080-10082
amavisd_recv_port_t            tcp      10024
amavisd_send_port_t            tcp      10025
amqp_port_t                    tcp      5671, 5672
amqp_port_t                    udp      5671, 5672
aol_port_t                     tcp      5190-5193
aol_port_t                     udp      5190-5193
apcupsd_port_t                 tcp      3551
apcupsd_port_t                 udp      3551
apertus_ldp_port_t             tcp      539
apertus_ldp_port_t             udp      539
asterisk_port_t                tcp      1720
asterisk_port_t                udp      2427, 2727, 4569
audit_port_t                   tcp      60
auth_port_t                    tcp      113
bgp_port_t                     tcp      179, 2605
bgp_port_t                     udp      179, 2605
boinc_port_t                   tcp      31416
certmaster_port_t              tcp      51235
chronyd_port_t                 udp      323
clamd_port_t                   tcp      3310
clockspeed_port_t              udp      4041
cluster_port_t                 tcp      5149, 40040, 50006-50008
cluster_port_t                 udp      5149, 50006-50008
cma_port_t                     tcp      1050
cma_port_t                     udp      1050
cobbler_port_t                 tcp      25151
commplex_port_t                tcp      5000, 5001
commplex_port_t                udp      5000, 5001
comsat_port_t                  udp      512
ctdb_port_t                    tcp      4379
ctdb_port_t                    udp      4379
cvs_port_t                     tcp      2401
cvs_port_t                     udp      2401
cyphesis_port_t                tcp      6767, 6769, 6780-6799
cyphesis_port_t                udp      32771
dbskkd_port_t                  tcp      1178
dcc_port_t                     udp      6276, 6277
dccm_port_t                    tcp      5679
dccm_port_t                    udp      5679
dhcpc_port_t                   tcp      68, 546
dhcpc_port_t                   udp      68, 546
dhcpd_port_t                   tcp      547, 548, 647, 847, 7911
dhcpd_port_t                   udp      67, 547, 548, 647, 847
dict_port_t                    tcp      2628
distccd_port_t                 tcp      3632
dns_port_t                     tcp      53
dns_port_t                     udp      53
dogtag_port_t                  tcp      7390
epmap_port_t                   tcp      135
epmap_port_t                   udp      135
festival_port_t                tcp      1314
fingerd_port_t                 tcp      79
flash_port_t                   tcp      843, 1935
flash_port_t                   udp      1935
ftp_data_port_t                tcp      20
ftp_port_t                     tcp      21, 990
ftp_port_t                     udp      990
gatekeeper_port_t              tcp      1721, 7000
gatekeeper_port_t              udp      1718, 1719
giftd_port_t                   tcp      1213
git_port_t                     tcp      9418
git_port_t                     udp      9418
gopher_port_t                  tcp      70
gopher_port_t                  udp      70
gpsd_port_t                    tcp      2947
hddtemp_port_t                 tcp      7634
hi_reserved_port_t             tcp      512-1023
hi_reserved_port_t             udp      512-1023
howl_port_t                    tcp      5335
howl_port_t                    udp      5353
hplip_port_t                   tcp      1782, 2207, 2208, 8290, 50000,
50002, 8292, 9100, 9101, 9102, 9220, 9221, 9222, 9280, 9281, 9282, 9290,
9291, 9292
http_cache_port_t              tcp      3128, 8080, 8118, 8123, 10001-10010
http_cache_port_t              udp      3130
http_port_t                    tcp      80, 443, 488, 8008, 8009, 8443
i18n_input_port_t              tcp      9010
imaze_port_t                   tcp      5323
imaze_port_t                   udp      5323
inetd_child_port_t             tcp      1, 7, 9, 13, 19, 37, 512, 543, 544,
891, 892, 2105, 5666
inetd_child_port_t             udp      1, 7, 9, 13, 19, 37, 891, 892
innd_port_t                    tcp      119
ionixnetmon_port_t             tcp      7410
ionixnetmon_port_t             udp      7410
ipmi_port_t                    udp      623, 664
ipp_port_t                     tcp      631, 8610-8614
ipp_port_t                     udp      631, 8610-8614
ipsecnat_port_t                tcp      4500
ipsecnat_port_t                udp      4500
ircd_port_t                    tcp      6667
isakmp_port_t                  udp      500
iscsi_port_t                   tcp      3260
isns_port_t                    tcp      3205
isns_port_t                    udp      3205
jabber_client_port_t           tcp      5222, 5223
jabber_interserver_port_t      tcp      5269
jabber_router_port_t           tcp      5347
jboss_management_port_t        tcp      4712, 9123, 18001
jboss_management_port_t        udp      4712, 9123
kerberos_admin_port_t          tcp      749
kerberos_master_port_t         tcp      4444
kerberos_master_port_t         udp      4444
kerberos_password_port_t       tcp      464
kerberos_password_port_t       udp      464
kerberos_port_t                tcp      88, 750
kerberos_port_t                udp      88, 750
kismet_port_t                  tcp      2501
kprop_port_t                   tcp      754
ktalkd_port_t                  udp      517, 518
ldap_port_t                    tcp      389, 636, 3268
ldap_port_t                    udp      389, 636
lirc_port_t                    tcp      8765
lmtp_port_t                    tcp      24
lmtp_port_t                    udp      24
luci_port_t                    tcp      8084
mail_port_t                    tcp      2000, 3905
matahari_port_t                tcp      49000
matahari_port_t                udp      49000
memcache_port_t                tcp      11211
memcache_port_t                udp      11211
mmcc_port_t                    tcp      5050
mmcc_port_t                    udp      5050
monopd_port_t                  tcp      1234
movaz_ssc_port_t               tcp      5252
mpd_port_t                     tcp      6600
msnp_port_t                    tcp      1863
msnp_port_t                    udp      1863
mssql_port_t                   tcp      1433, 1434
mssql_port_t                   udp      1433, 1434
munin_port_t                   tcp      4949
munin_port_t                   udp      4949
mysqld_port_t                  tcp      1186, 3306, 63132-63164
mysqlmanagerd_port_t           tcp      2273
nessus_port_t                  tcp      1241
netport_port_t                 tcp      3129
netport_port_t                 udp      3129
netsupport_port_t              tcp      5404, 5405
netsupport_port_t              udp      5404, 5405
nmbd_port_t                    udp      137, 138
ntop_port_t                    tcp      3000, 3001
ntop_port_t                    udp      3000, 3001
ntp_port_t                     udp      123
ocsp_port_t                    tcp      9080
openvpn_port_t                 tcp      1194
openvpn_port_t                 udp      1194
oracle_port_t                  tcp      1521, 2483, 2484
oracle_port_t                  udp      1521, 2483, 2484
pegasus_http_port_t            tcp      5988
pegasus_https_port_t           tcp      5989
pgpkeyserver_port_t            tcp      11371
pgpkeyserver_port_t            udp      11371
pingd_port_t                   tcp      9125
piranha_port_t                 tcp      3636
pki_ca_port_t                  tcp      9180, 9701, 9443-9447
pki_kra_port_t                 tcp      10180, 10701, 10443-10446
pki_ocsp_port_t                tcp      11180, 11701, 11443-11446
pki_ra_port_t                  tcp      12888, 12889
pki_tks_port_t                 tcp      13180, 13701, 13443-13446
pki_tps_port_t                 tcp      7888, 7889
pktcable_port_t                tcp      2126, 3198
pktcable_port_t                udp      2126, 3198
pop_port_t                     tcp      106, 109, 110, 143, 220, 993, 995,
1109
portmap_port_t                 tcp      111
portmap_port_t                 udp      111
postfix_policyd_port_t         tcp      10031
postgresql_port_t              tcp      5432
postgrey_port_t                tcp      60000
prelude_port_t                 tcp      4690
prelude_port_t                 udp      4690
presence_port_t                tcp      5298
presence_port_t                udp      5298
printer_port_t                 tcp      515
ptal_port_t                    tcp      5703
pulseaudio_port_t              tcp      4713
puppet_port_t                  tcp      8140
pxe_port_t                     udp      4011
pyzor_port_t                   udp      24441
radacct_port_t                 udp      1646, 1813
radius_port_t                  udp      1645, 1812
radsec_port_t                  tcp      2083
razor_port_t                   tcp      2703
repository_port_t              tcp      6363
ricci_modcluster_port_t        tcp      16851
ricci_modcluster_port_t        udp      16851
ricci_port_t                   tcp      11111
ricci_port_t                   udp      11111
rlogind_port_t                 tcp      513
rndc_port_t                    tcp      953
router_port_t                  tcp      521
router_port_t                  udp      520, 521
rsh_port_t                     tcp      514
rsync_port_t                   tcp      873
rsync_port_t                   udp      873
rwho_port_t                    udp      513
sap_port_t                     tcp      9875
sap_port_t                     udp      9875
sieve_port_t                   tcp      4190
sip_port_t                     tcp      5060, 5061
sip_port_t                     udp      5060, 5061
sixxsconfig_port_t             tcp      3874
sixxsconfig_port_t             udp      3874
smbd_port_t                    tcp      137-139, 445
smtp_port_t                    tcp      25, 465, 587
snmp_port_t                    tcp      161-162, 199, 1161
snmp_port_t                    udp      161-162
soundd_port_t                  tcp      8000, 9433, 16001
spamd_port_t                   tcp      783
speech_port_t                  tcp      8036
squid_port_t                   tcp      3401, 4827
squid_port_t                   udp      3401, 4827
ssh_port_t                     tcp      22
streaming_port_t               tcp      1755
streaming_port_t               udp      1755
swat_port_t                    tcp      901
sype_port_t                    tcp      9911
sype_port_t                    udp      9911
syslogd_port_t                 tcp      6514
syslogd_port_t                 udp      514, 6514
telnetd_port_t                 tcp      23
tftp_port_t                    udp      69
tor_port_t                     tcp      6969, 9001, 9030, 9050, 9051
traceroute_port_t              udp      64000-64010
transproxy_port_t              tcp      8081
ups_port_t                     tcp      3493
uucpd_port_t                   tcp      540
varnishd_port_t                tcp      6081, 6082
virt_migration_port_t          tcp      49152-49216
virt_port_t                    tcp      16509, 16514
virt_port_t                    udp      16509, 16514
vnc_port_t                     tcp      5900-5999
wccp_port_t                    udp      2048
websm_port_t                   tcp      9090
websm_port_t                   udp      9090
whois_port_t                   tcp      43, 4321
whois_port_t                   udp      43, 4321
xdmcp_port_t                   tcp      177
xdmcp_port_t                   udp      177
xen_port_t                     tcp      8002
xfs_port_t                     tcp      7100
xserver_port_t                 tcp      6000-6150
zarafa_port_t                  tcp      236, 237
zebra_port_t                   tcp      2600-2604, 2606
zebra_port_t                   udp      2600-2604, 2606
zented_port_t                  tcp      1229
zented_port_t                  udp      1229
zope_port_t                    tcp      8021

2011-11-24 05:17:31::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:31::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:31::DEBUG::engine_validators::119::root:: http_port_t =
[80, 443, 488, 8008, 8009, 8443]
2011-11-24 05:17:31::DEBUG::engine_validators::62::root:: Validating 443 as
a valid TCP Port
2011-11-24 05:17:31::DEBUG::common_utils::398::root:: Checking if TCP port
443 is open by any process
2011-11-24 05:17:31::DEBUG::common_utils::434::root:: Executing command -->
'/usr/sbin/lsof -i -n -P'
2011-11-24 05:17:31::DEBUG::common_utils::472::root:: output = COMMAND
PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
rpcbind   1225      rpc    6u  IPv4   9182      0t0  UDP *:111
rpcbind   1225      rpc    7u  IPv4   9186      0t0  UDP *:976
rpcbind   1225      rpc    8u  IPv4   9187      0t0  TCP *:111 (LISTEN)
rpcbind   1225      rpc    9u  IPv6   9189      0t0  UDP *:111
rpcbind   1225      rpc   10u  IPv6   9191      0t0  UDP *:976
rpcbind   1225      rpc   11u  IPv6   9192      0t0  TCP *:111 (LISTEN)
rpc.statd 1243  rpcuser    5r  IPv4   9372      0t0  UDP *:995
rpc.statd 1243  rpcuser    8u  IPv4   9376      0t0  UDP *:37288
rpc.statd 1243  rpcuser    9u  IPv4   9380      0t0  TCP *:45184 (LISTEN)
rpc.statd 1243  rpcuser   10u  IPv6   9384      0t0  UDP *:53291
rpc.statd 1243  rpcuser   11u  IPv6   9388      0t0  TCP *:59962 (LISTEN)
sshd      1350     root    3u  IPv4   9728      0t0  TCP *:22 (LISTEN)
sshd      1350     root    4u  IPv6   9730      0t0  TCP *:22 (LISTEN)
sshd      1386     root    3r  IPv4   9969      0t0  TCP 192.168.91.166:22->
62.231.2.201:16232 (ESTABLISHED)
sshd      1433     root    3r  IPv4  10426      0t0  TCP 192.168.91.166:22->
62.231.2.201:15167 (ESTABLISHED)
postmaste 7175 postgres    3u  IPv6  45181      0t0  TCP [::1]:5432 (LISTEN)
postmaste 7175 postgres    4u  IPv4  45182      0t0  TCP 127.0.0.1:5432(LISTEN)
postmaste 7175 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7179 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7180 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7181 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
postmaste 7182 postgres    7u  IPv6  45193      0t0  UDP
[::1]:58773->[::1]:58773
engine-se 8001     root   27u  IPv4  48231      0t0  TCP
192.168.91.166:33822->80.239.156.215:443 (ESTABLISHED)
engine-se 8001     root   33u  IPv4  48710      0t0  TCP
192.168.91.166:36829->80.68.249.121:80 (CLOSE_WAIT)

2011-11-24 05:17:31::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:31::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:31::DEBUG::common_utils::434::root:: Executing command -->
'/usr/sbin/semanage port -l'
2011-11-24 05:17:33::DEBUG::common_utils::472::root:: output = SELinux Port
Type              Proto    Port Number

afs_bos_port_t                 udp      7007
afs_client_port_t              udp      7001
afs_fs_port_t                  tcp      2040
afs_fs_port_t                  udp      7000, 7005
afs_ka_port_t                  udp      7004
afs_pt_port_t                  udp      7002
afs_vl_port_t                  udp      7003
agentx_port_t                  tcp      705
agentx_port_t                  udp      705
amanda_port_t                  tcp      10080-10083
amanda_port_t                  udp      10080-10082
amavisd_recv_port_t            tcp      10024
amavisd_send_port_t            tcp      10025
amqp_port_t                    tcp      5671, 5672
amqp_port_t                    udp      5671, 5672
aol_port_t                     tcp      5190-5193
aol_port_t                     udp      5190-5193
apcupsd_port_t                 tcp      3551
apcupsd_port_t                 udp      3551
apertus_ldp_port_t             tcp      539
apertus_ldp_port_t             udp      539
asterisk_port_t                tcp      1720
asterisk_port_t                udp      2427, 2727, 4569
audit_port_t                   tcp      60
auth_port_t                    tcp      113
bgp_port_t                     tcp      179, 2605
bgp_port_t                     udp      179, 2605
boinc_port_t                   tcp      31416
certmaster_port_t              tcp      51235
chronyd_port_t                 udp      323
clamd_port_t                   tcp      3310
clockspeed_port_t              udp      4041
cluster_port_t                 tcp      5149, 40040, 50006-50008
cluster_port_t                 udp      5149, 50006-50008
cma_port_t                     tcp      1050
cma_port_t                     udp      1050
cobbler_port_t                 tcp      25151
commplex_port_t                tcp      5000, 5001
commplex_port_t                udp      5000, 5001
comsat_port_t                  udp      512
ctdb_port_t                    tcp      4379
ctdb_port_t                    udp      4379
cvs_port_t                     tcp      2401
cvs_port_t                     udp      2401
cyphesis_port_t                tcp      6767, 6769, 6780-6799
cyphesis_port_t                udp      32771
dbskkd_port_t                  tcp      1178
dcc_port_t                     udp      6276, 6277
dccm_port_t                    tcp      5679
dccm_port_t                    udp      5679
dhcpc_port_t                   tcp      68, 546
dhcpc_port_t                   udp      68, 546
dhcpd_port_t                   tcp      547, 548, 647, 847, 7911
dhcpd_port_t                   udp      67, 547, 548, 647, 847
dict_port_t                    tcp      2628
distccd_port_t                 tcp      3632
dns_port_t                     tcp      53
dns_port_t                     udp      53
dogtag_port_t                  tcp      7390
epmap_port_t                   tcp      135
epmap_port_t                   udp      135
festival_port_t                tcp      1314
fingerd_port_t                 tcp      79
flash_port_t                   tcp      843, 1935
flash_port_t                   udp      1935
ftp_data_port_t                tcp      20
ftp_port_t                     tcp      21, 990
ftp_port_t                     udp      990
gatekeeper_port_t              tcp      1721, 7000
gatekeeper_port_t              udp      1718, 1719
giftd_port_t                   tcp      1213
git_port_t                     tcp      9418
git_port_t                     udp      9418
gopher_port_t                  tcp      70
gopher_port_t                  udp      70
gpsd_port_t                    tcp      2947
hddtemp_port_t                 tcp      7634
hi_reserved_port_t             tcp      512-1023
hi_reserved_port_t             udp      512-1023
howl_port_t                    tcp      5335
howl_port_t                    udp      5353
hplip_port_t                   tcp      1782, 2207, 2208, 8290, 50000,
50002, 8292, 9100, 9101, 9102, 9220, 9221, 9222, 9280, 9281, 9282, 9290,
9291, 9292
http_cache_port_t              tcp      3128, 8080, 8118, 8123, 10001-10010
http_cache_port_t              udp      3130
http_port_t                    tcp      80, 443, 488, 8008, 8009, 8443
i18n_input_port_t              tcp      9010
imaze_port_t                   tcp      5323
imaze_port_t                   udp      5323
inetd_child_port_t             tcp      1, 7, 9, 13, 19, 37, 512, 543, 544,
891, 892, 2105, 5666
inetd_child_port_t             udp      1, 7, 9, 13, 19, 37, 891, 892
innd_port_t                    tcp      119
ionixnetmon_port_t             tcp      7410
ionixnetmon_port_t             udp      7410
ipmi_port_t                    udp      623, 664
ipp_port_t                     tcp      631, 8610-8614
ipp_port_t                     udp      631, 8610-8614
ipsecnat_port_t                tcp      4500
ipsecnat_port_t                udp      4500
ircd_port_t                    tcp      6667
isakmp_port_t                  udp      500
iscsi_port_t                   tcp      3260
isns_port_t                    tcp      3205
isns_port_t                    udp      3205
jabber_client_port_t           tcp      5222, 5223
jabber_interserver_port_t      tcp      5269
jabber_router_port_t           tcp      5347
jboss_management_port_t        tcp      4712, 9123, 18001
jboss_management_port_t        udp      4712, 9123
kerberos_admin_port_t          tcp      749
kerberos_master_port_t         tcp      4444
kerberos_master_port_t         udp      4444
kerberos_password_port_t       tcp      464
kerberos_password_port_t       udp      464
kerberos_port_t                tcp      88, 750
kerberos_port_t                udp      88, 750
kismet_port_t                  tcp      2501
kprop_port_t                   tcp      754
ktalkd_port_t                  udp      517, 518
ldap_port_t                    tcp      389, 636, 3268
ldap_port_t                    udp      389, 636
lirc_port_t                    tcp      8765
lmtp_port_t                    tcp      24
lmtp_port_t                    udp      24
luci_port_t                    tcp      8084
mail_port_t                    tcp      2000, 3905
matahari_port_t                tcp      49000
matahari_port_t                udp      49000
memcache_port_t                tcp      11211
memcache_port_t                udp      11211
mmcc_port_t                    tcp      5050
mmcc_port_t                    udp      5050
monopd_port_t                  tcp      1234
movaz_ssc_port_t               tcp      5252
mpd_port_t                     tcp      6600
msnp_port_t                    tcp      1863
msnp_port_t                    udp      1863
mssql_port_t                   tcp      1433, 1434
mssql_port_t                   udp      1433, 1434
munin_port_t                   tcp      4949
munin_port_t                   udp      4949
mysqld_port_t                  tcp      1186, 3306, 63132-63164
mysqlmanagerd_port_t           tcp      2273
nessus_port_t                  tcp      1241
netport_port_t                 tcp      3129
netport_port_t                 udp      3129
netsupport_port_t              tcp      5404, 5405
netsupport_port_t              udp      5404, 5405
nmbd_port_t                    udp      137, 138
ntop_port_t                    tcp      3000, 3001
ntop_port_t                    udp      3000, 3001
ntp_port_t                     udp      123
ocsp_port_t                    tcp      9080
openvpn_port_t                 tcp      1194
openvpn_port_t                 udp      1194
oracle_port_t                  tcp      1521, 2483, 2484
oracle_port_t                  udp      1521, 2483, 2484
pegasus_http_port_t            tcp      5988
pegasus_https_port_t           tcp      5989
pgpkeyserver_port_t            tcp      11371
pgpkeyserver_port_t            udp      11371
pingd_port_t                   tcp      9125
piranha_port_t                 tcp      3636
pki_ca_port_t                  tcp      9180, 9701, 9443-9447
pki_kra_port_t                 tcp      10180, 10701, 10443-10446
pki_ocsp_port_t                tcp      11180, 11701, 11443-11446
pki_ra_port_t                  tcp      12888, 12889
pki_tks_port_t                 tcp      13180, 13701, 13443-13446
pki_tps_port_t                 tcp      7888, 7889
pktcable_port_t                tcp      2126, 3198
pktcable_port_t                udp      2126, 3198
pop_port_t                     tcp      106, 109, 110, 143, 220, 993, 995,
1109
portmap_port_t                 tcp      111
portmap_port_t                 udp      111
postfix_policyd_port_t         tcp      10031
postgresql_port_t              tcp      5432
postgrey_port_t                tcp      60000
prelude_port_t                 tcp      4690
prelude_port_t                 udp      4690
presence_port_t                tcp      5298
presence_port_t                udp      5298
printer_port_t                 tcp      515
ptal_port_t                    tcp      5703
pulseaudio_port_t              tcp      4713
puppet_port_t                  tcp      8140
pxe_port_t                     udp      4011
pyzor_port_t                   udp      24441
radacct_port_t                 udp      1646, 1813
radius_port_t                  udp      1645, 1812
radsec_port_t                  tcp      2083
razor_port_t                   tcp      2703
repository_port_t              tcp      6363
ricci_modcluster_port_t        tcp      16851
ricci_modcluster_port_t        udp      16851
ricci_port_t                   tcp      11111
ricci_port_t                   udp      11111
rlogind_port_t                 tcp      513
rndc_port_t                    tcp      953
router_port_t                  tcp      521
router_port_t                  udp      520, 521
rsh_port_t                     tcp      514
rsync_port_t                   tcp      873
rsync_port_t                   udp      873
rwho_port_t                    udp      513
sap_port_t                     tcp      9875
sap_port_t                     udp      9875
sieve_port_t                   tcp      4190
sip_port_t                     tcp      5060, 5061
sip_port_t                     udp      5060, 5061
sixxsconfig_port_t             tcp      3874
sixxsconfig_port_t             udp      3874
smbd_port_t                    tcp      137-139, 445
smtp_port_t                    tcp      25, 465, 587
snmp_port_t                    tcp      161-162, 199, 1161
snmp_port_t                    udp      161-162
soundd_port_t                  tcp      8000, 9433, 16001
spamd_port_t                   tcp      783
speech_port_t                  tcp      8036
squid_port_t                   tcp      3401, 4827
squid_port_t                   udp      3401, 4827
ssh_port_t                     tcp      22
streaming_port_t               tcp      1755
streaming_port_t               udp      1755
swat_port_t                    tcp      901
sype_port_t                    tcp      9911
sype_port_t                    udp      9911
syslogd_port_t                 tcp      6514
syslogd_port_t                 udp      514, 6514
telnetd_port_t                 tcp      23
tftp_port_t                    udp      69
tor_port_t                     tcp      6969, 9001, 9030, 9050, 9051
traceroute_port_t              udp      64000-64010
transproxy_port_t              tcp      8081
ups_port_t                     tcp      3493
uucpd_port_t                   tcp      540
varnishd_port_t                tcp      6081, 6082
virt_migration_port_t          tcp      49152-49216
virt_port_t                    tcp      16509, 16514
virt_port_t                    udp      16509, 16514
vnc_port_t                     tcp      5900-5999
wccp_port_t                    udp      2048
websm_port_t                   tcp      9090
websm_port_t                   udp      9090
whois_port_t                   tcp      43, 4321
whois_port_t                   udp      43, 4321
xdmcp_port_t                   tcp      177
xdmcp_port_t                   udp      177
xen_port_t                     tcp      8002
xfs_port_t                     tcp      7100
xserver_port_t                 tcp      6000-6150
zarafa_port_t                  tcp      236, 237
zebra_port_t                   tcp      2600-2604, 2606
zebra_port_t                   udp      2600-2604, 2606
zented_port_t                  tcp      1229
zented_port_t                  udp      1229
zope_port_t                    tcp      8021

2011-11-24 05:17:33::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:33::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:33::DEBUG::engine_validators::119::root:: http_port_t =
[80, 443, 488, 8008, 8009, 8443]
2011-11-24 05:17:33::DEBUG::engine-setup::1597::root:: going over group
ALL_PARAMS
2011-11-24 05:17:33::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'True', and match: 'True'
2011-11-24 05:17:33::DEBUG::engine-setup::575::root:: setting default value
(no) for key (RANDOM_PASSWORDS)
2011-11-24 05:17:33::DEBUG::engine-setup::575::root:: setting default value
(00:1A:4A:A8:5B:00-00:1A:4A:A8:5B:FF) for key (MAC_RANGE)
2011-11-24 05:17:34::INFO::engine_validators::307::root:: Validating
rhevm8.lab.topsonline.ru as a FQDN
2011-11-24 05:17:34::INFO::engine_validators::216::root:: validating
rhevm8.lab.topsonline.ru as a valid domain string
2011-11-24 05:17:34::DEBUG::common_utils::434::root:: Executing command -->
'/sbin/ip addr'
2011-11-24 05:17:34::DEBUG::common_utils::472::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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
    link/ether 00:21:5a:ac:0b:b6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.91.166/25 brd 192.168.91.255 scope global eth0
    inet6 fe80::221:5aff:feac:bb6/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:21:5a:ac:0b:dc brd ff:ff:ff:ff:ff:ff

2011-11-24 05:17:34::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:34::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:34::DEBUG::common_utils::593::root:: Found IP Address:
192.168.91.166
2011-11-24 05:17:34::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/nslookup rhevm8.lab.topsonline.ru'
2011-11-24 05:17:34::DEBUG::common_utils::472::root:: output = Server:
    192.168.90.11
Address:    192.168.90.11#53

Name:    rhevm8.lab.topsonline.ru
Address: 192.168.91.166


2011-11-24 05:17:34::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:34::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:34::DEBUG::engine_validators::526::root::
rhevm8.lab.topsonline.ru resolved into 192.168.91.166
2011-11-24 05:17:34::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/nslookup 192.168.91.166'
2011-11-24 05:17:34::DEBUG::common_utils::472::root:: output = Server:
    192.168.90.11
Address:    192.168.90.11#53

166.91.168.192.in-addr.arpa    name = rhevm8.lab.topsonline.ru.


2011-11-24 05:17:34::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:17:34::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:17:34::DEBUG::engine_validators::526::root:: 192.168.91.166
resolved into rhevm8.lab.topsonline.ru
2011-11-24 05:17:39::DEBUG::engine_validators::161::root:: Validating
password
2011-11-24 05:17:42::DEBUG::engine-setup::654::root:: Param confirmation
passed, value for both questions is identical
2011-11-24 05:17:43::INFO::engine_validators::388::root:: validating
organization name
2011-11-24 05:17:44::INFO::engine_validators::182::root:: Validating both
as part of ['virt', 'gluster', 'both']
2011-11-24 05:17:47::INFO::engine_validators::182::root:: Validating FC as
part of ['NFS', 'FC', 'ISCSI', 'POSIXFS']
2011-11-24 05:17:48::INFO::engine_validators::182::root:: Validating local
as part of ['remote', 'local']
2011-11-24 05:17:48::DEBUG::engine-setup::1597::root:: going over group
REMOTE_DB
2011-11-24 05:17:48::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'False', and match: 'True'
2011-11-24 05:17:48::DEBUG::engine-setup::1635::root:: no post condition
check for group REMOTE_DB
2011-11-24 05:17:48::DEBUG::engine-setup::1597::root:: going over group
LOCAL_DB
2011-11-24 05:17:48::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'False', and match: 'False'
2011-11-24 05:17:51::DEBUG::engine_validators::161::root:: Validating
password
2011-11-24 05:17:53::DEBUG::engine-setup::654::root:: Param confirmation
passed, value for both questions is identical
2011-11-24 05:17:53::DEBUG::engine-setup::1597::root:: going over group NFS
2011-11-24 05:17:56::INFO::engine_validators::182::root:: Validating no as
part of ['yes', 'no']
2011-11-24 05:17:56::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'no', and match: 'yes'
2011-11-24 05:17:56::DEBUG::engine-setup::1635::root:: no post condition
check for group NFS
2011-11-24 05:17:56::DEBUG::engine-setup::1597::root:: going over group
IPTABLES
2011-11-24 05:17:56::INFO::engine-setup::1606::root:: Comparing
pre-conditions; condition: 'True', and match: 'True'
2011-11-24 05:17:57::INFO::engine_validators::182::root:: Validating no as
part of ['None', 'IPTables']
2011-11-24 05:18:00::INFO::engine_validators::182::root:: Validating none
as part of ['None', 'IPTables']
2011-11-24 05:18:00::INFO::engine-setup::1678::root:: *** User input
summary ***
2011-11-24 05:18:00::INFO::engine-setup::1691::root::
override-httpd-config: yes
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: http-port: 80
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: https-port: 443
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: host-fqdn:
rhevm8.lab.topsonline.ru
2011-11-24 05:18:00::INFO::engine-setup::1687::root:: auth-pass: ********
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: org-name:
lab.topsonline.ru
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: application-mode: both
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: default-dc-type: FC
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: db-remote-install:
local
2011-11-24 05:18:00::INFO::engine-setup::1687::root:: db-local-pass:
********
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: config-nfs: no
2011-11-24 05:18:00::INFO::engine-setup::1691::root:: override-firewall:
none
2011-11-24 05:18:00::INFO::engine-setup::1693::root:: *** User input
summary ***
2011-11-24 05:18:00::DEBUG::common_utils::971::root:: asking user: Proceed
with the configuration listed above? (yes|no):
2011-11-24 05:18:02::DEBUG::common_utils::975::root:: user answered: y
2011-11-24 05:18:02::DEBUG::engine-setup::1712::root:: user chose to accept
user parameters
2011-11-24 05:18:02::DEBUG::engine-setup::2126::root:: {'ORG_NAME': '
lab.topsonline.ru', 'HOST_FQDN': 'rhevm8.lab.topsonline.ru',
'OVERRIDE_FIREWALL': 'none', 'HTTP_PORT': '80', 'APPLICATION_MODE': 'both',
'HTTPS_PORT': '443', 'AUTH_PASS_CONFIRMED': '********', 'DC_TYPE_ENUM':
<common_utils.Enum object at 0x298eb50>, 'AUTH_PASS': '********',
'DB_LOCAL_PASS': '********', 'RANDOM_PASSWORDS': 'no',
'OVERRIDE_HTTPD_CONFIG': 'yes', 'APPLICATION_MODE_ENUM': <common_utils.Enum
object at 0x254a810>, 'MAC_RANGE': '00:1A:4A:A8:5B:00-00:1A:4A:A8:5B:FF',
'DB_LOCAL_PASS_CONFIRMED': '********', 'CONFIG_NFS': 'no',
'DB_REMOTE_INSTALL': 'local', 'DC_TYPE': 'FC'}
2011-11-24 05:18:02::DEBUG::engine-setup::2129::root:: Entered
Configuration stage
2011-11-24 05:18:02::DEBUG::setup_sequences::59::root:: running
setMaxSharedMemory
2011-11-24 05:18:02::DEBUG::common_utils::434::root:: Executing command -->
'/sbin/sysctl -b kernel.shmmax'
2011-11-24 05:18:02::DEBUG::common_utils::472::root:: output = 68719476736
2011-11-24 05:18:02::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:02::DEBUG::engine-setup::1783::root:: current shared
memory max in kernel is 68719476736, there is no need to update the kernel
parameters
2011-11-24 05:18:02::DEBUG::setup_sequences::59::root:: running
_findJavaHome
2011-11-24 05:18:02::DEBUG::common_utils::434::root:: Executing command -->
'/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -version'
2011-11-24 05:18:02::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:02::DEBUG::common_utils::473::root:: stderr = java version
"1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

2011-11-24 05:18:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:02::DEBUG::common_utils::434::root:: Executing command -->
'/usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin/java -version'
2011-11-24 05:18:02::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:02::DEBUG::common_utils::473::root:: stderr = java version
"1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

2011-11-24 05:18:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:02::DEBUG::common_utils::434::root:: Executing command -->
'/usr/lib/jvm/jre-1.5.0-gcj/bin/java -version'
2011-11-24 05:18:02::DEBUG::common_utils::472::root:: output = java version
"1.5.0"
gij (GNU libgcj) version 4.4.7 20120313 (Red Hat 4.4.7-3)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2011-11-24 05:18:02::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:02::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:02::DEBUG::common_utils::1378::root:: Java version "1.5.0"
is not supported, it should start with "1.7.0".
2011-11-24 05:18:02::DEBUG::common_utils::1412::root:: The java version
"1.5.0" is not supported.
2011-11-24 05:18:02::DEBUG::common_utils::1430::root:: JVM path
"/usr/lib/jvm/jre-1.7.0-openjdk.x86_64" doesn't contain the Java compiler.
2011-11-24 05:18:02::DEBUG::setup_sequences::59::root:: running _createCA
2011-11-24 05:18:02::DEBUG::engine-setup::923::root:: updating
/etc/pki/ovirt-engine/cacert.template
2011-11-24 05:18:02::DEBUG::engine-setup::923::root:: updating
/etc/pki/ovirt-engine/cert.template
2011-11-24 05:18:02::DEBUG::engine-setup::797::root:: Date string is
111123011802+0000
2011-11-24 05:18:02::DEBUG::engine-setup::804::root:: truncated HOST_FQDN '
rhevm8.lab.topsonline.ru' to 'rhevm8.lab.topsonline.ru'. sized reduced to
24..
2011-11-24 05:18:02::DEBUG::engine-setup::806::root:: using unique CN:
'rhevm8.lab.topsonline.ru.77279' for CA certificate
2011-11-24 05:18:02::DEBUG::common_utils::434::root:: Executing command -->
'/etc/pki/ovirt-engine/installCA.sh rhevm8.lab.topsonline.ru US
lab.topsonline.ru engine ******** 111123011802+0000 /etc/pki/ovirt-engine
rhevm8.lab.topsonline.ru.77279'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output =
} Creating CA...

> Importing CA certificate...

} Creating client certificates for oVirt...

}} Creating Engine Key...

}} Signing certificate request...

}} Creating PKCS#12 store...

}} Creating Engine Key...

}} Signing certificate request...

}} Creating PKCS#12 store...

2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr = Generating
RSA private key, 2048 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:'lab.topsonline.ru'
commonName            :PRINTABLE:'CA-rhevm8.lab.topsonline.ru.77279'
Certificate is to be certified until Nov 21 01:18:02 2021 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated
Certificate was added to keystore
Generating a 2048 bit RSA private key
...................+++
................+++
writing new private key to '/tmp/engine.8216.key'
-----
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      :ASN.1 12:'lab.topsonline.ru'
commonName            :ASN.1 12:'rhevm8.lab.topsonline.ru'
Certificate is to be certified until Oct 28 01:18:03 2016 GMT (1800 days)

Write out database with 1 new entries
Data Base Updated
Generating a 2048 bit RSA private key
................................................................................................................+++
...................................................+++
writing new private key to '/tmp/engine.8216.key'
-----
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      :ASN.1 12:'lab.topsonline.ru'
commonName            :ASN.1 12:'rhevm8.lab.topsonline.ru'
Certificate is to be certified until Oct 28 01:18:03 2016 GMT (1800 days)

Write out database with 1 new entries
Data Base Updated

2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/openssl pkcs12 -in /etc/pki/ovirt-engine/keys/engine.p12 -passin
pass:******** -nodes -nocerts -out /etc/pki/ovirt-engine/keys/engine_id_rsa'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr = MAC verified
OK

2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/openssl pkcs12 -in /etc/pki/ovirt-engine/keys/apache.p12 -passin
pass:******** -nodes -nocerts -out
/etc/pki/ovirt-engine/keys/apache.key.nopass'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr = MAC verified
OK

2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/openssl x509 -in /etc/pki/ovirt-engine/ca.pem -fingerprint -noout'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output = SHA1
Fingerprint=DC:C2:0F:0A:A6:18:0C:E7:99:42:A1:50:E2:C5:10:CD:E3:DE:6B:2B

2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/ssh-keygen -yf /etc/pki/ovirt-engine/keys/engine_id_rsa'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output = ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDTS3g+L05Mrevw/yGIxmoOq6k1Obrrq/cKazaNIxu4zVojJtWa6nnK12l8khy3zcT323aKHN78RUg+caIusnVPgPsW2dUPjW377LObJHXhqzswNrpd3h9Z214nJ+axWKnH6rG7bqwHOIE5+ItHd7QWXOJ169+QwithMuI8fVdIyAHsVyeA/gV9irKcCZ9oElw2dd70WQgVSO72kcIui7mpEkIbdx3WcV+9bGJa6pszP26mlxY5/ifxsMFZwfALoZWLgtVURge8+HELJYQ7O0tjBXZjxPWVN4DOCUQoloVru2ePC7OP77sq424bmoSWXgG7P4VUAE7XBg5JmwIZeMgT

2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/ssh-keygen -lf /tmp/tmpvYtF4U.pub'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output = 2048
c0:2e:c5:ff:60:35:43:9c:31:ad:1b:b5:18:f6:91:b3 /tmp/tmpvYtF4U.pub (RSA)

2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:03::DEBUG::common_utils::1309::root:: chown
/etc/pki/ovirt-engine/private to 108:108
2011-11-24 05:18:03::DEBUG::engine-setup::910::root:: changing directory
permissions for /etc/pki/ovirt-engine/private to 0750
2011-11-24 05:18:03::DEBUG::common_utils::1309::root:: chown
/etc/pki/ovirt-engine/ca.pem to 108:108
2011-11-24 05:18:03::DEBUG::engine-setup::913::root:: changing file
permissions for /etc/pki/ovirt-engine/ca.pem to 0640
2011-11-24 05:18:03::DEBUG::common_utils::1309::root:: chown
/etc/pki/ovirt-engine/keys/engine.p12 to 108:108
2011-11-24 05:18:03::DEBUG::engine-setup::913::root:: changing file
permissions for /etc/pki/ovirt-engine/keys/engine.p12 to 0640
2011-11-24 05:18:03::DEBUG::common_utils::1309::root:: chown
/etc/pki/ovirt-engine/private/ca.pem to 108:108
2011-11-24 05:18:03::DEBUG::engine-setup::913::root:: changing file
permissions for /etc/pki/ovirt-engine/private/ca.pem to 0640
2011-11-24 05:18:03::DEBUG::common_utils::1309::root:: chown
/etc/pki/ovirt-engine/.truststore to 108:108
2011-11-24 05:18:03::DEBUG::engine-setup::913::root:: changing file
permissions for /etc/pki/ovirt-engine/.truststore to 0640
2011-11-24 05:18:03::DEBUG::setup_sequences::59::root:: running
_editSysconfig
2011-11-24 05:18:03::DEBUG::common_utils::781::root:: found existing pgpass
file /etc/ovirt-engine/.pgpass, fetching DB user value
2011-11-24 05:18:03::DEBUG::common_utils::1148::root:: Loading text file
handler
2011-11-24 05:18:03::DEBUG::common_utils::1180::root:: Engine has been
configured
2011-11-24 05:18:03::DEBUG::setup_sequences::59::root:: running
_updatePgPassFile
2011-11-24 05:18:03::DEBUG::engine-setup::1348::root:: found existing
pgpass file, backing current to
/etc/ovirt-engine/.pgpass.2011_11_24_05_18_03
2011-11-24 05:18:03::INFO::engine-setup::1372::root:: Using default db
credentials
2011-11-24 05:18:03::DEBUG::engine-setup::1973::root:: Checking if db is
already installed..
2011-11-24 05:18:03::DEBUG::engine-setup::1974::root:: Checking the
presence of .pgpass file
2011-11-24 05:18:03::DEBUG::common_utils::481::root:: running sql query
'select 1' on db server: 'localhost'.
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/psql -h localhost -p 5432 -U postgres -d engine -c select 1'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr = psql:
FATAL:  database "engine" does not exist

2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 2
2011-11-24 05:18:03::DEBUG::engine-setup::1973::root:: Checking if db is
already installed..
2011-11-24 05:18:03::DEBUG::engine-setup::1974::root:: Checking the
presence of .pgpass file
2011-11-24 05:18:03::DEBUG::common_utils::481::root:: running sql query
'select 1' on db server: 'localhost'.
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/psql -h localhost -p 5432 -U postgres -d engine -c select 1'
2011-11-24 05:18:03::DEBUG::common_utils::472::root:: output =
2011-11-24 05:18:03::DEBUG::common_utils::473::root:: stderr = psql:
FATAL:  database "engine" does not exist

2011-11-24 05:18:03::DEBUG::common_utils::474::root:: retcode = 2
2011-11-24 05:18:03::DEBUG::setup_sequences::59::root:: running
_encryptDBPass
2011-11-24 05:18:03::DEBUG::common_utils::434::root:: Executing command -->
'/usr/share/ovirt-engine/bin/engine-encrypt-passwd.sh ********'
2011-11-24 05:18:04::DEBUG::common_utils::472::root:: output = Encoded
password: -25bb02aac8b8140a64265f4892564719

2011-11-24 05:18:04::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:04::DEBUG::common_utils::474::root:: retcode = 0
2011-11-24 05:18:04::DEBUG::common_utils::676::root:: found new parsed
string: -25bb02aac8b8140a64265f4892564719
2011-11-24 05:18:04::DEBUG::setup_sequences::59::root:: running
_configEncryptedPass
2011-11-24 05:18:04::DEBUG::common_utils::1208::root:: Encrypting database
password.
2011-11-24 05:18:04::DEBUG::common_utils::781::root:: found existing pgpass
file /etc/ovirt-engine/.pgpass, fetching DB user value
2011-11-24 05:18:04::DEBUG::setup_sequences::59::root:: running _createDB
2011-11-24 05:18:04::DEBUG::engine-setup::1105::root:: installing postgres
db
2011-11-24 05:18:04::DEBUG::engine-setup::1108::root:: engine db creation
is logged at
/var/log/ovirt-engine//engine-db-install-2011_11_24_05_18_04.log
2011-11-24 05:18:04::DEBUG::common_utils::434::root:: Executing command -->
'/usr/share/ovirt-engine/dbscripts/engine-db-install.sh -l
engine-db-install-2011_11_24_05_18_04.log -w ******** -u postgres -s
localhost -p 5432 -r local'
2011-11-24 05:18:22::DEBUG::common_utils::472::root:: output = Running
local installation
error, failed creating enginedb

2011-11-24 05:18:22::DEBUG::common_utils::473::root:: stderr =
2011-11-24 05:18:22::DEBUG::common_utils::474::root:: retcode = 1
2011-11-24 05:18:22::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
    function()
  File "/usr/bin/engine-setup", line 1124, in _createDB
    output, rc = utils.execCmd(cmdList=cmd, failOnError=True,
msg=output_messages.ERR_DB_CREATE_FAILED, maskList=masked_value_set)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in
execCmd
    raise Exception(msg)
Exception: Database creation failed

2011-11-24 05:18:22::DEBUG::engine-setup::1965::root:: *** The following
params were used as user input:
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root::
override-httpd-config: yes
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: http-port: 80
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: https-port: 443
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: random-passwords: no
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: mac-range:
00:1A:4A:A8:5B:00-00:1A:4A:A8:5B:FF
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: host-fqdn:
rhevm8.lab.topsonline.ru
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: auth-pass: ********
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: org-name:
lab.topsonline.ru
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: application-mode:
both
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: default-dc-type: FC
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: db-remote-install:
local
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: db-host: localhost
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: db-local-pass:
********
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: config-nfs: no
2011-11-24 05:18:22::DEBUG::engine-setup::1970::root:: override-firewall:
none
2011-11-24 05:18:22::ERROR::engine-setup::2385::root:: Traceback (most
recent call last):
  File "/usr/bin/engine-setup", line 2379, in <module>
    main(confFile)
  File "/usr/bin/engine-setup", line 2162, in main
    runSequences()
  File "/usr/bin/engine-setup", line 2085, in runSequences
    controller.runAllSequences()
  File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in
runAllSequences
    sequence.run()
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in
run
    step.run()
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
    function()
  File "/usr/bin/engine-setup", line 1124, in _createDB
    output, rc = utils.execCmd(cmdList=cmd, failOnError=True,
msg=output_messages.ERR_DB_CREATE_FAILED, maskList=masked_value_set)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in
execCmd
    raise Exception(msg)
Exception: Database creation failed

]0;root at rhevm8:/usr/lib/jvm[root at rhevm8 jvm]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20130517/97d5a00e/attachment-0001.html>


More information about the Devel mailing list