Facing the error while performing step 06. Please support
root@asadch-HP-Pavilion-15-Notebook-PC:~/elijah-openstack/ansible# ansible-playbook -i ./hosts openstack-kilo.yaml
PLAY [compute] *********************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************
ok: [localhost]
TASK [cloudlet : (CLOUDLET) install fabric/openssh/git] ****************************************************************************************
ok: [localhost] => (item=[u'fabric', u'git', u'openssh-server'])
TASK [cloudlet : (CLOUDLET) checkout elijah-provisioning code from github] *********************************************************************
ok: [localhost]
TASK [cloudlet : (CLOUDLET) install library using fabric] **************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "fab --user asadch --password asad4906 install", "delta": "0:09:41.247960", "end": "2017-07-12 21:14:47.902109", "failed": true, "rc": 1, "start": "2017-07-12 21:05:06.654149", "stderr": "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV\n self.cipher = factory.new(key, *args, **kwargs)\n\nWarning: sudo() received nonzero return code 1 while executing 'python setup.py install'!\n\n\nFatal error: cannot install cloudlet library\n\nAborting.", "stderrlines": ["/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV", " self.cipher = factory.new(key, args, **kwargs)", "", "Warning: sudo() received nonzero return code 1 while executing 'python setup.py install'!", "", "", "Fatal error: cannot install cloudlet library", "", "Aborting."], "stdout": "[localhost] Executing task 'install'\n[localhost] run: egrep '^flags.(vmx|svm)' /proc/cpuinfo > /dev/null\n[localhost] sudo: sudo apt-get update\n[localhost] out: sudo password:\n[localhost] out: \n[localhost] out: Reading package lists... 0%\n[localhost] out: \n[localhost] out: Reading package lists... 100%\n[localhost] out: \n[localhost] out: Reading package lists... Done\n[localhost] out: \n[localhost] out: \n[localhost] out: Building dependency tree... 0%\n[localhost] out: \n[localhost] out: Building dependency tree... 0%\n[localhost] out: \n[localhost] out: Building dependency tree... 50%\n[localhost] out: \n[localhost] out: Building dependency tree... 50%\n[localhost] out: \n[localhost] out: Building dependency tree \n[localhost] out: \n[localhost] out: \n[localhost] out: Reading state information... 0%\n[localhost] out: \n[localhost] out: Reading state information... 0%\n[localhost] out: \n[localhost] out: Reading state information... Done\n[localhost] out: \n[localhost] out: libglu1-mesa is already the newest version.\n[localhost] out: python-dev is already the newest version.\n[localhost] out: python-lzma is already the newest version.\n[localhost] out: apparmor-utils is already the newest version.\n[localhost] out: libc6-i386 is already the newest version.\n[localhost] out: libvirt-bin is already the newest version.\n[localhost] out: libxml2-dev is already the newest version.\n[localhost] out: libxslt1-dev is already the newest version.\n[localhost] out: python-libvirt is already the newest version.\n[localhost] out: python-lxml is already the newest version.\n[localhost] out: qemu-kvm is already the newest version.\n[localhost] out: gvncviewer is already the newest version.\n[localhost] out: python-pip is already the newest version.\n[localhost] out: 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.\n[localhost] out: \n[localhost] out: sudo password:\n[localhost] out: --2017-07-12 21:05:21-- http://mirrors.kernel.org/ubuntu/pool/universe/x/xdelta3/python-xdelta33.0.0.dfsg-1build1_amd64.deb\n[localhost] out: Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9, 2001:19d0:306:6:0:1994:3:14\n[localhost] out: Connecting to mirrors.kernel.org (mirrors.kernel.org)|198.145.21.9|:80... connected.\n[localhost] out: HTTP request sent, awaiting response... 200 OK\n[localhost] out: Length: 76302 (75K) [application/vnd.debian.binary-package]\n[localhost] out: Saving to: ‘python-xdelta3.deb’\n[localhost] out: \n[localhost] out: \n[localhost] out: 0% [ ] 0 --.-K/s \n[localhost] out: 19% [======> ] 15,129 52.2KB/s \n[localhost] out: 45% [================> ] 34,729 59.7KB/s \n[localhost] out: 71% [==========================> ] 54,329 62.2KB/s \n[localhost] out: 98% [=====================================> ] 75,329 64.8KB/s \n[localhost] out: 100%[======================================>] 76,302 65.6KB/s in 1.1s \n[localhost] out: \n[localhost] out: 2017-07-12 21:05:23 (65.6 KB/s) - ‘python-xdelta3.deb’ saved [76302/76302]\n[localhost] out: \n[localhost] out: \n[localhost] out: sudo password:\n[localhost] out: (Reading database ... \n[localhost] out: (Reading database ... 5%\n[localhost] out: (Reading database ... 10%\n[localhost] out: (Reading database ... 15%\n[localhost] out: (Reading database ... 20%\n[localhost] out: (Reading database ... 25%\n[localhost] out: (Reading database ... 30%\n[localhost] out: (Reading database ... 35%\n[localhost] out: (Reading database ... 40%\n[localhost] out: (Reading database ... 45%\n[localhost] out: (Reading database ... 50%\n[localhost] out: (Reading database ... 55%\n[localhost] out: (Reading database ... 60%\n[localhost] out: (Reading database ... 65%\n[localhost] out: (Reading database ... 70%\n[localhost] out: (Reading database ... 75%\n[localhost] out: (Reading database ... 80%\n[localhost] out: (Reading database ... 85%\n[localhost] out: (Reading database ... 90%\n[localhost] out: (Reading database ... 95%\n[localhost] out: (Reading database ... 100%\n[localhost] out: (Reading database ... 213283 files and directories currently installed.)\n[localhost] out: Preparing to unpack python-xdelta3.deb ...\n[localhost] out: Unpacking python-xdelta3 (3.0.0.dfsg-1build1) over (3.0.0.dfsg-1build1) ...\n[localhost] out: Setting up python-xdelta3 (3.0.0.dfsg-1build1) ...\n[localhost] out: \n[localhost] out: sudo password:\n[localhost] out: \n[localhost] sudo: pip install -r requirements.txt\n[localhost] out: sudo password:\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=1.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): requests>=1.1.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 2))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy==0.9.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): bsdiff4==1.1.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 5))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): Cython==0.21.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 6))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): psutil>=2.2.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): testtools>=1.8.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 8))\n[localhost] out: Requirement already satisfied (use --upgrade to upgrade): cpu-affinity>=0.1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))\n[localhost] out: Cleaning up...\n[localhost] out: \n\n[localhost] sudo: aa-complain /usr/sbin/libvirtd\n[localhost] out: sudo password:\n[localhost] out: Setting /usr/sbin/libvirtd to complain mode.\n[localhost] out: \n\n[localhost] sudo: adduser asadch kvm\n[localhost] out: sudo password:\n[localhost] out: The user asadch' is already a member of
kvm'.\n[localhost] out: \n\n[localhost] sudo: adduser asadch libvirtd\n[localhost] out: sudo password:\n[localhost] out: The user asadch' is already a member of
libvirtd'.\n[localhost] out: \n\n[localhost] sudo: chmod 1666 /dev/fuse\n[localhost] out: sudo password:\n[localhost] out: \n[localhost] sudo: chmod 644 /etc/fuse.conf\n[localhost] out: sudo password:\n[localhost] out: \n[localhost] sudo: sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf\n[localhost] out: sudo password:\n[localhost] out: \n[localhost] sudo: python setup.py install\n[localhost] out: sudo password:\n[localhost] out: Traceback (most recent call last):\n[localhost] out: File \"setup.py\", line 72, in \n[localhost] out: download_dependency('elijah/provisioning/lib/bin/x86_64')\n[localhost] out: File \"setup.py\", line 49, in download_dependency\n[localhost] out: urllib.urlretrieve(URL_MODIFIED_QEMU, download_path)\n[localhost] out: File \"/usr/lib/python2.7/urllib.py\", line 94, in urlretrieve\n[localhost] out: return urlopener.retrieve(url, filename, reporthook, data)\n[localhost] out: File \"/usr/lib/python2.7/urllib.py\", line 268, in retrieve\n[localhost] out: block = fp.read(bs)\n[localhost] out: File \"/usr/lib/python2.7/socket.py\", line 380, in read\n[localhost] out: data = self.sock.recv(left)\n[localhost] out: File \"/usr/lib/python2.7/ssl.py\", line 341, in recv\n[localhost] out: return self.read(buflen)\n[localhost] out: File \"/usr/lib/python2.7/ssl.py\", line 260, in read\n[localhost] out: return self.sslobj.read(len)\n[localhost] out: socket.error: [Errno 104] Connection reset by peer\n[localhost] out: \n\nDisconnecting from localhost... done.", "stdoutlines": ["[localhost] Executing task 'install'", "[localhost] run: egrep '^flags.*(vmx|svm)' /proc/cpuinfo > /dev/null", "[localhost] sudo: sudo apt-get update", "[localhost] out: sudo password:", "[localhost] out: ", "[localhost] out: Reading package lists... 0%", "[localhost] out: ", "[localhost] out: Reading package lists... 100%", "[localhost] out: ", "[localhost] out: Reading package lists... Done", "[localhost] out: ", "[localhost] out: ", "[localhost] out: Building dependency tree... 0%", "[localhost] out: ", "[localhost] out: Building dependency tree... 0%", "[localhost] out: ", "[localhost] out: Building dependency tree... 50%", "[localhost] out: ", "[localhost] out: Building dependency tree... 50%", "[localhost] out: ", "[localhost] out: Building dependency tree ", "[localhost] out: ", "[localhost] out: ", "[localhost] out: Reading state information... 0%", "[localhost] out: ", "[localhost] out: Reading state information... 0%", "[localhost] out: ", "[localhost] out: Reading state information... Done", "[localhost] out: ", "[localhost] out: libglu1-mesa is already the newest version.", "[localhost] out: python-dev is already the newest version.", "[localhost] out: python-lzma is already the newest version.", "[localhost] out: apparmor-utils is already the newest version.", "[localhost] out: libc6-i386 is already the newest version.", "[localhost] out: libvirt-bin is already the newest version.", "[localhost] out: libxml2-dev is already the newest version.", "[localhost] out: libxslt1-dev is already the newest version.", "[localhost] out: python-libvirt is already the newest version.", "[localhost] out: python-lxml is already the newest version.", "[localhost] out: qemu-kvm is already the newest version.", "[localhost] out: gvncviewer is already the newest version.", "[localhost] out: python-pip is already the newest version.", "[localhost] out: 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.", "[localhost] out: ", "[localhost] out: sudo password:", "[localhost] out: --2017-07-12 21:05:21-- http://mirrors.kernel.org/ubuntu/pool/universe/x/xdelta3/python-xdelta3_3.0.0.dfsg-1build1_amd64.deb", "[localhost] out: Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9, 2001:19d0:306:6:0:1994:3:14", "[localhost] out: Connecting to mirrors.kernel.org (mirrors.kernel.org)|198.145.21.9|:80... connected.", "[localhost] out: HTTP request sent, awaiting response... 200 OK", "[localhost] out: Length: 76302 (75K) [application/vnd.debian.binary-package]", "[localhost] out: Saving to: ‘python-xdelta3.deb’", "[localhost] out: ", "[localhost] out: ", "[localhost] out: 0% [ ] 0 --.-K/s ", "[localhost] out: 19% [======> ] 15,129 52.2KB/s ", "[localhost] out: 45% [================> ] 34,729 59.7KB/s ", "[localhost] out: 71% [==========================> ] 54,329 62.2KB/s ", "[localhost] out: 98% [=====================================> ] 75,329 64.8KB/s ", "[localhost] out: 100%[======================================>] 76,302 65.6KB/s in 1.1s ", "[localhost] out: ", "[localhost] out: 2017-07-12 21:05:23 (65.6 KB/s) - ‘python-xdelta3.deb’ saved [76302/76302]", "[localhost] out: ", "[localhost] out: ", "[localhost] out: sudo password:", "[localhost] out: (Reading database ... ", "[localhost] out: (Reading database ... 5%", "[localhost] out: (Reading database ... 10%", "[localhost] out: (Reading database ... 15%", "[localhost] out: (Reading database ... 20%", "[localhost] out: (Reading database ... 25%", "[localhost] out: (Reading database ... 30%", "[localhost] out: (Reading database ... 35%", "[localhost] out: (Reading database ... 40%", "[localhost] out: (Reading database ... 45%", "[localhost] out: (Reading database ... 50%", "[localhost] out: (Reading database ... 55%", "[localhost] out: (Reading database ... 60%", "[localhost] out: (Reading database ... 65%", "[localhost] out: (Reading database ... 70%", "[localhost] out: (Reading database ... 75%", "[localhost] out: (Reading database ... 80%", "[localhost] out: (Reading database ... 85%", "[localhost] out: (Reading database ... 90%", "[localhost] out: (Reading database ... 95%", "[localhost] out: (Reading database ... 100%", "[localhost] out: (Reading database ... 213283 files and directories currently installed.)", "[localhost] out: Preparing to unpack python-xdelta3.deb ...", "[localhost] out: Unpacking python-xdelta3 (3.0.0.dfsg-1build1) over (3.0.0.dfsg-1build1) ...", "[localhost] out: Setting up python-xdelta3 (3.0.0.dfsg-1build1) ...", "[localhost] out: ", "[localhost] out: sudo password:", "[localhost] out: ", "[localhost] sudo: pip install -r requirements.txt", "[localhost] out: sudo password:", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=1.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): requests>=1.1.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 2))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy==0.9.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): bsdiff4==1.1.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 5))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): Cython==0.21.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 6))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): psutil>=2.2.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): testtools>=1.8.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 8))", "[localhost] out: Requirement already satisfied (use --upgrade to upgrade): cpu-affinity>=0.1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))", "[localhost] out: Cleaning up...", "[localhost] out: ", "", "[localhost] sudo: aa-complain /usr/sbin/libvirtd", "[localhost] out: sudo password:", "[localhost] out: Setting /usr/sbin/libvirtd to complain mode.", "[localhost] out: ", "", "[localhost] sudo: adduser asadch kvm", "[localhost] out: sudo password:", "[localhost] out: The user asadch' is already a member of
kvm'.", "[localhost] out: ", "", "[localhost] sudo: adduser asadch libvirtd", "[localhost] out: sudo password:", "[localhost] out: The user asadch' is already a member of
libvirtd'.", "[localhost] out: ", "", "[localhost] sudo: chmod 1666 /dev/fuse", "[localhost] out: sudo password:", "[localhost] out: ", "[localhost] sudo: chmod 644 /etc/fuse.conf", "[localhost] out: sudo password:", "[localhost] out: ", "[localhost] sudo: sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf", "[localhost] out: sudo password:", "[localhost] out: ", "[localhost] sudo: python setup.py install", "[localhost] out: sudo password:", "[localhost] out: Traceback (most recent call last):", "[localhost] out: File \"setup.py\", line 72, in ", "[localhost] out: download_dependency('elijah/provisioning/lib/bin/x86_64')", "[localhost] out: File \"setup.py\", line 49, in download_dependency", "[localhost] out: urllib.urlretrieve(URL_MODIFIED_QEMU, download_path)", "[localhost] out: File \"/usr/lib/python2.7/urllib.py\", line 94, in urlretrieve", "[localhost] out: return urlopener.retrieve(url, filename, reporthook, data)", "[localhost] out: File \"/usr/lib/python2.7/urllib.py\", line 268, in retrieve", "[localhost] out: block = fp.read(bs)", "[localhost] out: File \"/usr/lib/python2.7/socket.py\", line 380, in read", "[localhost] out: data = self.sock.recv(left)", "[localhost] out: File \"/usr/lib/python2.7/ssl.py\", line 341, in recv", "[localhost] out: return self.read(buflen)", "[localhost] out: File \"/usr/lib/python2.7/ssl.py\", line 260, in read", "[localhost] out: return self._sslobj.read(len)", "[localhost] out: socket.error: [Errno 104] Connection reset by peer", "[localhost] out: ", "", "Disconnecting from localhost... done."]}
to retry, use: --limit @/root/elijah-openstack/ansible/openstack-kilo.retry
PLAY RECAP *************************************************************************************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1