[Openstack] [openstack][ansible] failed to run scripts\run-playbook behind proxy

Vaidyanath Manogaran vaidyanath.m at gmail.com
Wed Aug 10 11:18:01 UTC 2016


I get the following error when i try to execute the run-playbook.
I am installing it in the same machine. The target host and the intial host
is same.
I have made the changes in  /etc/openstack_deploy/user_variables.yml
i have put the proxy entries.

TASK: [openstack_hosts | Update apt if needed]
********************************
ok: [aio1]

TASK: [openstack_hosts | Install host packages]
*******************************
failed: [aio1] =>
(item=apparmor-utils,apt-transport-https,bridge-utils,build-essential,cgroup-lite,curl,dmeventd,dstat,ebtables,htop,iptables,irqbalance,libkmod-dev,libkmod2,lvm2,python-software-properties,python-dev,rsync,rsyslog,sshpass,sysstat,time,vlan,wget)
=> {"attempts": 5, "failed": true, "item":
"apparmor-utils,apt-transport-https,bridge-utils,build-essential,cgroup-lite,curl,dmeventd,dstat,ebtables,htop,iptables,irqbalance,libkmod-dev,libkmod2,lvm2,python-software-properties,python-dev,rsync,rsyslog,sshpass,sysstat,time,vlan,wget"}
stderr: E: There are problems and -y was used without --force-yes

stdout: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  liblvm2cmd2.02 libsensors4 python-pycurl python3-apparmor
  python3-libapparmor python3-pkg-resources
Suggested packages:
  apparmor-docs vim-addon-manager lm-sensors libcurl4-gnutls-dev
  python-pycurl-dbg python3-setuptools isag
The following NEW packages will be installed:
  apparmor-utils cgroup-lite dmeventd dstat ebtables htop libkmod-dev
  liblvm2cmd2.02 libsensors4 python-pycurl python-software-properties
  python3-apparmor python3-libapparmor python3-pkg-resources sshpass sysstat
0 upgraded, 16 newly installed, 0 to remove and 1 not upgraded.
Need to get 1144 kB of archives.
After this operation, 4711 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  python3-libapparmor python3-pkg-resources python3-apparmor apparmor-utils
  python-software-properties

msg: Task failed as maximum retries was encountered

FATAL: all hosts have already failed -- aborting



-- 
Regards,

Vaidyanath
+91-9483465528(M)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160810/85096e5b/attachment.html>


More information about the Openstack mailing list