umair47's profile - activity

2019-12-21 02:17:08 -0600 received badge  Popular Question (source)
2018-10-30 10:56:40 -0600 asked a question openstack-ansible stuck on openstack_hosts_configure_apt.yml

Hi,

I am new to OpenStack and doing a AIO installation to deploy OpenStack on a single VM following this guide: https://docs.openstack.org/openstack-ansible/latest/user/aio/quickstart.html (OpenStack Ansible AIO)

When I run the command:

openstack-ansible setup-hosts.yml

everything works fine until the task:

TASK [openstack_hosts : Remove the blacklisted packages]

which is the first task in this script https://github.com/openstack/openstack-ansible-openstack_hosts/blob/master/tasks/openstack_hosts_configure_apt.yml (openstack_hosts_configure_apt.yml).

At this point the installation gets stuck. One time, I also received the errors similar to the following after the time out:

Connection failed [IP: 91.189.91.23 80]", "Err:3 http://nova.clouds.archive.ubuntu.com/ubuntu (http://nova.clouds.archive.ubuntu.com...) xenial-updates/main amd64 python-apt amd64 1│Fetched 323 kB in 0s (348 kB/s).1.0~beta1ubuntu0.16.04.2

I have also tried running sudo apt update and upgrade. The result shows that packages are updated.

The contents of sources.list file are as follows (without the comments):

deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial main restricted deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial main restricted deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates main restricted deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates main restricted deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial universe deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial universe deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates universe deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates universe deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial multiverse deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial multiverse deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates multiverse deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-updates multiverse deb http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-backports main restricted universe multiverse deb-src http://nova.clouds.archive.ubuntu.com/ubuntu/ (http://nova.clouds.archive.ubuntu.com...) xenial-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu xenial-security main restricted deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

I am assuming that this only runs apt-get update but it works fine when I run it. I am not sure why the installation gets stuck at this point. Can anyone help?

Thanks very much in advance.

2018-10-30 10:56:40 -0600 commented question Openstack Ansible fails on setup-infrastructure.yml

did you find the reason that caused your problem? My installation gets stuck on setup-hosts.yml