EnMasseProject / enmasse

EnMasse - Self-service messaging on Kubernetes and OpenShift
https://enmasseproject.github.io
Apache License 2.0
190 stars 87 forks source link

TopicTest with wildcards failed due to user doesn't have permission='CREATE_ADDRESS' #590

Closed tkratky closed 4 years ago

tkratky commented 6 years ago

description:

prerequisites:

steps to reproduce:

  1. execute already existing test: make MULTITENANT=true SYSTEMTEST_ARGS='io.enmasse.systemtest.brokered.TopicTest#testTopicPubSubWildcards systemtests https://github.com/EnMasseProject/enmasse/blob/f5e517ecd24d00f56bd3b83fead9175b379320a3/systemtests/src/test/java/io/enmasse/systemtest/brokered/TopicTest.java#L21
  2. output from test:
    3265158 [vert.x-eventloop-thread-0] INFO test - Receiver link 'test-topic-pubsub0.*' opened, granting credits
    3265158 [vert.x-eventloop-thread-0] INFO test - Link closed with Error{condition=amqp:unauthorized-access, description='AMQ219015: not authorized to create consumer, AMQ119032: User: test does not have permission='CREATE_ADDRESS' on address test-topic-pubsub0.*', info=null}
    3265549 [vert.x-eventloop-thread-0] INFO test - Receiver link 'test-topic-pubsub1.*' opened, granting credits
    3265549 [vert.x-eventloop-thread-0] INFO test - Link closed with Error{condition=amqp:unauthorized-access, description='AMQ219015: not authorized to create consumer, AMQ119032: User: test does not have permission='CREATE_ADDRESS' on address test-topic-pubsub1.*', info=null}
    3265942 [vert.x-eventloop-thread-0] INFO test - Receiver link 'test-topic-pubsub2.*' opened, granting credits
    3265942 [vert.x-eventloop-thread-0] INFO test - Link closed with Error{condition=amqp:unauthorized-access, description='AMQ219015: not authorized to create consumer, AMQ119032: User: test does not have permission='CREATE_ADDRESS' on address test-topic-pubsub2.*', info=null}
    3266330 [vert.x-eventloop-thread-0] INFO test - Receiver link 'test-topic-pubsub3.*' opened, granting credits
    3266330 [vert.x-eventloop-thread-0] INFO test - Link closed with Error{condition=amqp:unauthorized-access, description='AMQ219015: not authorized to create consumer, AMQ119032: User: test does not have permission='CREATE_ADDRESS' on address test-topic-pubsub3.*', info=null}
    3266720 [vert.x-eventloop-thread-0] INFO test - Receiver link 'test-topic-pubsub4.*' opened, granting credits
    3266720 [vert.x-eventloop-thread-0] INFO test - Link closed with Error{condition=amqp:unauthorized-access, description='AMQ219015: not authorized to create consumer, AMQ119032: User: test does not have permission='CREATE_ADDRESS' on address test-topic-pubsub4.*', info=null}
lulf commented 6 years ago

@rgodfrey imo would be nice to prioritize this