Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-7363

redeliveryDelayMultiplier in AddressSettingsType from 7.9 CR cannot be reconciled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.10.1.OPR.2.GA
    • AMQ 7.10.1.GA
    • operator
    • None

      An existing v2alpha5 CR, with AddressSettingType.items.spec.addressSettings.addressSetting.redeliveryDelayMultiplier  configured will contain a float, which we cannot coerce into  a string.

      W1019 05:36:52.854120 1 reflector.go:324] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: failed to list *v1beta1.ActiveMQArtemis: json: cannot unmarshal number into Go struct field AddressSettingType.items.spec.addressSettings.addressSetting.redeliveryDelayMultiplier of type string E1019 05:36:52.854187 1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1beta1.ActiveMQArtemis: failed to list *v1beta1.ActiveMQArtemis: json: cannot unmarshal number into Go struct field AddressSettingType.items.spec.addressSettings.addressSetting.redeliveryDelayMultiplier of type string W1019 05:36:54.248420 1 reflector.go:324] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: failed to list *v1beta1.ActiveMQArtemis: json: cannot unmarshal number into Go struct field AddressSettingType.items.spec.addressSettings.addressSetting.redeliveryDelayMultiplier of type string
      

      The redeliveryDelayMultiplier field is *float32 in v2alpha5/7.9.4.OPR.6[1] and it is *string in v2alpha5/7.10.1.OPR.1[2] and v1beta1/7.10.1.OPR.1[3].

      [1] https://github.com/rh-messaging/activemq-artemis-operator/blob/7.9.4.OPR.6.GA-7.9-24/pkg/apis/broker/v2alpha5/activemqartemis_types.go#L49
      [2] https://github.com/rh-messaging/activemq-artemis-operator/blob/amq-broker-7.10.1.OPR.1.CR7/api/v2alpha5/activemqartemis_types.go#L65
      [3] https://github.com/rh-messaging/activemq-artemis-operator/blob/amq-broker-7.10.1.OPR.1.CR7/api/v1beta1/activemqartemis_types.go#L84

              gtully@redhat.com Gary Tully
              gtully@redhat.com Gary Tully
              Roman Vais Roman Vais (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: