Navigating to topology shows Unauthorized Access
search cancel

Navigating to topology shows Unauthorized Access

book

Article ID: 398276

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

In PM Portal when I navigate to Inventory->topology. I get the following:

Also sync is failing as well

Environment

Dx NetOps Performance Management 24.3.9

Cause

Topology services are unable to connect to kafka

From: <install_directory>/netops-topology/services/<service-name>/logs/<log-file>topology-service.log

2025-05-19 13:18:55,703 [main] ERROR c.b.n.ifm.service.KafkaAdminService - KafkaException:
org.springframework.kafka.KafkaException: Failed to obtain topic descriptions
    at org.springframework.kafka.core.KafkaAdmin.describeTopics(KafkaAdmin.java:402)
    at com.broadcom.netops.ifm.service.KafkaAdminService.getPartitionCountForTopic(KafkaAdminService.java:25)
    at com.broadcom.netops.topologyservice.kafka.config.ConsumerConfig.partitionCountFor(ConsumerConfig.java:97)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:569)
    at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:142)
    at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:152)

Resolution

1. From the kafka install directory/bin run ./kafka-console-consumer.sh --bootstrap-server <<kafka-ip-address>>:9092 --topic netops.da.fullinventory --consumer.config /opt/netops/netops-kafka/kafka/config/consumer.properties --property print.headers=true

  • This will confirm the issue.  You might see Connection to node ... could not be established or Bootstrap broker ... disconnected

2. Update the /opt/CA/netops-kafka/kafka/config/server.properties

  • Update zookeep.connect and 'listeners' values so that they do not say localhost but rather the FQDN or IP of the kafka node

3. Restart services

  • systemctl stop netops-kafka.service
  • systemctl stop netops-kafka-zookeeper.service
  • systemctl start netops-kafka-zookeeper.service
  • systemctl start netops-kafka.service

4. Re-attempt sync of inventory data and it should now work finer