Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script started on Fri Feb 15 17:29:09 2019
- [?1034h]0;mariano@gandalf:~/lightbend/github/console-charts/enterprise-suite/scriptsmariano@gandalf:scripts[[7m498[m] ./prtests
- Error: release: "enterprise-suite" not found
- ########################################
- # Starting state
- NAME READY STATUS RESTARTS AGE
- pod/tiller-deploy-c7d5d5695-2w2wc 1/1 Running 0 44h
- NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
- service/tiller-deploy ClusterIP 10.105.221.44 <none> 44134/TCP 44h
- NAME READY UP-TO-DATE AVAILABLE AGE
- deployment.apps/tiller-deploy 1/1 1 1 44h
- NAME DESIRED CURRENT READY AGE
- replicaset.apps/tiller-deploy-c7d5d5695 1 1 1 44h
- No resources found.
- ########################################
- # Typical dev setup...
- ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=false
- helm install .. --name enterprise-suite --namespace lightbend --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpK9YzNr --set usePersistentVolumes=false --wait
- NAME: enterprise-suite
- LAST DEPLOYED: Fri Feb 15 17:29:15 2019
- NAMESPACE: lightbend
- STATUS: DEPLOYED
- Checking deployment es-console ... ok
- Checking deployment grafana-server ... ok
- Checking deployment prometheus-kube-state-metrics ... ok
- Checking deployment prometheus-server ... ok
- Checking deployment prometheus-alertmanager ... ok
- Your Lightbend Console seems to be running fine!
- grafana: - emptyDir: {}
- prometheus: - emptyDir: {}
- - emptyDir: {}
- alertmanager: - emptyDir: {}
- No resources found.
- ########################################
- # Now dev reintalls
- # No issues
- ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=false
- helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpNvd2Gf --set usePersistentVolumes=false --wait
- Release "enterprise-suite" has been upgraded. Happy Helming!
- LAST DEPLOYED: Fri Feb 15 17:29:34 2019
- NAMESPACE: lightbend
- STATUS: DEPLOYED
- Your Lightbend Console seems to be running fine!
- Checking deployment es-console ... ok
- Checking deployment grafana-server ... ok
- Checking deployment prometheus-kube-state-metrics ... ok
- Checking deployment prometheus-server ... ok
- Checking deployment prometheus-alertmanager ... ok
- grafana: - emptyDir: {}
- prometheus: - emptyDir: {}
- - emptyDir: {}
- alertmanager: - emptyDir: {}
- No resources found.
- ########################################
- # Now switch to using PVs
- # Not allowing for now. This may change...
- ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
- WARNING: usePersistentVolumes was false. Continued (un)installation will result in the loss of Console data.
- Stopping. Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
- grafana: - emptyDir: {}
- prometheus: - emptyDir: {}
- - emptyDir: {}
- alertmanager: - emptyDir: {}
- No resources found.
- ########################################
- # Try again with --unbind
- ./lbc.py install --local-chart=.. --unbind --wait -- --set usePersistentVolumes=true
- helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpNcnzJn --set usePersistentVolumes=true --wait
- Release "enterprise-suite" has been upgraded. Happy Helming!
- LAST DEPLOYED: Fri Feb 15 17:29:43 2019
- NAMESPACE: lightbend
- STATUS: DEPLOYED
- Your Lightbend Console seems to be running fine!
- Checking deployment es-console ... ok
- Checking deployment grafana-server ... ok
- Checking deployment prometheus-kube-state-metrics ... ok
- Checking deployment prometheus-server ... ok
- Checking deployment prometheus-alertmanager ... ok
- grafana: persistentVolumeClaim:
- claimName: es-grafana-storage
- prometheus: - emptyDir: {}
- persistentVolumeClaim:
- claimName: prometheus-storage
- alertmanager: persistentVolumeClaim:
- claimName: alertmanager-storage
- NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
- persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 30s
- persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 30s
- persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 30s
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 30s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 29s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 26s
- ########################################
- # Now have PVs. Try to install again without --unbind
- # All good. Reuse existing PVs
- ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
- helm upgrade enterprise-suite .. --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmplFknOe --set usePersistentVolumes=true --wait
- Release "enterprise-suite" has been upgraded. Happy Helming!
- LAST DEPLOYED: Fri Feb 15 17:30:16 2019
- NAMESPACE: lightbend
- STATUS: DEPLOYED
- Your Lightbend Console seems to be running fine!
- Checking deployment es-console ... ok
- Checking deployment grafana-server ... ok
- Checking deployment prometheus-kube-state-metrics ... ok
- Checking deployment prometheus-server ... ok
- Checking deployment prometheus-alertmanager ... ok
- grafana: persistentVolumeClaim:
- claimName: es-grafana-storage
- prometheus: - emptyDir: {}
- persistentVolumeClaim:
- claimName: prometheus-storage
- alertmanager: persistentVolumeClaim:
- claimName: alertmanager-storage
- NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
- persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 39s
- persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 39s
- persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 39s
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 39s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 38s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 35s
- ########################################
- # Try to uninstall
- # No joy. Have unretained PVs
- ./lbc.py uninstall
- WARNING: Given the current and desired configs, continued (un)installation will result in the loss of Console data.
- info: Reclaim policy for PV pvc-56692e4d-318a-11e9-bd5a-080027c68b7b for claim alertmanager-storage is not 'Retain'
- info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is not 'Retain'
- info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is not 'Retain'
- Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
- Stopping
- grafana: persistentVolumeClaim:
- claimName: es-grafana-storage
- prometheus: - emptyDir: {}
- persistentVolumeClaim:
- claimName: prometheus-storage
- alertmanager: persistentVolumeClaim:
- claimName: alertmanager-storage
- NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
- persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 40s
- persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 40s
- persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 40s
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/alertmanager-storage standard 40s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 39s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 36s
- ########################################
- # Set the reclaim policy to Retain on one PV and try to uninstall
- # No joy. Still have unretained PVs
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched
- ./lbc.py uninstall
- WARNING: Given the current and desired configs, continued (un)installation will result in the loss of Console data.
- info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is not 'Retain'
- info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is not 'Retain'
- Invoke again with '--unbind' to proceed anyway, but save your data first if so desired
- Stopping
- grafana: persistentVolumeClaim:
- claimName: es-grafana-storage
- prometheus: - emptyDir: {}
- persistentVolumeClaim:
- claimName: prometheus-storage
- alertmanager: persistentVolumeClaim:
- claimName: alertmanager-storage
- NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
- persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 42s
- persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 42s
- persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 42s
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/alertmanager-storage standard 42s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Delete Bound lightbend/es-grafana-storage standard 41s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Delete Bound lightbend/prometheus-storage standard 38s
- ########################################
- # Set the reclaim policy to Retain on all our PVs and try to uninstall
- # Now we get a different warning about orphaning but will uninstall anyway
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched (no change)
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b patched
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b patched
- ./lbc.py uninstall
- WARNING: Given the current and desired configs, this (un)installation will orphan existing Console data.
- Manual intervention will be required to reuse it with the Console, or to actually delete it.
- See associated documentation at blahdiblah.
- info: Reclaim policy for PV pvc-56692e4d-318a-11e9-bd5a-080027c68b7b for claim alertmanager-storage is 'Retain'
- info: Reclaim policy for PV pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b for claim es-grafana-storage is 'Retain'
- info: Reclaim policy for PV pvc-56731b7f-318a-11e9-bd5a-080027c68b7b for claim prometheus-storage is 'Retain'
- info: deleting previous console installation enterprise-suite with status 'deployed'
- helm delete --purge enterprise-suite
- release "enterprise-suite" deleted
- warning: helm delete does not wait for resources to be removed- if the script fails on install, please re-run it.
- # Waiting for PVs to be released...
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Released lightbend/alertmanager-storage standard 64s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Released lightbend/es-grafana-storage standard 63s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Released lightbend/prometheus-storage standard 60s
- ########################################
- # Change status to Available on all our PVs and install again
- # Now we bind to the old data
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b patched
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b patched
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b patched
- # Waiting for PVs to be available...
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Available lightbend/alertmanager-storage standard 65s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Available lightbend/es-grafana-storage standard 64s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Available lightbend/prometheus-storage standard 61s
- ./lbc.py install --local-chart=.. --wait -- --set usePersistentVolumes=true
- helm install .. --name enterprise-suite --namespace lightbend --devel --values /var/folders/bv/2k8r1zwx6q140dgy7sjbsx280000gn/T/tmpAodkF2 --set usePersistentVolumes=true --wait
- NAME: enterprise-suite
- LAST DEPLOYED: Fri Feb 15 17:30:50 2019
- NAMESPACE: lightbend
- STATUS: DEPLOYED
- Your Lightbend Console seems to be running fine!
- Checking deployment es-console ... ok
- Checking deployment grafana-server ... ok
- Checking deployment prometheus-kube-state-metrics ... ok
- Checking deployment prometheus-server ... ok
- Checking deployment prometheus-alertmanager ... ok
- grafana: persistentVolumeClaim:
- claimName: es-grafana-storage
- prometheus: - emptyDir: {}
- persistentVolumeClaim:
- claimName: prometheus-storage
- alertmanager: persistentVolumeClaim:
- claimName: alertmanager-storage
- NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
- persistentvolumeclaim/alertmanager-storage Bound pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 18s
- persistentvolumeclaim/es-grafana-storage Bound pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO standard 18s
- persistentvolumeclaim/prometheus-storage Bound pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO standard 18s
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- persistentvolume/pvc-56692e4d-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/alertmanager-storage standard 85s
- persistentvolume/pvc-566cb8d5-318a-11e9-bd5a-080027c68b7b 32Gi RWO Retain Bound lightbend/es-grafana-storage standard 84s
- persistentvolume/pvc-56731b7f-318a-11e9-bd5a-080027c68b7b 256Gi RWO Retain Bound lightbend/prometheus-storage standard 81s
- ]0;mariano@gandalf:~/lightbend/github/console-charts/enterprise-suite/scriptsmariano@gandalf:scripts[[7m499[m] exit
- Script done on Fri Feb 15 17:31:12 2019
Add Comment
Please, Sign In to add comment