Guest User

Untitled

a guest
Feb 16th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.85 KB | None | 0 0
  1. Script started on Fri Feb 15 17:29:09 2019
  2. [?1034h]0;mariano@gandalf:~/lightbend/github/console-charts/enterprise-suite/scriptsmariano@gandalf:scripts[498] ./prtests
  3. Error: release: "enterprise-suite" not found
  4. ########################################
  5. # Starting state
  6. NAME READY STATUS RESTARTS AGE
  7. pod/tiller-deploy-c7d5d5695-2w2wc 1/1 Running 0 44h
  8.  
  9. NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
  10. service/tiller-deploy ClusterIP 10.105.221.44 <none> 44134/TCP 44h
  11.  
  12. NAME READY UP-TO-DATE AVAILABLE AGE
  13. deployment.apps/tiller-deploy 1/1 1 1 44h
  14.  
  15. NAME DESIRED CURRENT READY AGE
  16. replicaset.apps/tiller-deploy-c7d5d5695 1 1 1 44h
  17. No resources found.
  18. ########################################
  19. # Typical dev setup...
  20. ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=false
  21. helm install .. --name enterprise-suite --namespace lightbend --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpK9YzNr --set usePersistentVolumes=false --wait
  22. NAME: enterprise-suite
  23. LAST DEPLOYED: Fri Feb 15 17:29:15 2019
  24. NAMESPACE: lightbend
  25. STATUS: DEPLOYED
  26.  
  27.  
  28. Checking deployment es-console ... ok
  29. Checking deployment grafana-server ... ok
  30. Checking deployment prometheus-kube-state-metrics ... ok
  31. Checking deployment prometheus-server ... ok
  32. Checking deployment prometheus-alertmanager ... ok
  33. Your Lightbend Console seems to be running fine!
  34. grafana: - emptyDir: {}
  35. prometheus: - emptyDir: {}
  36. - emptyDir: {}
  37. alertmanager: - emptyDir: {}
  38. No resources found.
  39. ########################################
  40. # Now dev reintalls
  41. # No issues
  42. ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=false
  43. helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpNvd2Gf --set usePersistentVolumes=false --wait
  44. Release "enterprise-suite" has been upgraded. Happy Helming!
  45. LAST DEPLOYED: Fri Feb 15 17:29:34 2019
  46. NAMESPACE: lightbend
  47. STATUS: DEPLOYED
  48.  
  49.  
  50. Your Lightbend Console seems to be running fine!
  51. Checking deployment es-console ... ok
  52. Checking deployment grafana-server ... ok
  53. Checking deployment prometheus-kube-state-metrics ... ok
  54. Checking deployment prometheus-server ... ok
  55. Checking deployment prometheus-alertmanager ... ok
  56. grafana: - emptyDir: {}
  57. prometheus: - emptyDir: {}
  58. - emptyDir: {}
  59. alertmanager: - emptyDir: {}
  60. No resources found.
  61. ########################################
  62. # Now switch to using PVs
  63. # Not allowing for now. This may change...
  64. ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
  65. WARNING: usePersistentVolumes was false. Continued (un)installation will result in the loss of Console data.
  66. Stopping. Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
  67. grafana: - emptyDir: {}
  68. prometheus: - emptyDir: {}
  69. - emptyDir: {}
  70. alertmanager: - emptyDir: {}
  71. No resources found.
  72. ########################################
  73. # Try again with --unbind
  74. ./lbc.py install --local-chart=.. --unbind --wait -- --set usePersistentVolumes=true
  75. helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpNcnzJn --set usePersistentVolumes=true --wait
  76. Release "enterprise-suite" has been upgraded. Happy Helming!
  77. LAST DEPLOYED: Fri Feb 15 17:29:43 2019
  78. NAMESPACE: lightbend
  79. STATUS: DEPLOYED
  80.  
  81.  
  82. Your Lightbend Console seems to be running fine!
  83. Checking deployment es-console ... ok
  84. Checking deployment grafana-server ... ok
  85. Checking deployment prometheus-kube-state-metrics ... ok
  86. Checking deployment prometheus-server ... ok
  87. Checking deployment prometheus-alertmanager ... ok
  88. grafana: persistentVolumeClaim:
  89. claimName: es-grafana-storage
  90. prometheus: - emptyDir: {}
  91. persistentVolumeClaim:
  92. claimName: prometheus-storage
  93. alertmanager: persistentVolumeClaim:
  94. claimName: alertmanager-storage
  95. NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
  96. persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 30s
  97. persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 30s
  98. persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 30s
  99.  
  100. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  101. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 30s
  102. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 29s
  103. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 26s
  104. ########################################
  105. # Now have PVs. Try to install again without --unbind
  106. # All good. Reuse existing PVs
  107. ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
  108. helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmplFknOe --set usePersistentVolumes=true --wait
  109. Release "enterprise-suite" has been upgraded. Happy Helming!
  110. LAST DEPLOYED: Fri Feb 15 17:30:16 2019
  111. NAMESPACE: lightbend
  112. STATUS: DEPLOYED
  113.  
  114.  
  115. Your Lightbend Console seems to be running fine!
  116. Checking deployment es-console ... ok
  117. Checking deployment grafana-server ... ok
  118. Checking deployment prometheus-kube-state-metrics ... ok
  119. Checking deployment prometheus-server ... ok
  120. Checking deployment prometheus-alertmanager ... ok
  121. grafana: persistentVolumeClaim:
  122. claimName: es-grafana-storage
  123. prometheus: - emptyDir: {}
  124. persistentVolumeClaim:
  125. claimName: prometheus-storage
  126. alertmanager: persistentVolumeClaim:
  127. claimName: alertmanager-storage
  128. NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
  129. persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 39s
  130. persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 39s
  131. persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 39s
  132.  
  133. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  134. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 39s
  135. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 38s
  136. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 35s
  137. ########################################
  138. # Try to uninstall
  139. # No joy. Have unretained PVs
  140. ./lbc.py uninstall
  141. WARNING: Given the current and desired configs, continued (un)installation will result in the loss of Console data.
  142. info: Reclaim policy for PV pvc-56692e4d-318a-11e9-bd5a-080027c68b7b for claim alertmanager-storage is not 'Retain'
  143. info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is not 'Retain'
  144. info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is not 'Retain'
  145. Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
  146. Stopping
  147. grafana: persistentVolumeClaim:
  148. claimName: es-grafana-storage
  149. prometheus: - emptyDir: {}
  150. persistentVolumeClaim:
  151. claimName: prometheus-storage
  152. alertmanager: persistentVolumeClaim:
  153. claimName: alertmanager-storage
  154. NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
  155. persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 40s
  156. persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 40s
  157. persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 40s
  158.  
  159. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  160. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 40s
  161. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 39s
  162. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 36s
  163. ########################################
  164. # Set the reclaim policy to Retain on one PV and try to uninstall
  165. # No joy. Still have unretained PVs
  166. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched
  167. ./lbc.py uninstall
  168. WARNING: Given the current and desired configs, continued (un)installation will result in the loss of Console data.
  169. info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is not 'Retain'
  170. info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is not 'Retain'
  171. Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
  172. Stopping
  173. grafana: persistentVolumeClaim:
  174. claimName: es-grafana-storage
  175. prometheus: - emptyDir: {}
  176. persistentVolumeClaim:
  177. claimName: prometheus-storage
  178. alertmanager: persistentVolumeClaim:
  179. claimName: alertmanager-storage
  180. NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
  181. persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 42s
  182. persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 42s
  183. persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 42s
  184.  
  185. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  186. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/alertmanager-storage standard 42s
  187. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 41s
  188. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 38s
  189. ########################################
  190. # Set the reclaim policy to Retain on all our PVs and try to uninstall
  191. # Now we get a different warning about orphaning but will uninstall anyway
  192. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched (no change)
  193. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b patched
  194. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b patched
  195. ./lbc.py uninstall
  196. WARNING: Given the current and desired configs, this (un)installation will orphan existing Console data.
  197. Manual intervention will be required to reuse it with the Console, or to actually delete it.
  198. See associated documentation at blahdiblah.
  199. info: Reclaim policy for PV pvc-56692e4d-318a-11e9-bd5a-080027c68b7b for claim alertmanager-storage is 'Retain'
  200. info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is 'Retain'
  201. info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is 'Retain'
  202. info: deleting previous console installation enterprise-suite with status 'deployed'
  203. helm delete --purge enterprise-suite
  204. release "enterprise-suite" deleted
  205.  
  206. warning: helm delete does not wait for resources to be removed- if the script fails on install, please re-run it.
  207. # Waiting for PVs to be released...
  208. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  209. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Released lightbend/alertmanager-storage standard 64s
  210. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Released lightbend/es-grafana-storage standard 63s
  211. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Released lightbend/prometheus-storage standard 60s
  212. ########################################
  213. # Change status to Available on all our PVs and install again
  214. # Now we bind to the old data
  215. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched
  216. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b patched
  217. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b patched
  218. # Waiting for PVs to be available...
  219. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  220. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Available lightbend/alertmanager-storage standard 65s
  221. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Available lightbend/es-grafana-storage standard 64s
  222. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Available lightbend/prometheus-storage standard 61s
  223. ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
  224. helm install .. --name enterprise-suite --namespace lightbend --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpAodkF2 --set usePersistentVolumes=true --wait
  225. NAME: enterprise-suite
  226. LAST DEPLOYED: Fri Feb 15 17:30:50 2019
  227. NAMESPACE: lightbend
  228. STATUS: DEPLOYED
  229.  
  230.  
  231. Your Lightbend Console seems to be running fine!
  232. Checking deployment es-console ... ok
  233. Checking deployment grafana-server ... ok
  234. Checking deployment prometheus-kube-state-metrics ... ok
  235. Checking deployment prometheus-server ... ok
  236. Checking deployment prometheus-alertmanager ... ok
  237. grafana: persistentVolumeClaim:
  238. claimName: es-grafana-storage
  239. prometheus: - emptyDir: {}
  240. persistentVolumeClaim:
  241. claimName: prometheus-storage
  242. alertmanager: persistentVolumeClaim:
  243. claimName: alertmanager-storage
  244. NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
  245. persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 18s
  246. persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 18s
  247. persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 18s
  248.  
  249. NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
  250. persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/alertmanager-storage standard 85s
  251. persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/es-grafana-storage standard 84s
  252. persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Bound lightbend/prometheus-storage standard 81s
  253. ]0;mariano@gandalf:~/lightbend/github/console-charts/enterprise-suite/scriptsmariano@gandalf:scripts[499] exit
  254.  
  255. Script done on Fri Feb 15 17:31:12 2019
Add Comment
Please, Sign In to add comment