Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-9751

Unable to restore push namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0
    • 3.0.0
    • None
    • RC3
    • RC5
    • Service Team-Sprint 28

      Following SOPs for backup and restore, I was not able to restore push service. UPS is not coming up.

      Restore command:

      ➜  restore-push oc apply -f .
      addressspace.enmasse.io/ups created
      Warning: oc apply should be used on resource created by either oc create --save-config or oc apply
      Warning: oc apply should be used on resource created by either oc create --save-config or oc apply
      configmap/unifiedpush-operator-lock created
      deploymentconfig.apps.openshift.io/unifiedpush created
      deploymentconfig.apps.openshift.io/unifiedpush-postgresql created
      deployment.extensions/unifiedpush-operator created
      grafanadashboard.integreatly.org/unifiedpush-operator created
      grafanadashboard.integreatly.org/unifiedpushserver-dashboard created
      imagestreamtag.image.openshift.io/ups-imagestream:2.3 created
      imagestreamtag.image.openshift.io/ups-oauth-proxy-imagestream:latest created
      namespace/mobile-unifiedpush configured
      persistentvolumeclaim/unifiedpush-postgresql created
      prometheusrule.monitoring.coreos.com/unifiedpush created
      prometheusrule.monitoring.coreos.com/unifiedpush-operator created
      route.route.openshift.io/unifiedpush-unifiedpush-proxy created
      serviceaccount/backupjob created
      serviceaccount/unifiedpush created
      serviceaccount/unifiedpush-operator created
      secret/backupjob-dockercfg-jg59z created
      secret/backupjob-token-9vr5c created
      secret/backupjob-token-jzlfq created
      secret/builder-dockercfg-gtkfd created
      secret/builder-token-rphcj created
      secret/builder-token-vkfvl created
      secret/default-dockercfg-d47zm created
      secret/default-token-nt5cc created
      secret/default-token-z55pg created
      secret/deployer-dockercfg-9d42v created
      secret/deployer-token-q46rw created
      secret/deployer-token-wtk7s created
      secret/unifiedpush-amq created
      secret/unifiedpush-dockercfg-4lzkm created
      secret/unifiedpush-operator-dockercfg-xwpp4 created
      secret/unifiedpush-operator-token-94ljw created
      secret/unifiedpush-operator-token-bzq5x created
      secret/unifiedpush-postgresql created
      secret/unifiedpush-token-cdnlm created
      secret/unifiedpush-token-n6zqd created
      servicemonitor.monitoring.coreos.com/unifiedpush created
      servicemonitor.monitoring.coreos.com/unifiedpush-operator created
      service/unifiedpush-operator created
      service/unifiedpush-postgresql created
      service/unifiedpush-unifiedpush created
      service/unifiedpush-unifiedpush-proxy created
      unifiedpushserver.push.aerogear.org/unifiedpush created
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Not Found): Address space ups not found
      Error from server (Method Not Allowed): RESTEASY003650: No resource method found for PATCH, return 405 with Allow header
      Error from server (Method Not Allowed): RESTEASY003650: No resource method found for PATCH, return 405 with Allow header
      Error from server (Internal Server Error): error when creating "mobile-unifiedpush-messagingusers.ups.upsuser.yaml": 'password' must be set for 'password' type
      

      Operator log:

      {"level":"info","ts":1565705333.2654064,"logger":"controller_unifiedpushserver","msg":"Reconciling UnifiedPushServer","Request.Namespace":"mobile-unifiedpush","Request.Name":"unifiedpush"}
      {"level":"info","ts":1565705333.2654765,"logger":"controller_unifiedpushserver","msg":"Requeuing, AddressSpace not ready.","Request.Namespace":"mobile-unifiedpush","Request.Name":"unifiedpush","AddressSpace.Namespace":"mobile-unifiedpush","AddressSpace.Name":"ups"}
      E0813 14:08:53.320751       1 streamwatcher.go:109] Unable to decode an event from the watch stream: unable to decode to metav1.Event
      E0813 14:08:53.321002       1 streamwatcher.go:109] Unable to decode an event from the watch stream: unable to decode to metav1.Event
      E0813 14:08:53.322250       1 streamwatcher.go:109] Unable to decode an event from the watch stream: unable to decode to metav1.Event
      ...
      

              lfitzger@redhat.com Laura Fitzgerald (Inactive)
              jhellar@redhat.com Jan Hellar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: