CentOs Zuul Jobs Failing due to "ensure-java" role in ansible playbook of devstack.

Bug #2033755 reported by Ashutosh Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
New
Undecided
Unassigned

Bug Description

https://github.com/openstack/tacker/blob/master/playbooks/devstack/pre.yaml

In above file, "ensure-java" is added as a role which is used in compliance test.
It seems like in the process of installing Java, apt-get is used which is giving error for Centos Jobs.

Now in CentOs stream 9 testing in zuul, the jobs which are using centOs as their OS are failing because apt-get is giving error in CentOs.

This error might be resolved if we specify OS(Ubuntu, CentOs etc) while installing java for ensure-java role.

We are getting below error message-

ensure-java: Update apt cache Failed
$ apt-get update
[Errno 2] No such file or directory: b'apt-get'

description: updated
description: updated
description: updated
summary: - CentOs Jobs Failing due to "ensure-java" role in ansible playbook of
- devstack.
+ CentOs Zuul Jobs Failing due to "ensure-java" role in ansible playbook
+ of devstack.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.