donghm

[kolla-ansible] Nova rolling upgrade error

Jul 4th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. + echo aio
  2. + grep -q ceph
  3. + tools/kolla-ansible -i /etc/kolla/inventory -vvv reconfigure
  4. + tools/kolla-ansible -i /etc/kolla/inventory -vvv upgrade
  5. + tools/kolla-ansible -i /etc/kolla/inventory -vvv prechecks
  6. + check_failure
  7. ++ sudo docker ps -a --format '{{.Names}}' --filter status=created --filter status=restarting --filter status=paused --filter status=exited --filter status=dead
  8. + failed_containers=nova_api
  9. + [[ -n nova_api ]]
  10. + echo 'sudo docker inspect nova_api'
  11. + bash
  12. [
  13. {
  14. "Id": "5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d",
  15. "Created": "2018-07-03T02:05:13.666821521Z",
  16. "Path": "kolla_start",
  17. "Args": [],
  18. "State": {
  19. "Status": "exited",
  20. "Running": false,
  21. "Paused": false,
  22. "Restarting": false,
  23. "OOMKilled": false,
  24. "Dead": false,
  25. "Pid": 0,
  26. "ExitCode": 129,
  27. "Error": "",
  28. "StartedAt": "2018-07-03T02:05:13.829231345Z",
  29. "FinishedAt": "2018-07-03T02:05:15.974102141Z"
  30. },
  31. "Image": "sha256:a65194ce881431cd8570ff65a02473231b6e2a80ef220a7f9726a26127a3b074",
  32. "ResolvConfPath": "/var/lib/docker/containers/5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d/resolv.conf",
  33. "HostnamePath": "/var/lib/docker/containers/5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d/hostname",
  34. "HostsPath": "/var/lib/docker/containers/5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d/hosts",
  35. "LogPath": "/var/lib/docker/containers/5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d/5d3992b7ee8f1221aa6343cac1a52c3f6b8d14062bc3560a34a535b60e3eb17d-json.log",
  36. "Name": "/nova_api",
  37. "RestartCount": 0,
  38. "Driver": "aufs",
  39. "MountLabel": "",
  40. "ProcessLabel": "",
  41. "AppArmorProfile": "",
  42. "ExecIDs": null,
  43. "HostConfig": {
  44. "Binds": [
  45. "kolla_logs:/var/log/kolla/:rw",
  46. "/etc/localtime:/etc/localtime:ro",
  47. "/etc/kolla//nova-api/:/var/lib/kolla/config_files/:ro",
  48. "/lib/modules:/lib/modules:ro"
  49. ],
  50. "ContainerIDFile": "",
  51. "LogConfig": {
  52. "Type": "json-file",
  53. "Config": {}
  54. },
  55. "NetworkMode": "host",
  56. "PortBindings": null,
  57. "RestartPolicy": {
  58. "Name": "",
  59. "MaximumRetryCount": 0
  60. },
  61. "AutoRemove": false,
  62. "VolumeDriver": "",
  63. "VolumesFrom": null,
  64. "CapAdd": null,
  65. "CapDrop": null,
  66. "Dns": null,
  67. "DnsOptions": null,
  68. "DnsSearch": null,
  69. "ExtraHosts": null,
  70. "GroupAdd": null,
  71. "IpcMode": "",
  72. "Cgroup": "",
  73. "Links": null,
  74. "OomScoreAdj": 0,
  75. "PidMode": "",
  76. "Privileged": true,
  77. "PublishAllPorts": false,
  78. "ReadonlyRootfs": false,
  79. "SecurityOpt": [],
  80. "UTSMode": "",
  81. "UsernsMode": "",
  82. "ShmSize": 67108864,
  83. "Runtime": "runc",
  84. "ConsoleSize": [
  85. 0,
  86. 0
  87. ],
  88. "Isolation": "",
  89. "CpuShares": 0,
  90. "Memory": 0,
  91. "CgroupParent": "",
  92. "BlkioWeight": 0,
  93. "BlkioWeightDevice": null,
  94. "BlkioDeviceReadBps": null,
  95. "BlkioDeviceWriteBps": null,
  96. "BlkioDeviceReadIOps": null,
  97. "BlkioDeviceWriteIOps": null,
  98. "CpuPeriod": 0,
  99. "CpuQuota": 0,
  100. "CpusetCpus": "",
  101. "CpusetMems": "",
  102. "Devices": null,
  103. "DiskQuota": 0,
  104. "KernelMemory": 0,
  105. "MemoryReservation": 0,
  106. "MemorySwap": 0,
  107. "MemorySwappiness": -1,
  108. "OomKillDisable": false,
  109. "PidsLimit": 0,
  110. "Ulimits": null,
  111. "CpuCount": 0,
  112. "CpuPercent": 0,
  113. "IOMaximumIOps": 0,
  114. "IOMaximumBandwidth": 0
  115. },
  116. "GraphDriver": {
  117. "Name": "aufs",
  118. "Data": null
  119. },
  120. "Mounts": [
  121. {
  122. "Source": "/etc/kolla/nova-api",
  123. "Destination": "/var/lib/kolla/config_files",
  124. "Mode": "ro",
  125. "RW": false,
  126. "Propagation": "rprivate"
  127. },
  128. {
  129. "Source": "/lib/modules",
  130. "Destination": "/lib/modules",
  131. "Mode": "ro",
  132. "RW": false,
  133. "Propagation": "rprivate"
  134. },
  135. {
  136. "Name": "kolla_logs",
  137. "Source": "/var/lib/docker/volumes/kolla_logs/_data",
  138. "Destination": "/var/log/kolla",
  139. "Driver": "local",
  140. "Mode": "rw",
  141. "RW": true,
  142. "Propagation": "rprivate"
  143. },
  144. {
  145. "Source": "/etc/localtime",
  146. "Destination": "/etc/localtime",
  147. "Mode": "ro",
  148. "RW": false,
  149. "Propagation": "rprivate"
  150. }
  151. ],
  152. "Config": {
  153. "Hostname": "primary",
  154. "Domainname": "",
  155. "User": "nova",
  156. "AttachStdin": false,
  157. "AttachStdout": false,
  158. "AttachStderr": false,
  159. "Tty": true,
  160. "OpenStdin": false,
  161. "StdinOnce": false,
  162. "Env": [
  163. "KOLLA_SERVICE_NAME=nova-api",
  164. "KOLLA_CONFIG_STRATEGY=COPY_ALWAYS",
  165. "PATH=/var/lib/kolla/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  166. "PIP_INDEX_URL=http://mirror.ord.rax.openstack.org:8080/pypi/simple",
  167. "PIP_TRUSTED_HOST=mirror.ord.rax.openstack.org",
  168. "KOLLA_BASE_DISTRO=ubuntu",
  169. "KOLLA_INSTALL_TYPE=source",
  170. "KOLLA_INSTALL_METATYPE=mixed",
  171. "PS1=$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ ",
  172. "DEBIAN_FRONTEND=noninteractive"
  173. ],
  174. "Cmd": [
  175. "kolla_start"
  176. ],
  177. "Image": "kolla/ubuntu-source-nova-api:master",
  178. "Volumes": {
  179. "/etc/localtime": {},
  180. "/lib/modules": {},
  181. "/var/lib/kolla/config_files/": {},
  182. "/var/log/kolla/": {}
  183. },
  184. "WorkingDir": "",
  185. "Entrypoint": null,
  186. "OnBuild": null,
  187. "Labels": {
  188. "build-date": "20180702",
  189. "kolla_version": "7.0.0",
  190. "maintainer": "Kolla Project (https://launchpad.net/kolla)",
  191. "name": "nova-api"
  192. }
  193. },
  194. "NetworkSettings": {
  195. "Bridge": "",
  196. "SandboxID": "e4ed7d89c8451a0756bb97440c20e5beaae90c688589a8da781bc79a53c99f9f",
  197. "HairpinMode": false,
  198. "LinkLocalIPv6Address": "",
  199. "LinkLocalIPv6PrefixLen": 0,
  200. "Ports": null,
  201. "SandboxKey": "/var/run/docker/netns/default",
  202. "SecondaryIPAddresses": null,
  203. "SecondaryIPv6Addresses": null,
  204. "EndpointID": "",
  205. "Gateway": "",
  206. "GlobalIPv6Address": "",
  207. "GlobalIPv6PrefixLen": 0,
  208. "IPAddress": "",
  209. "IPPrefixLen": 0,
  210. "IPv6Gateway": "",
  211. "MacAddress": "",
  212. "Networks": {
  213. "host": {
  214. "IPAMConfig": null,
  215. "Links": null,
  216. "Aliases": null,
  217. "NetworkID": "774ec345aefb019ae479cf74fec5d92c415ed99f777b43afb18b927c18f93f16",
  218. "EndpointID": "",
  219. "Gateway": "",
  220. "IPAddress": "",
  221. "IPPrefixLen": 0,
  222. "IPv6Gateway": "",
  223. "GlobalIPv6Address": "",
  224. "GlobalIPv6PrefixLen": 0,
  225. "MacAddress": ""
  226. }
  227. }
  228. }
  229. }
  230. ]
  231. + exit 1
Add Comment
Please, Sign In to add comment