[ovirt-users] All-In-One on CentOS 7.1

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed May 20 09:58:02 EDT 2015


Hello,
I'm trying to setup all in one 3.5.2.1 on CentOS 7.1 but it seems that the
ovirtmgmt bridge has not been created and the host and storage domain parts
failed to install.

Some preliminary questions:
- Is NetworkManager supported now in 3.5.2? Or should I disable it before
engine setup?
- Where should I found engine and host part setup network config files at
the end if not in /etc/sysconfig/network-scripts?

BTW: is network unified persistence feature, as described here:
http://www.ovirt.org/Feature/NetworkReloaded
configured as the default now or not?

I see that from OS point of view both network and NetworkManager services
are enabled (after engine-setup, I didn't check before it):

[root at ovirt71 NetworkManager]# systemctl status network
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: active (exited) since Wed 2015-05-20 15:24:11 CEST; 14min ago
  Process: 1157 ExecStart=/etc/rc.d/init.d/network start (code=exited,
status=0/SUCCESS)

May 20 15:24:10 ovirt71.localdomain.local systemd[1]: Starting LSB: Bring
up/down networking...
May 20 15:24:11 ovirt71.localdomain.local network[1157]: Bringing up
loopback interface:  Could...o'
May 20 15:24:11 ovirt71.localdomain.local network[1157]: Could not load
file '/etc/sysconfig/ne...o'
May 20 15:24:11 ovirt71.localdomain.local network[1157]: Could not load
file '/etc/sysconfig/ne...o'
May 20 15:24:11 ovirt71.localdomain.local network[1157]: Could not load
file '/etc/sysconfig/ne...o'
May 20 15:24:11 ovirt71.localdomain.local network[1157]: [  OK  ]
May 20 15:24:11 ovirt71.localdomain.local network[1157]: Bringing up
interface eth0:  [  OK  ]
May 20 15:24:11 ovirt71.localdomain.local systemd[1]: Started LSB: Bring
up/down networking.
Hint: Some lines were ellipsized, use -l to show in full.

[root at ovirt71 NetworkManager]# systemctl status NetworkManager
NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Wed 2015-05-20 15:24:05 CEST; 14min ago
 Main PID: 768 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           └─768 /usr/sbin/NetworkManager --no-daemon

May 20 15:24:06 ovirt71.localdomain.local NetworkManager[768]: <info>
 Policy set 'eth0' (eth0) ....
May 20 15:24:06 ovirt71.localdomain.local NetworkManager[768]: <info>
 (eth0): Activation: succe....
May 20 15:24:10 ovirt71.localdomain.local NetworkManager[768]: <info>
 startup complete
May 20 15:24:11 ovirt71.localdomain.local NetworkManager[768]: <info>
 parsing /etc/sysconfig/ne....
May 20 15:24:11 ovirt71.localdomain.local NetworkManager[768]: <info>
 parsing /etc/sysconfig/ne....
May 20 15:24:11 ovirt71.localdomain.local NetworkManager[768]: <info>
 parsing /etc/sysconfig/ne....
May 20 15:24:11 ovirt71.localdomain.local NetworkManager[768]: <info>
 parsing /etc/sysconfig/ne....
May 20 15:24:16 ovirt71.localdomain.local NetworkManager[768]: <info>
 (;vdsmdummy;): carrier is OFF
May 20 15:24:16 ovirt71.localdomain.local NetworkManager[768]: <info>
 (;vdsmdummy;): new Bridge...)
May 20 15:24:16 ovirt71.localdomain.local NetworkManager[768]: <info>
 (;vdsmdummy;): exported a...3
Hint: Some lines were ellipsized, use -l to show in full.

The host part failed to install during setup :

[ ERROR ] The VDSM host was found in a failed state. Please check engine
and bootstrap installation logs.
[WARNING] Local storage domain not added because the VDSM host was not up.
Please add it manually.

After reboot

