
Hello, playing with install_lago.sh, I've found few issues that are blocking my further progress. First problem is that install_lago.sh on el7 doesn't install EPEL. The second issue is actually solved by [1]. Third issue occurs when I apply the patch[1]: -- output -- # sh install_lago.sh root basic-suite-master Virtualization extension is enabled Nested virtualization is enabled Configuring repos Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager ci-tools | 2.9 kB 00:00:00 lago | 2.9 kB 00:00:00 Package epel-release-7-8.noarch already installed and latest version Nothing to do Installing lago Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Package python-lago-0.28.0-1.el7.centos.noarch already installed and latest version Package python-lago-ovirt-0.28.0-1.el7.centos.noarch already installed and latest version Nothing to do Configuring permissions Starting libvirt Running ovirt-system-tests >From https://gerrit.ovirt.org/ovirt-system-tests * branch HEAD -> FETCH_HEAD Already up-to-date. + CLI=lago + DO_CLEANUP=false + RECOMMENDED_RAM_IN_MB=8196 + EXTRA_SOURCES=() ++ getopt -o ho:e:n:b:cs:r: --long help,output:,engine:,node:,boot-iso:,cleanup --long extra-rpm-source,reposync-config: -n run_suite.sh -- basic-suite-master + options=' -- '\''basic-suite-master'\''' + [[ 0 != \0 ]] + eval set -- ' -- '\''basic-suite-master'\''' ++ set -- -- basic-suite-master + true + case $1 in + shift + break + [[ -z basic-suite-master ]] ++ realpath basic-suite-master + export SUITE=/root/ovirt-system-tests/basic-suite-master + SUITE=/root/ovirt-system-tests/basic-suite-master + '[' -z '' ']' + export PREFIX=/root/ovirt-system-tests/deployment-basic-suite-master + PREFIX=/root/ovirt-system-tests/deployment-basic-suite-master + false + [[ -d /root/ovirt-system-tests/basic-suite-master ]] + echo '################# lago version' ################# lago version + lago --version lago 0.28.0 + echo '#################' ################# + check_ram 8196 + local recommended=8196 ++ free -m ++ grep Mem ++ awk '{print $2}' + local cur_ram=64154 + [[ 64154 -lt 8196 ]] + echo 'Running suite found in /root/ovirt-system-tests/basic-suite-master' Running suite found in /root/ovirt-system-tests/basic-suite-master + echo 'Environment will be deployed at /root/ovirt-system-tests/deployment-basic-suite-master' Environment will be deployed at /root/ovirt-system-tests/deployment-basic-suite-master + rm -rf /root/ovirt-system-tests/deployment-basic-suite-master + source /root/ovirt-system-tests/basic-suite-master/control.sh + prep_suite '' '' '' + local suite_name=basic-suite-master + suite_name=basic-suite-master + sed -r -e s,__ENGINE__,lago-basic-suite-master-engine,g -e 's,__HOST([0-9]+)__,lago-basic-suite-master-host\1,g' -e s,__LAGO_NET__,lago-basic-suite-master-lago,g -e s,__STORAGE__,lago-basic-suite-master-storage,g + run_suite + env_init '' /root/ovirt-system-tests/basic-suite-master/LagoInitFile + echo '#########################' ######################### + local template_repo=/root/ovirt-system-tests/basic-suite-master/template-repo.json + local initfile=/root/ovirt-system-tests/basic-suite-master/LagoInitFile + lago init /root/ovirt-system-tests/deployment-basic-suite-master /root/ovirt-system-tests/basic-suite-master/LagoInitFile --template-repo-path /root/ovirt-system-tests/basic-suite-master/template-repo.json current session does not belong to lago group. @ Initialize and populate prefix: # Initialize prefix: * Create prefix dirs: * Create prefix dirs: Success (in 0:00:00) * Generate prefix uuid: * Generate prefix uuid: Success (in 0:00:00) * Create ssh keys: * Create ssh keys: Success (in 0:00:00) * Tag prefix as initialized: * Tag prefix as initialized: Success (in 0:00:00) # Initialize prefix: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-host0: * Create disk root: * Create disk root: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-host0: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-engine: * Create disk root: * Create disk root: Success (in 0:00:00) * Create disk nfs: * Create disk nfs: Success (in 0:00:00) * Create disk export: * Create disk export: Success (in 0:00:00) * Create disk iscsi: * Create disk iscsi: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-engine: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-host1: * Create disk root: * Create disk root: Success (in 0:00:00) # Create disks for VM lago-basic-suite-master-host1: Success (in 0:00:00) # Copying any deploy scripts: # Copying any deploy scripts: Success (in 0:00:00) # [Thread-1] Bootstrapping lago-basic-suite-master-host0: # [Thread-2] Bootstrapping lago-basic-suite-master-engine: # [Thread-3] Bootstrapping lago-basic-suite-master-host1: # [Thread-1] Bootstrapping lago-basic-suite-master-host0: Success (in 0:00:12) # [Thread-3] Bootstrapping lago-basic-suite-master-host1: Success (in 0:00:12) # [Thread-2] Bootstrapping lago-basic-suite-master-engine: Success (in 0:00:12) # Save prefix: * Save nets: * Save nets: Success (in 0:00:00) * Save VMs: * Save VMs: Success (in 0:00:00) * Save env: * Save env: Success (in 0:00:00) # Save prefix: Success (in 0:00:00) @ Initialize and populate prefix: Success (in 0:00:13) + env_repo_setup + echo '#########################' ######################### + local extrasrc + declare -a extrasrcs + cd /root/ovirt-system-tests/deployment-basic-suite-master + local reposync_conf=/root/ovirt-system-tests/basic-suite-master/reposync-config.repo + [[ -e '' ]] + echo 'using reposync config file: /root/ovirt-system-tests/basic-suite-master/reposync-config.repo' using reposync config file: /root/ovirt-system-tests/basic-suite-master/reposync-config.repo + lago ovirt reposetup --reposync-yum-config /root/ovirt-system-tests/basic-suite-master/reposync-config.repo current session does not belong to lago group. @ Create prefix internal repo: # Syncing remote repos locally (this might take some time): * Acquiring lock for /var/lib/lago/reposync/repolock: * Acquiring lock for /var/lib/lago/reposync/repolock: Success (in 0:00:00) * Running reposync: * Running reposync: Success (in 0:00:10) # Syncing remote repos locally (this might take some time): Success (in 0:00:10) # Running repoman: # Running repoman: Success (in 0:00:07) # Save prefix: * Save nets: * Save nets: Success (in 0:00:00) * Save VMs: * Save VMs: Success (in 0:00:00) * Save env: * Save env: Success (in 0:00:00) # Save prefix: Success (in 0:00:00) @ Create prefix internal repo: Success (in 0:00:17) + cd - /root/ovirt-system-tests + env_start + echo '#########################' ######################### + cd /root/ovirt-system-tests/deployment-basic-suite-master + lago start current session does not belong to lago group. @ Start Prefix: # Start nets: * Create network lago-basic-suite-master-lago: * Create network lago-basic-suite-master-lago: Success (in 0:00:05) # Start nets: Success (in 0:00:05) # Start vms: * Starting VM lago-basic-suite-master-host0: * Starting VM lago-basic-suite-master-host0: Success (in 0:00:00) * Starting VM lago-basic-suite-master-engine: * Starting VM lago-basic-suite-master-engine: Success (in 0:00:00) * Starting VM lago-basic-suite-master-host1: * Starting VM lago-basic-suite-master-host1: Success (in 0:00:00) # Start vms: Success (in 0:00:00) @ Start Prefix: Success (in 0:00:06) + cd - /root/ovirt-system-tests + env_deploy + echo '#########################' ######################### + cd /root/ovirt-system-tests/deployment-basic-suite-master + lago ovirt deploy current session does not belong to lago group. @ Deploy oVirt environment: # Deploy environment: * [Thread-2] Deploy VM lago-basic-suite-master-host0: * [Thread-3] Deploy VM lago-basic-suite-master-engine: * [Thread-4] Deploy VM lago-basic-suite-master-host1: * [Thread-2] Deploy VM lago-basic-suite-master-host0: Success (in 0:00:38) - STDERR + MAIN_NFS_DEV=disk/by-id/scsi-0QEMU_QEMU_HARDDISK_2 + EXPORTED_DEV=disk/by-id/scsi-0QEMU_QEMU_HARDDISK_3 + ISCSI_DEV=disk/by-id/scsi-0QEMU_QEMU_HARDDISK_4 + NUM_LUNS=5 + main + install_deps + systemctl stop kdump.service + systemctl disable kdump.service Removed symlink /etc/systemd/system/multi-user.target.wants/kdump.service. + yum install -y --downloaddir=/dev/shm nfs-utils lvm2 targetcli sg3_utils iscsi-initiator-utils + setup_services + systemctl stop postfix + systemctl disable postfix Removed symlink /etc/systemd/system/multi-user.target.wants/postfix.service. + systemctl stop wpa_supplicant + systemctl disable wpa_supplicant + disable_firewalld + rpm -q firewalld + systemctl disable firewalld Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service. + systemctl stop firewalld + systemctl start rpcbind.service Failed to start rpcbind.service: Unit rpcbind.service failed to load: No such file or directory. * [Thread-3] Deploy VM lago-basic-suite-master-engine: ERROR (in 0:00:41) Error while running thread Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/lago/utils.py", line 55, in _ret_via_queue queue.put({'return': func()}) File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1242, in _deploy_host host.name(), RuntimeError: /root/ovirt-system-tests/deployment-basic-suite-master/default/scripts/_root_ovirt-system-tests_basic-suite-master_.._common_deploy-scripts_setup_storage_unified_el7.sh failed with status 6 on lago-basic-suite-master-engine * [Thread-4] Deploy VM lago-basic-suite-master-host1: ERROR (in 0:02:09) # Deploy environment: ERROR (in 0:02:09) @ Deploy oVirt environment: ERROR (in 0:02:09) Error occured, aborting Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 264, in do_run self.cli_plugins[args.ovirtverb].do_run(args) File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run self._do_run(**vars(args)) File "/usr/lib/python2.7/site-packages/lago/utils.py", line 489, in wrapper return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/lago/utils.py", line 500, in wrapper return func(*args, prefix=prefix, **kwargs) File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 187, in do_deploy prefix.deploy() File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 621, in wrapper return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/ovirtlago/reposetup.py", line 67, in wrapper return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/ovirtlago/__init__.py", line 198, in deploy return super(OvirtPrefix, self).deploy() File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 621, in wrapper return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1249, in deploy self._deploy_host, self.virt_env.get_vms().values() File "/usr/lib/python2.7/site-packages/lago/utils.py", line 97, in invoke_in_parallel vt.join_all() File "/usr/lib/python2.7/site-packages/lago/utils.py", line 55, in _ret_via_queue queue.put({'return': func()}) File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1242, in _deploy_host host.name(), RuntimeError: /root/ovirt-system-tests/deployment-basic-suite-master/default/scripts/_root_ovirt-system-tests_basic-suite-master_.._common_deploy-scripts_setup_storage_unifie -- output -- Could you do something about the problems? Thanks, mpolednik [1] https://gerrit.ovirt.org/#/c/68166/2/common/deploy-scripts/add_local_repo.sh

On 12 December 2016 at 13:45, Martin Polednik <mpolednik@redhat.com> wrote:
+ systemctl start rpcbind.service Failed to start rpcbind.service: Unit rpcbind.service failed to load: No such file or directory.
Could you do something about the problems?
Looks like a breaking change in CentOS, we'll need to figure out what to do to get NFS to work instead of restarting RPCBIND (Or perhaps we have a missing package). -- Barak Korren bkorren@redhat.com RHCE, RHCi, RHV-DevOps Team https://ifireball.wordpress.com/

Hi Martin, Please pull latest master, the issue for 4.0/master should be resolved. This was caused due to package changes in CentOS 7.3 yesterday.
playing with install_lago.sh, I've found few issues that are blocking my further progress. First problem is that install_lago.sh on el7 doesn't install EPEL. Thanks for reporting - you mind opening an issue at https://github.com/lago-project/lago-demo/issues?
Nadav. On Mon, Dec 12, 2016 at 2:34 PM, Barak Korren <bkorren@redhat.com> wrote:
On 12 December 2016 at 13:45, Martin Polednik <mpolednik@redhat.com> wrote:
+ systemctl start rpcbind.service Failed to start rpcbind.service: Unit rpcbind.service failed to load: No such file or directory.
Could you do something about the problems?
Looks like a breaking change in CentOS, we'll need to figure out what to do to get NFS to work instead of restarting RPCBIND (Or perhaps we have a missing package).
-- Barak Korren bkorren@redhat.com RHCE, RHCi, RHV-DevOps Team https://ifireball.wordpress.com/ _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/infra
participants (3)
-
Barak Korren
-
Martin Polednik
-
Nadav Goldin