Skip to content

Instantly share code, notes, and snippets.

@a1git
Created March 31, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/b0ab45bd7ba7866b9992782a7cd7c7ab to your computer and use it in GitHub Desktop.
Save a1git/b0ab45bd7ba7866b9992782a7cd7c7ab to your computer and use it in GitHub Desktop.
1. applied the latest PBR fix
2. openstack installed fine -- stable/queens
3. noticed rabbitmq on controller2 not working OK.
4. deleted the container: openstack-ansible lxc-containers-destroy.yml --limit='c2_rabbit*'
5. recreated the container: openstack-ansible lxc-containers-create.yml --limit='c2_rabbit*'
error came on step 5 ^^
TASK [pip_install : Install pip packages] ******************************************************************************************************************************
Saturday 31 March 2018 11:39:07 +0000 (0:00:03.711) 0:01:23.083 ********
FAILED - RETRYING: Install pip packages (5 retries left).
FAILED - RETRYING: Install pip packages (4 retries left).
FAILED - RETRYING: Install pip packages (3 retries left).
FAILED - RETRYING: Install pip packages (2 retries left).
FAILED - RETRYING: Install pip packages (1 retries left).
fatal: [c2_rabbit_mq_container-81e30416]: FAILED! => {"attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip2 install -U --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ", "msg": "\n:stderr: ERROR: You must give at least one requirement to install (maybe you meant \"pip install http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/\"?)\n"}
TASK [pip_install : Install pip packages (fall back mode)] *************************************************************************************************************
Saturday 31 March 2018 11:39:23 +0000 (0:00:15.723) 0:01:38.806 ********
FAILED - RETRYING: Install pip packages (fall back mode) (5 retries left).
FAILED - RETRYING: Install pip packages (fall back mode) (4 retries left).
FAILED - RETRYING: Install pip packages (fall back mode) (3 retries left).
FAILED - RETRYING: Install pip packages (fall back mode) (2 retries left).
FAILED - RETRYING: Install pip packages (fall back mode) (1 retries left).
fatal: [c2_rabbit_mq_container-81e30416]: FAILED! => {"attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip2 install -U --isolated --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ", "msg": "\n:stderr: ERROR: You must give at least one requirement to install (see \"pip help install\")\n"}
PLAY RECAP *************************************************************************************************************************************************************
c2_rabbit_mq_container-81e30416 : ok=68 changed=39 unreachable=0 failed=2
debug:
<172.29.236.2> ESTABLISH SSH CONNECTION FOR USER: root
<172.29.236.2> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/fe6de89993 172.29.236.2 'lxc-attach --clear-env --name c2_rabbit_mq_container-81e30416 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
<172.29.236.2> (1, b'\n{"msg": "\\n:stderr: ERROR: You must give at least one requirement to install (see \\"pip help install\\")\\n", "failed": true, "cmd": "/usr/local/bin/pip2 install -U --isolated --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ", "invocation": {"module_args": {"virtualenv": null, "extra_args": "--isolated --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ", "virtualenv_command": "virtualenv", "chdir": null, "requirements": null, "name": [""], "virtualenv_python": null, "editable": false, "umask": null, "executable": null, "use_mirrors": true, "virtualenv_site_packages": false, "state": "latest", "version": null}}}\n', b'OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 183343\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nmesg: ttyname failed: Inappropriate ioctl for device\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
fatal: [c2_rabbit_mq_container-81e30416]: FAILED! => {
"attempts": 5,
"changed": false,
"cmd": "/usr/local/bin/pip2 install -U --isolated --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ",
"invocation": {
"module_args": {
"chdir": null,
"editable": false,
"executable": null,
"extra_args": "--isolated --constraint http://int.atl.domain.cloud:8181/os-releases/17.0.0/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt ",
"name": [
""
],
"requirements": null,
"state": "latest",
"umask": null,
"use_mirrors": true,
"version": null,
"virtualenv": null,
"virtualenv_command": "virtualenv",
"virtualenv_python": null,
"virtualenv_site_packages": false
}
},
"msg": "\n:stderr: ERROR: You must give at least one requirement to install (see \"pip help install\")\n"
}
PLAY RECAP *************************************************************************************************************************************************************
c2_rabbit_mq_container-81e30416 : ok=66 changed=9 unreachable=0 failed=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment