Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. TASK [repo_server : Install repo server packages] ************************************************************************************************************
  2. task path: /etc/ansible/roles/repo_server/tasks/repo_install.yml:16
  3. Monday 16 October 2017 16:32:03 -0400 (0:00:01.172) 0:00:16.192 ********
  4. container_name: "aio1_repo_container-794b3a19"
  5. physical_host: "aio1"
  6. Container confirmed
  7. Using module file /opt/ansible-runtime/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py
  8. container_name: "aio1_repo_container-794b3a19"
  9. physical_host: "aio1"
  10. Container confirmed
  11. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  12. <172.29.236.100> SSH: EXEC ssh -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/53b4b74265 172.29.236.100 'lxc-attach --clear-env --name aio1_repo_container-794b3a19 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  13. <172.29.236.100> (1, '\n{"changed": false, "results": [], "failed": true, "rc": 1, "invocation": {"module_args": {"name": ["git-daemon", "lsyncd", "nginx", "rsync"], "list": null, "install_repoquery": true, "conf_file": null, "disable_gpg_check": false, "state": "latest", "disablerepo": null, "update_cache": false, "enablerepo": null, "exclude": null, "validate_certs": true, "installroot": "/", "skip_broken": false}}, "msg": "\\n\\n One of the configured repositories failed (Unknown),\\n and yum doesn\'t have enough cached data to continue. At this point the only\\n safe thing yum can do is fail. There are a few ways to work \\"fix\\" this:\\n\\n 1. Contact the upstream for the repository and get them to fix the problem.\\n\\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\\n upstream. This is most often useful if you are using a newer\\n distribution release than is supported by the repository (and the\\n packages for the previous distribution release still work).\\n\\n 3. Run the command with the repository temporarily disabled\\n yum --disablerepo=<repoid> ...\\n\\n 4. Disable the repository permanently, so yum won\'t use it by default. Yum\\n will then just ignore the repository until you permanently enable it\\n again or use --enablerepo for temporary usage:\\n\\n yum-config-manager --disable <repoid>\\n or\\n subscription-manager repos --disable=<repoid>\\n\\n 5. Configure the failing repository to be skipped, if it is unavailable.\\n Note that yum will try to contact the repo. when it runs most commands,\\n so will have to try and fail each time (and thus. yum will be be much\\n slower). If it is a very temporary problem though, this is often a nice\\n compromise:\\n\\n yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\\n\\nCannot find a valid baseurl for repo: base/7/x86_64\\n"}\n', '')
  14. FAILED - RETRYING: Install repo server packages (5 retries left).Result was: {
  15. "attempts": 1,
  16. "changed": false,
  17. "failed": true,
  18. "invocation": {
  19. "module_args": {
  20. "conf_file": null,
  21. "disable_gpg_check": false,
  22. "disablerepo": null,
  23. "enablerepo": null,
  24. "exclude": null,
  25. "install_repoquery": true,
  26. "installroot": "/",
  27. "list": null,
  28. "name": [
  29. "git-daemon",
  30. "lsyncd",
  31. "nginx",
  32. "rsync"
  33. ],
  34. "skip_broken": false,
  35. "state": "latest",
  36. "update_cache": false,
  37. "validate_certs": true
  38. }
  39. },
  40. "msg": "\n\n One of the configured repositories failed (Unknown),\n and yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the repository (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo=<repoid> ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disable <repoid>\n or\n subscription-manager repos --disable=<repoid>\n\n 5. Configure the failing repository to be skipped, if it is unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and thus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\n\nCannot find a valid baseurl for repo: base/7/x86_64\n",
  41. "rc": 1,
  42. "results": [],
  43. "retries": 6
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement