Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification Not triggered trying with webhook and slack #1305

Closed
Jyotika123 opened this issue Jun 25, 2021 · 9 comments
Closed

Notification Not triggered trying with webhook and slack #1305

Jyotika123 opened this issue Jun 25, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@Jyotika123
Copy link

Jyotika123 commented Jun 25, 2021

Summary

Trying to use argo notification with argo-rollouts. But notifications doesnot triggered as expected. No error logs found on pods.

Diagnostics

I used the following configuration files for notifications:

`kind: ConfigMap
metadata:
  name: argo-rollouts-notification-configmap`

`apiVersion: v1
kind: ConfigMap
metadata:
  name: argo-rollouts-notification-configmap
data:
  template.rollout-completed: |
    message: Rollout {{.rollout.metadata.name}} has been completed.
    email:
      subject: Rollout {{.rollout.metadata.name}} has been completed.
    webhook:
      test_webhook:
        method: POST # one of: GET, POST, PUT, PATCH. Default value: GET 
        path: https://webhook-url
  trigger.on-rollout-completed: |
    - send: [rollout-completed]`
`apiVersion: v1
kind: ConfigMap
metadata:
  name: argo-rollouts-notification-configmap
data:
  service.webhook.test_webhook: |
    url: http://******
    headers: #optional headers
    - name: Content-Type
      value: application/json
      name: Authorization
      value: $webhook-token
---
apiVersion: v1
kind: Secret
metadata:
  name: argo-rollouts-notification-secret
stringData:
  webhook-token: token *****
`

Now on the Rollout object on Argo rollout , i used the annotation for subscription as :

`apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: rollouts-demo-2
  namespace: argo-kapcom-test
  annotations:
    notifications.argoproj.io/subscribe.on-rollout-completed.slack: test1`