[root at ovirt71 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 52:54:00:fa:1e:b7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.72/24 brd 192.168.122.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fefa:1eb7/64 scope link
       valid_lft forever preferred_lft forever
3: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
    link/ether 22:9e:ab:c2:99:30 brd ff:ff:ff:ff:ff:ff
4: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 42:76:96:46:b2:1f brd ff:ff:ff:ff:ff:ff

engine setup log (in gzip format):
https://drive.google.com/file/d/0BwoPbcrMv8mvV3E5U2Z5V2R0YnM/view?usp=sharing

various log files are here to read (in tar gzip format):
https://drive.google.com/file/d/0BwoPbcrMv8mvNFgzanBVMUt5aTQ/view?usp=sharing

workflow of engine setup:

[root at ovirt71 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
          Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20150520151505-rtk8we.log
          Version: otopi-1.3.1 (otopi-1.3.1-1.el7)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

          --== PRODUCT OPTIONS ==--

          Configure Engine on this host (Yes, No) [Yes]:
          Configure WebSocket Proxy on this host (Yes, No) [Yes]:

          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found

          --== ALL IN ONE CONFIGURATION ==--

          Configure VDSM on this host? (Yes, No) [No]: Yes
          Local storage domain path [/var/lib/images]:
          Local storage domain name [local_storage]:

          --== NETWORK CONFIGURATION ==--

          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite
current settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]:
[ INFO  ] firewalld will be configured as firewall manager.
          Host fully qualified DNS name of this server
[ovirt71.localdomain.local]:
[WARNING] Failed to resolve ovirt71.localdomain.local using DNS, it can be
resolved only locally
[WARNING] Failed to resolve ovirt71.localdomain.local using DNS, it can be
resolved only locally

          --== DATABASE CONFIGURATION ==--

          Where is the Engine database located? (Local, Remote) [Local]:
          Setup can configure the local postgresql server automatically for
the engine to run. This may conflict with existing applications.
          Would you like Setup to automatically configure postgresql and
create Engine database, or prefer to perform that manually? (Automatic,
Manual) [Automatic]:

          --== OVIRT ENGINE CONFIGURATION ==--

          Engine admin password:
          Confirm engine admin password:
[WARNING] Password is weak: it is based on a dictionary word
          Use weak password? (Yes, No) [No]: Yes
          Application mode (Virt, Gluster, Both) [Both]:

          --== PKI CONFIGURATION ==--

          Organization name for certificate [localdomain.local]:

          --== APACHE CONFIGURATION ==--

          Setup can configure the default page of the web server to present
the application home page. This may conflict with existing applications.
          Do you wish to set the application as the default page of the web
server? (Yes, No) [Yes]:
          Setup can configure apache to use SSL using a certificate issued
from the internal CA.
          Do you wish Setup to configure that, or prefer to perform that
manually? (Automatic, Manual) [Automatic]:

          --== SYSTEM CONFIGURATION ==--

          Configure an NFS share on this server to be used as an ISO
Domain? (Yes, No) [Yes]:
          Local ISO domain path [/var/lib/exports/iso]:
          Local ISO domain ACL - note that the default will restrict access
to ovirt71.localdomain.local only, for security reasons
[ovirt71.localdomain.local(rw)]:
          Local ISO domain name [ISO_DOMAIN]:

          --== MISC CONFIGURATION ==--


          --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
[WARNING] Less than 16384MB of memory is available

          --== CONFIGURATION PREVIEW ==--

          Application mode                        : both
          Firewall manager                        : firewalld
          Update Firewall                         : True
          Host FQDN                               :
ovirt71.localdomain.local
          Engine database name                    : engine
          Engine database secured connection      : False
          Engine database host                    : localhost
          Engine database user name               : engine
          Engine database host name validation    : False
          Engine database port                    : 5432
          Engine installation                     : True
          NFS setup                               : True
          PKI organization                        : localdomain.local
          NFS mount point                         : /var/lib/exports/iso
          NFS export ACL                          :
ovirt71.localdomain.local(rw)
          Configure VDSM on this host             : True
          Local storage domain directory          : /var/lib/images
          Configure local Engine database         : True
          Set application as default page         : True
          Configure Apache SSL                    : True
          Configure WebSocket Proxy               : True
          Engine Host FQDN                        :
ovirt71.localdomain.local

          Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Initializing PostgreSQL
[ INFO  ] Creating PostgreSQL 'engine' database
[ INFO  ] Configuring PostgreSQL
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Creating CA
[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Generating post install configuration file
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
[ INFO  ] Restarting nfs services

          --== SUMMARY ==--

[WARNING] Less than 16384MB of memory is available
          SSH fingerprint: A5:E7:85:D5:6B:A9:1C:81:22:90:F3:ED:6C:B0:AD:5B
          Internal CA
D6:0B:FA:EC:F1:D7:48:50:96:6E:E2:48:8E:87:39:13:0E:70:85:F8
          Web access is enabled at:
              http://ovirt71.localdomain.local:80/ovirt-engine
              https://ovirt71.localdomain.local:443/ovirt-engine
          Please use the user "admin" and password specified in order to
login

          --== END OF SUMMARY ==--

[ INFO  ] Starting engine service
[ INFO  ] Restarting httpd
[ INFO  ] Waiting for VDSM host to become operational. This may take
several minutes...
[ ERROR ] The VDSM host was found in a failed state. Please check engine
and bootstrap installation logs.
[WARNING] Local storage domain not added because the VDSM host was not up.
Please add it manually.
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20150520151505-rtk8we.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20150520152046-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully

Thanks in advance,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150520/0bd7f55f/attachment-0001.html>


More information about the Users mailing list