[JIRA] (OVIRT-2319) Run suite fails when "/etc/yum/yum.conf"
doesn't exist on the host
by Gal Ben Haim (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2319?page=com.atlassian.jir... ]
Gal Ben Haim updated OVIRT-2319:
--------------------------------
Component/s: OST
> Run suite fails when "/etc/yum/yum.conf" doesn't exist on the host
> ------------------------------------------------------------------
>
> Key: OVIRT-2319
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2319
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Components: OST
> Reporter: Gal Ben Haim
> Assignee: infra
>
> When tried to run OST inside a container which is based on centos7, run_suite failed because `/etc/yum/yum.conf` was missing
> {code:java}
> + install_local_rpms
> + local pkg_manager os path_to_config
> + [[ 2 -le 0 ]]
> ++ get_package_manager
> ++ [[ -x /bin/dnf ]]
> ++ echo yum
> + pkg_manager=yum
> ++ get_package_manager_config
> ++ local pkg_manager
> +++ get_package_manager
> +++ [[ -x /bin/dnf ]]
> +++ echo yum
> ++ pkg_manager=yum
> ++ echo /etc/yum/yum.conf
> + path_to_config=/etc/yum/yum.conf
> ++ rpm -E '%{dist}'
> + os=.el7
> + os=el7
> + os=el7
> + backup_package_manager_config
> + local path_to_config path_to_config_bak
> ++ get_package_manager_config
> ++ local pkg_manager
> +++ get_package_manager
> +++ [[ -x /bin/dnf ]]
> +++ echo yum
> ++ pkg_manager=yum
> ++ echo /etc/yum/yum.conf
> + path_to_config=/etc/yum/yum.conf
> + path_to_config_bak=/etc/yum/yum.conf.ost_bak
> + [[ -e /etc/yum/yum.conf.ost_bak ]]
> + cp /etc/yum/yum.conf /etc/yum/yum.conf.ost_bak
> cp: cannot stat ‘/etc/yum/yum.conf’: No such file or directory
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100088)
6 years, 5 months
[JIRA] (OVIRT-2319) Run suite fails when "/etc/yum/yum.conf"
doesn't exist on the host
by Gal Ben Haim (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2319?page=com.atlassian.jir... ]
Gal Ben Haim updated OVIRT-2319:
--------------------------------
Description:
When tried to run OST inside a container which is based on centos7, run_suite failed because `/etc/yum/yum.conf` was missing
{code:java}
+ install_local_rpms
+ local pkg_manager os path_to_config
+ [[ 2 -le 0 ]]
++ get_package_manager
++ [[ -x /bin/dnf ]]
++ echo yum
+ pkg_manager=yum
++ get_package_manager_config
++ local pkg_manager
+++ get_package_manager
+++ [[ -x /bin/dnf ]]
+++ echo yum
++ pkg_manager=yum
++ echo /etc/yum/yum.conf
+ path_to_config=/etc/yum/yum.conf
++ rpm -E '%{dist}'
+ os=.el7
+ os=el7
+ os=el7
+ backup_package_manager_config
+ local path_to_config path_to_config_bak
++ get_package_manager_config
++ local pkg_manager
+++ get_package_manager
+++ [[ -x /bin/dnf ]]
+++ echo yum
++ pkg_manager=yum
++ echo /etc/yum/yum.conf
+ path_to_config=/etc/yum/yum.conf
+ path_to_config_bak=/etc/yum/yum.conf.ost_bak
+ [[ -e /etc/yum/yum.conf.ost_bak ]]
+ cp /etc/yum/yum.conf /etc/yum/yum.conf.ost_bak
cp: cannot stat ‘/etc/yum/yum.conf’: No such file or directory
{code}
> Run suite fails when "/etc/yum/yum.conf" doesn't exist on the host
> ------------------------------------------------------------------
>
> Key: OVIRT-2319
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2319
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Gal Ben Haim
> Assignee: infra
>
> When tried to run OST inside a container which is based on centos7, run_suite failed because `/etc/yum/yum.conf` was missing
> {code:java}
> + install_local_rpms
> + local pkg_manager os path_to_config
> + [[ 2 -le 0 ]]
> ++ get_package_manager
> ++ [[ -x /bin/dnf ]]
> ++ echo yum
> + pkg_manager=yum
> ++ get_package_manager_config
> ++ local pkg_manager
> +++ get_package_manager
> +++ [[ -x /bin/dnf ]]
> +++ echo yum
> ++ pkg_manager=yum
> ++ echo /etc/yum/yum.conf
> + path_to_config=/etc/yum/yum.conf
> ++ rpm -E '%{dist}'
> + os=.el7
> + os=el7
> + os=el7
> + backup_package_manager_config
> + local path_to_config path_to_config_bak
> ++ get_package_manager_config
> ++ local pkg_manager
> +++ get_package_manager
> +++ [[ -x /bin/dnf ]]
> +++ echo yum
> ++ pkg_manager=yum
> ++ echo /etc/yum/yum.conf
> + path_to_config=/etc/yum/yum.conf
> + path_to_config_bak=/etc/yum/yum.conf.ost_bak
> + [[ -e /etc/yum/yum.conf.ost_bak ]]
> + cp /etc/yum/yum.conf /etc/yum/yum.conf.ost_bak
> cp: cannot stat ‘/etc/yum/yum.conf’: No such file or directory
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100088)
6 years, 5 months