# Paste the logs from the rollout controller
Logs from Argo rollouts :
`time="2021-06-25T10:11:22Z" level=info msg="Patched: {\"status\":{\"controllerPause\":true,\"message\":\"CanaryPauseStep\",\"pauseConditions\":[{\"reason\":\"CanaryPauseStep\",\"startTime\":\"2021-06-25T10:11:22Z\"}],\"phase\":\"Paused\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870892 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870892\", FieldPath:\"\"}): type: 'Normal' reason: 'RolloutPaused' Rollout is paused (CanaryPauseStep)"
time="2021-06-25T10:11:22Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870895 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870892 rollout=rollouts-demo-2 time_ms=18.773897
time="2021-06-25T10:11:22Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870895 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=error msg="Failed to process: Object 'Kind' is missing in '{\"metadata\":{\"annotations\":{\"kubectl.kubernetes.io/last-applied-configuration\":\"{\\\"apiVersion\\\":\\\"argoproj.io/v1alpha1\\\",\\\"kind\\\":\\\"Rollout\\\",\\\"metadata\\\":{\\\"annotations\\\":{\\\"notifications.argoproj.io/subscribe.on-rollout-completed.slack\\\":\\\"test1\\\"},\\\"name\\\":\\\"rollouts-demo-2\\\",\\\"namespace\\\":\\\"argo-kapcom-test\\\"},\\\"spec\\\":{\\\"replicas\\\":1,\\\"revisionHistoryLimit\\\":2,\\\"selector\\\":{\\\"matchLabels\\\":{\\\"app\\\":\\\"rollouts-demo-2\\\"}},\\\"strategy\\\":{\\\"canary\\\":{\\\"canaryService\\\":\\\"rollouts-demo-canary\\\",\\\"stableService\\\":\\\"rollouts-demo-stable\\\",\\\"steps\\\":[{\\\"setWeight\\\":20},{\\\"pause\\\":{\\\"duration\\\":5}},{\\\"setWeight\\\":40},{\\\"pause\\\":{\\\"duration\\\":5}}],\\\"trafficRouting\\\":{\\\"kapcom\\\":{\\\"ingressRoute\\\":\\\"argo-kapcom\\\"}}}},\\\"workloadRef\\\":{\\\"apiVersion\\\":\\\"apps/v1\\\",\\\"kind\\\":\\\"Deployment\\\",\\\"name\\\":\\\"rollout-ref-deployment\\\"}}}\\n\",\"notifications.argoproj.io/subscribe.on-rollout-completed.slack\":\"test1\",\"rollout.argoproj.io/revision\":\"4\"},\"creationTimestamp\":\"2021-06-24T10:50:50Z\",\"generation\":4,\"managedFields\":[{\"apiVersion\":\"argoproj.io/v1alpha1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:kubectl.kubernetes.io/last-applied-configuration\":{},\"f:notifications.argoproj.io/subscribe.on-rollout-completed.slack\":{}}},\"f:spec\":{\".\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{\".\":{},\"f:matchLabels\":{\".\":{},\"f:app\":{}}},\"f:strategy\":{\".\":{},\"f:canary\":{\".\":{},\"f:canaryService\":{},\"f:stableService\":{},\"f:steps\":{},\"f:trafficRouting\":{}}},\"f:workloadRef\":{\".\":{},\"f:apiVersion\":{},\"f:kind\":{},\"f:name\":{}}}},\"manager\":\"kubectl-client-side-apply\",\"operation\":\"Update\",\"time\":\"2021-06-25T07:19:09Z\"},{\"apiVersion\":\"argoproj.io/v1alpha1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:rollout.argoproj.io/revision\":{}}},\"f:status\":{\".\":{},\"f:HPAReplicas\":{},\"f:availableReplicas\":{},\"f:blueGreen\":{},\"f:canary\":{},\"f:conditions\":{},\"f:controllerPause\":{},\"f:currentPodHash\":{},\"f:currentStepHash\":{},\"f:currentStepIndex\":{},\"f:observedGeneration\":{},\"f:pauseConditions\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:selector\":{},\"f:stableRS\":{},\"f:updatedReplicas\":{}}},\"manager\":\"rollouts-controller\",\"operation\":\"Update\",\"time\":\"2021-06-25T10:11:22Z\"}],\"name\":\"rollouts-demo-2\",\"namespace\":\"argo-kapcom-test\",\"resourceVersion\":\"2870895\",\"selfLink\":\"/apis/argoproj.io/v1alpha1/namespaces/argo-kapcom-test/rollouts/rollouts-demo-2/status\",\"uid\":\"a7d0fcac-19e7-4899-a92a-5862425898f2\"},\"spec\":{\"replicas\":1,\"revisionHistoryLimit\":2,\"selector\":{\"matchLabels\":{\"app\":\"rollouts-demo-2\"}},\"strategy\":{\"canary\":{\"canaryService\":\"rollouts-demo-canary\",\"stableService\":\"rollouts-demo-stable\",\"steps\":[{\"setWeight\":20},{\"pause\":{\"duration\":5}},{\"setWeight\":40},{\"pause\":{\"duration\":5}}],\"trafficRouting\":{}}},\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":null}},\"workloadRef\":{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"name\":\"rollout-ref-deployment\"}},\"status\":{\"HPAReplicas\":2,\"availableReplicas\":2,\"blueGreen\":{},\"canary\":{},\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"ReplicaSet \\\"rollouts-demo-2-59764fd9d7\\\" is progressing.\",\"reason\":\"ReplicaSetUpdated\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"False\",\"type\":\"Paused\"}],\"controllerPause\":true,\"currentPodHash\":\"59764fd9d7\",\"currentStepHash\":\"6575464dc5\",\"currentStepIndex\":3,\"observedGeneration\":\"4\",\"pauseConditions\":[{\"reason\":\"CanaryPauseStep\",\"startTime\":\"2021-06-25T10:11:22Z\"}],\"readyReplicas\":2,\"replicas\":2,\"selector\":\"app=rollouts-demo-2\",\"stableRS\":\"7cc6855687\",\"updatedReplicas\":1}}'" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Patched conditions: {\"status\":{\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"Unknown\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"True\",\"type\":\"Paused\"}],\"message\":\"CanaryPauseStep\",\"phase\":\"Paused\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870895 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Reconciling canary pause step (stepIndex: 3/4)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Enqueueing Rollout in 4.934987152s seconds" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Not finished reconciling Canary Pause" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Trigger on-rollout-completed result: [{[0].2jmj7l5rSw0yVb_vlWAYkK_YBwk  [rollout-completed] false}]" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Processing completed" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Patched: {\"status\":{\"message\":\"CanaryPauseStep\",\"phase\":\"Paused\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870895 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870895 rollout=rollouts-demo-2 time_ms=17.396677999999998
time="2021-06-25T10:11:22Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Reconciling canary pause step (stepIndex: 3/4)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Enqueueing Rollout in 4.926117391s seconds" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Not finished reconciling Canary Pause" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Patched: {\"status\":{\"message\":\"CanaryPauseStep\",\"phase\":\"Paused\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:22Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2 time_ms=9.343511000000001
time="2021-06-25T10:11:27Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciling canary pause step (stepIndex: 3/4)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Not finished reconciling Canary Pause" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Rollout has waited the duration of the pause step" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goargo-kapcom-test"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go in Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go send notifications"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go trigger"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goRolloutStepCompleted"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go translate reason to triggerRolloutStepCompleted"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go destinations"
time="2021-06-25T10:11:27Z" level=info msg="Rollout step 4/4 completed (pause: 5)" event_reason=RolloutStepCompleted namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870897\", FieldPath:\"\"}): type: 'Normal' reason: 'RolloutStepCompleted' Rollout step 4/4 completed (pause: 5)"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goargo-kapcom-test"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go in Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go send notifications"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go trigger"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goRolloutResumed"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go translate reason to triggerRolloutResumed"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go destinations"
time="2021-06-25T10:11:27Z" level=info msg="Rollout is resumed" event_reason=RolloutResumed namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched: {\"status\":{\"controllerPause\":null,\"currentStepIndex\":4,\"message\":\"waiting for all steps to complete\",\"pauseConditions\":null,\"phase\":\"Progressing\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870897\", FieldPath:\"\"}): type: 'Normal' reason: 'RolloutResumed' Rollout is resumed"
time="2021-06-25T10:11:27Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870925 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870897 rollout=rollouts-demo-2 time_ms=12.297442
time="2021-06-25T10:11:27Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Trigger on-rollout-completed result: [{[0].2jmj7l5rSw0yVb_vlWAYkK_YBwk  [rollout-completed] false}]" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Processing completed" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870925 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched conditions: {\"status\":{\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"Rollout is resumed\",\"reason\":\"RolloutResumed\",\"status\":\"Unknown\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"False\",\"type\":\"Paused\"}],\"message\":\"waiting for all steps to complete\",\"phase\":\"Progressing\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870925 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goargo-kapcom-test"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go in Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go send notifications"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go trigger"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goRolloutCompleted"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go translate reason to triggerRolloutCompleted"
time="2021-06-25T10:11:27Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870925\", FieldPath:\"\"}): type: 'Normal' reason: 'RolloutCompleted' Rollout completed update to revision 4 (59764fd9d7): Completed all 4 canary steps"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go notification sentnotification service 'slack' is not supported"
time="2021-06-25T10:11:27Z" level=error msg="notification error: notification service 'slack' is not supported"
time="2021-06-25T10:11:27Z" level=error msg="Notifications failed to send for eventReason RolloutCompleted with error: notification service 'slack' is not supported" event_reason=RolloutCompleted namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Rollout completed update to revision 4 (59764fd9d7): Completed all 4 canary steps" event_reason=RolloutCompleted namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Trigger on-rollout-completed result: [{[0].2jmj7l5rSw0yVb_vlWAYkK_YBwk  [rollout-completed] false}]" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Processing completed" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Set 'scale-down-deadline' annotation on 'rollouts-demo-2-7cc6855687' to 2021-06-25T10:11:57Z (30s)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Enqueueing parent of argo-kapcom-test/rollouts-demo-2-7cc6855687: Rollout argo-kapcom-test/rollouts-demo-2"
time="2021-06-25T10:11:27Z" level=info msg="Patched: {\"status\":{\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"True\",\"type\":\"Paused\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"ReplicaSet \\\"rollouts-demo-2-59764fd9d7\\\" is progressing.\",\"reason\":\"ReplicaSetUpdated\",\"status\":\"True\",\"type\":\"Progressing\"}],\"phase\":\"Healthy\",\"stableRS\":\"59764fd9d7\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870925 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870931 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870925 rollout=rollouts-demo-2 time_ms=23.953454999999998
time="2021-06-25T10:11:27Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870931 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=error msg="Failed to process: Object 'Kind' is missing in '{\"metadata\":{\"annotations\":{\"kubectl.kubernetes.io/last-applied-configuration\":\"{\\\"apiVersion\\\":\\\"argoproj.io/v1alpha1\\\",\\\"kind\\\":\\\"Rollout\\\",\\\"metadata\\\":{\\\"annotations\\\":{\\\"notifications.argoproj.io/subscribe.on-rollout-completed.slack\\\":\\\"test1\\\"},\\\"name\\\":\\\"rollouts-demo-2\\\",\\\"namespace\\\":\\\"argo-kapcom-test\\\"},\\\"spec\\\":{\\\"replicas\\\":1,\\\"revisionHistoryLimit\\\":2,\\\"selector\\\":{\\\"matchLabels\\\":{\\\"app\\\":\\\"rollouts-demo-2\\\"}},\\\"strategy\\\":{\\\"canary\\\":{\\\"canaryService\\\":\\\"rollouts-demo-canary\\\",\\\"stableService\\\":\\\"rollouts-demo-stable\\\",\\\"steps\\\":[{\\\"setWeight\\\":20},{\\\"pause\\\":{\\\"duration\\\":5}},{\\\"setWeight\\\":40},{\\\"pause\\\":{\\\"duration\\\":5}}],\\\"trafficRouting\\\":{\\\"kapcom\\\":{\\\"ingressRoute\\\":\\\"argo-kapcom\\\"}}}},\\\"workloadRef\\\":{\\\"apiVersion\\\":\\\"apps/v1\\\",\\\"kind\\\":\\\"Deployment\\\",\\\"name\\\":\\\"rollout-ref-deployment\\\"}}}\\n\",\"notifications.argoproj.io/subscribe.on-rollout-completed.slack\":\"test1\",\"rollout.argoproj.io/revision\":\"4\"},\"creationTimestamp\":\"2021-06-24T10:50:50Z\",\"generation\":4,\"managedFields\":[{\"apiVersion\":\"argoproj.io/v1alpha1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:kubectl.kubernetes.io/last-applied-configuration\":{},\"f:notifications.argoproj.io/subscribe.on-rollout-completed.slack\":{}}},\"f:spec\":{\".\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{\".\":{},\"f:matchLabels\":{\".\":{},\"f:app\":{}}},\"f:strategy\":{\".\":{},\"f:canary\":{\".\":{},\"f:canaryService\":{},\"f:stableService\":{},\"f:steps\":{},\"f:trafficRouting\":{}}},\"f:workloadRef\":{\".\":{},\"f:apiVersion\":{},\"f:kind\":{},\"f:name\":{}}}},\"manager\":\"kubectl-client-side-apply\",\"operation\":\"Update\",\"time\":\"2021-06-25T07:19:09Z\"},{\"apiVersion\":\"argoproj.io/v1alpha1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:rollout.argoproj.io/revision\":{}}},\"f:status\":{\".\":{},\"f:HPAReplicas\":{},\"f:availableReplicas\":{},\"f:blueGreen\":{},\"f:canary\":{},\"f:conditions\":{},\"f:currentPodHash\":{},\"f:currentStepHash\":{},\"f:currentStepIndex\":{},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:selector\":{},\"f:stableRS\":{},\"f:updatedReplicas\":{}}},\"manager\":\"rollouts-controller\",\"operation\":\"Update\",\"time\":\"2021-06-25T10:11:27Z\"}],\"name\":\"rollouts-demo-2\",\"namespace\":\"argo-kapcom-test\",\"resourceVersion\":\"2870931\",\"selfLink\":\"/apis/argoproj.io/v1alpha1/namespaces/argo-kapcom-test/rollouts/rollouts-demo-2/status\",\"uid\":\"a7d0fcac-19e7-4899-a92a-5862425898f2\"},\"spec\":{\"replicas\":1,\"revisionHistoryLimit\":2,\"selector\":{\"matchLabels\":{\"app\":\"rollouts-demo-2\"}},\"strategy\":{\"canary\":{\"canaryService\":\"rollouts-demo-canary\",\"stableService\":\"rollouts-demo-stable\",\"steps\":[{\"setWeight\":20},{\"pause\":{\"duration\":5}},{\"setWeight\":40},{\"pause\":{\"duration\":5}}],\"trafficRouting\":{}}},\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":null}},\"workloadRef\":{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"name\":\"rollout-ref-deployment\"}},\"status\":{\"HPAReplicas\":2,\"availableReplicas\":2,\"blueGreen\":{},\"canary\":{},\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:22Z\",\"lastUpdateTime\":\"2021-06-25T10:11:22Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"True\",\"type\":\"Paused\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"ReplicaSet \\\"rollouts-demo-2-59764fd9d7\\\" is progressing.\",\"reason\":\"ReplicaSetUpdated\",\"status\":\"True\",\"type\":\"Progressing\"}],\"currentPodHash\":\"59764fd9d7\",\"currentStepHash\":\"6575464dc5\",\"currentStepIndex\":4,\"observedGeneration\":\"4\",\"readyReplicas\":2,\"replicas\":2,\"selector\":\"app=rollouts-demo-2\",\"stableRS\":\"59764fd9d7\",\"updatedReplicas\":1}}'" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched conditions: {\"status\":{\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:16Z\",\"lastUpdateTime\":\"2021-06-25T10:11:16Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"False\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"ReplicaSet \\\"rollouts-demo-2-59764fd9d7\\\" is progressing.\",\"reason\":\"ReplicaSetUpdated\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"False\",\"type\":\"Paused\"}],\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870931 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Trigger on-rollout-completed result: [{[0].2jmj7l5rSw0yVb_vlWAYkK_YBwk  [rollout-completed] false}]" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Processing completed" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="syncing service" namespace=argo-kapcom-test rollout=rollouts-demo-2 service=rollouts-demo-stable
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goargo-kapcom-test"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go in Rollout"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go send notifications"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go trigger"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record goSwitchService"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go translate reason to triggerSwitchService"
time="2021-06-25T10:11:27Z" level=info msg="jyotika---- in record go destinations"
time="2021-06-25T10:11:27Z" level=info msg="Switched selector for service 'rollouts-demo-stable' from '7cc6855687' to '59764fd9d7'" event_reason=SwitchService namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870931\", FieldPath:\"\"}): type: 'Normal' reason: 'SwitchService' Switched selector for service 'rollouts-demo-stable' from '7cc6855687' to '59764fd9d7'"
time="2021-06-25T10:11:27Z" level=info msg="Reconciling 1 old ReplicaSets (total pods: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 1 available pods in old RS argo-kapcom-test/rollouts-demo-2-7cc6855687" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 2 available pods, scaling down old RSes (minAvailable: 1, maxScaleDown: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="RS 'rollouts-demo-2-7cc6855687' has not reached the scaleDownTime" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Timed out (false) [last progress check: 2021-06-25 10:11:27 +0000 UTC - now: 2021-06-25 10:11:27.058598313 +0000 UTC m=+77197.814740468]" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870931 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870931 rollout=rollouts-demo-2 time_ms=27.073849
time="2021-06-25T10:11:27Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciling 1 old ReplicaSets (total pods: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 1 available pods in old RS argo-kapcom-test/rollouts-demo-2-7cc6855687" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 2 available pods, scaling down old RSes (minAvailable: 1, maxScaleDown: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="RS 'rollouts-demo-2-7cc6855687' has not reached the scaleDownTime" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Timed out (false) [last progress check: 2021-06-25 10:11:27 +0000 UTC - now: 2021-06-25 10:11:27.070960336 +0000 UTC m=+77197.827102493]" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2 time_ms=10.286033999999999
time="2021-06-25T10:11:27Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciling 1 old ReplicaSets (total pods: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 1 available pods in old RS argo-kapcom-test/rollouts-demo-2-7cc6855687" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Found 2 available pods, scaling down old RSes (minAvailable: 1, maxScaleDown: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="RS 'rollouts-demo-2-7cc6855687' has not reached the scaleDownTime" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Timed out (false) [last progress check: 2021-06-25 10:11:27 +0000 UTC - now: 2021-06-25 10:11:27.082610723 +0000 UTC m=+77197.838752892]" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:27Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2 time_ms=13.743448
time="2021-06-25T10:11:57Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Reconciling 1 old ReplicaSets (total pods: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Found 1 available pods in old RS argo-kapcom-test/rollouts-demo-2-7cc6855687" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Found 2 available pods, scaling down old RSes (minAvailable: 1, maxScaleDown: 1)" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Enqueueing parent of argo-kapcom-test/rollouts-demo-2-7cc6855687: Rollout argo-kapcom-test/rollouts-demo-2"
**time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go Rollout"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go argo-kapcom-test"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go in Rollout"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go send notifications"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go trigger"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record goScalingReplicaSet"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go translate reason to triggerScalingReplicaSet"
time="2021-06-25T10:11:57Z" level=info msg="jyotika---- in record go destinations"**
time="2021-06-25T10:11:57Z" level=info msg="Scaled down ReplicaSet rollouts-demo-2-7cc6855687 (revision 3) from 1 to 0" event_reason=ScalingReplicaSet namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Scaled down old RSes" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Not finished reconciling old ReplicaSets" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Not finished reconciling ReplicaSets" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"argo-kapcom-test\", Name:\"rollouts-demo-2\", UID:\"a7d0fcac-19e7-4899-a92a-5862425898f2\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"2870932\", FieldPath:\"\"}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled down ReplicaSet rollouts-demo-2-7cc6855687 (revision 3) from 1 to 0"
time="2021-06-25T10:11:57Z" level=info msg="Timed out (false) [last progress check: 2021-06-25 10:11:27 +0000 UTC - now: 2021-06-25 10:11:57.010148074 +0000 UTC m=+77227.766290257]" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Enqueueing parent of argo-kapcom-test/rollouts-demo-2-7cc6855687: Rollout argo-kapcom-test/rollouts-demo-2"
time="2021-06-25T10:11:57Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2 time_ms=25.114959
time="2021-06-25T10:11:57Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Timed out (false) [last progress check: 2021-06-25 10:11:27 +0000 UTC - now: 2021-06-25 10:11:57.027001818 +0000 UTC m=+77227.783143974]" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Enqueueing parent of argo-kapcom-test/rollouts-demo-2-7cc6855687: Rollout argo-kapcom-test/rollouts-demo-2"
time="2021-06-25T10:11:57Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2 time_ms=9.480151
time="2021-06-25T10:11:57Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Patched: {\"status\":{\"HPAReplicas\":1,\"availableReplicas\":1,\"conditions\":[{\"lastTransitionTime\":\"2021-06-24T10:56:38Z\",\"lastUpdateTime\":\"2021-06-24T10:56:38Z\",\"message\":\"Rollout has minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"True\",\"type\":\"Available\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:27Z\",\"message\":\"Rollout is paused\",\"reason\":\"RolloutPaused\",\"status\":\"False\",\"type\":\"Paused\"},{\"lastTransitionTime\":\"2021-06-25T10:11:57Z\",\"lastUpdateTime\":\"2021-06-25T10:11:57Z\",\"message\":\"RolloutCompleted\",\"reason\":\"RolloutCompleted\",\"status\":\"True\",\"type\":\"Completed\"},{\"lastTransitionTime\":\"2021-06-25T10:11:27Z\",\"lastUpdateTime\":\"2021-06-25T10:11:57Z\",\"message\":\"ReplicaSet \\\"rollouts-demo-2-59764fd9d7\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"}],\"phase\":\"Healthy\",\"readyReplicas\":1,\"replicas\":1}}" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2871251 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2870932 rollout=rollouts-demo-2 time_ms=9.351285
time="2021-06-25T10:11:57Z" level=info msg="Start processing" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Trigger on-rollout-completed result: [{[0].2jmj7l5rSw0yVb_vlWAYkK_YBwk  [rollout-completed] false}]" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Processing completed" resource=argo-kapcom-test/rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Started syncing rollout" generation=4 namespace=argo-kapcom-test resourceVersion=2871251 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="No Steps remain in the canary steps" namespace=argo-kapcom-test rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Patched: {\"status\":{\"phase\":\"Healthy\"}}" generation=4 namespace=argo-kapcom-test resourceVersion=2871251 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="persisted to informer" generation=4 namespace=argo-kapcom-test resourceVersion=2871251 rollout=rollouts-demo-2
time="2021-06-25T10:11:57Z" level=info msg="Reconciliation completed" generation=4 namespace=argo-kapcom-test resourceVersion=2871251 rollout=rollouts-demo-2 time_ms=9.170994`


> > Highlighted logs have been added by me . Now , it is throwing nil from record.go file in condition :
> > if len(destinations) == 0 {
> > 		return nil
> > 	}
> > 
> 
> **How the destinations are calculated and what should be its value.?
> Could you add more logs and documentations for better understanding.
> I have tried same with slack , by mentioning channel.**
> 

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
@Jyotika123 Jyotika123 added the bug Something isn't working label Jun 25, 2021
@jessesuen
Copy link
Member

Notification support is a v1.1 feature. Are you trying with v1.0?

@ghost
Copy link

ghost commented Jul 20, 2021

@jessesuen how do you get v1.1? it seems like the docker images and git tags only go up to 1.0.2

@joberdick-rcd
Copy link

@jessesuen is v1.1 not cut yet and we need to build off master to use notifications?

@zdmytriv
Copy link

zdmytriv commented Sep 3, 2021

+1 come on guys, release it finally

@artem-tomyuk
Copy link

+1

@deepanverma19
Copy link

Getting the same issues with v1.1.0-rc tag.

@jessesuen
Copy link
Member

Closing this since v1.1-rc1 is out and will be GA next week. @deepanverma19 your issue is related to lack of proxy support which will need an enhancement.

@austn18
Copy link

austn18 commented Oct 21, 2021

I got this error. Is that same issue?

time="2021-10-21T06:54:15Z" level=error msg="notification error: invalid_auth"
time="2021-10-21T06:54:15Z" level=error msg="Notifications failed to send for eventReason RolloutCompleted with error: invalid_auth" event_reason=RolloutCompleted namespace=wms rollout=test-dev-rollout

@ghost
Copy link

ghost commented Oct 21, 2021

I got this error. Is that same issue?

time="2021-10-21T06:54:15Z" level=error msg="notification error: invalid_auth"
time="2021-10-21T06:54:15Z" level=error msg="Notifications failed to send for eventReason RolloutCompleted with error: invalid_auth" event_reason=RolloutCompleted namespace=wms rollout=test-dev-rollout

no, that means your authentication is incorrect. you should double check your slack oauth token and make sure it's being passed correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants