Comment 5 for bug 1464771

Revision history for this message
Kevin Carter (kevin-carter) wrote :

Upon further review I've found that the apt module is not reliably updating the apt cache when specified with an apt package list. This issue is directly related to a bug found with the ansible core modules here: [ https://github.com/ansible/ansible-modules-core/issues/1497 ]. To resolve this we need to move our cache update calls into its own task which will ensure that the apt cache is always updated as expected.

These are the following locations in the roles/playbooks that will need to be updated to fix this:

playbooks/utility-install.yml:29: update_cache: yes
playbooks/roles/openstack_hosts/tasks/openstack_host_packages.yml:20: update_cache: yes
playbooks/roles/lxc_hosts/tasks/lxc_install.yml:20: update_cache: yes
playbooks/roles/os_horizon/tasks/horizon_install.yml:20: update_cache: yes
playbooks/roles/rabbitmq_server/tasks/rabbitmq_install.yml:20: update_cache: yes
playbooks/roles/os_glance/tasks/glance_install.yml:20: update_cache: yes
playbooks/roles/galera_client/tasks/galera_client_install.yml:20: update_cache: yes
playbooks/roles/rsyslog_client/tasks/rsyslog_client_install.yml:32: update_cache: yes
playbooks/roles/os_cinder/tasks/cinder_install.yml:20: update_cache: yes
playbooks/roles/os_swift/tasks/swift_install.yml:20: update_cache: yes
playbooks/roles/os_nova/tasks/nova_install.yml:20: update_cache: yes
playbooks/roles/os_nova/tasks/nova_spice_console_install.yml:20: update_cache: yes
playbooks/roles/os_nova/tasks/nova_compute_kvm_install.yml:20: update_cache: yes
playbooks/roles/os_keystone/tasks/keystone_install.yml:20: update_cache: yes
playbooks/roles/os_neutron/tasks/neutron_install.yml:20: update_cache: yes
playbooks/roles/rsyslog_server/tasks/rsyslog_server_install.yml:32: update_cache: yes
playbooks/roles/haproxy_server/tasks/haproxy_install.yml:20: update_cache: yes
playbooks/roles/repo_server/tasks/repo_install.yml:20: update_cache: yes
playbooks/roles/os_heat/tasks/heat_install.yml:20: update_cache: yes
playbooks/roles/memcached_server/tasks/memcached_install.yml:20: update_cache: yes
playbooks/roles/galera_server/tasks/galera_pre_install.yml:20: update_cache: yes
playbooks/roles/galera_server/tasks/galera_install.yml:30: update_cache: yes