{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Analytics /
avatar image
0
Question by Gagandeep Singh · Dec 16, 2016 at 03:33 PM · 348 Views analyticsonpremiseanalyics group4.16.09

Analytics (On premise - 4.16.09): Unable to delete the datastores and qpid-server from analytics

I am unable to delete the datastores from the analytics servers. Curl command is sending 200 response but nothing removed from the group.

Curl command:

curl -v -u {sysadmin}:{pwd} -X DELETE -H 'Accept:application/json' -H 'Content-Type:application/json' 'http://{MS}:{port}/v1/analytics/groups/ax/axgroup003/consumer-groups/consumer-group-new/datastores/79c8e7b0-215d-4784-b399-97ffedf25188'

Response:

* About to connect() to {MS} port 8080 (#0)

* Trying {MS}... connected

* Connected to {MS} port 8080 (#0)

* Server auth using Basic with user '{MS}'

> DELETE /v1/analytics/groups/ax/axgroup003/consumer-groups/consumer-group-new/datastores/79c8e7b0-215d-4784-b399-97ffedf25188 HTTP/1.1

> Authorization: Basic b3BzYXBpZ2VlYWRtaW5AYm9vdHMuY28udWs6MW5jQHJyZWNU

> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

> Host: {MS}:8080

> Accept:application/json

> Content-Type:application/json

>

< HTTP/1.1 200 OK < Content-Type: application/json

< Date: Fri, 16 Dec 2016 15:12:40 GMT < Content-Length: 514

<

{

"name" : "axgroup003",

"properties" : {

"region" : "dc-1",

"consumer-type" : "ax"

},

"scopes" : [ ],

"uuids" : {

"qpid-server" : [ ],

"postgres-server" : [ "67c75894-6549-4dde-9892-0d48c907083c:79c8e7b0-215d-4784-b399-97ffedf25188" ]

},

"consumer-groups" : [ {

"name" : "consumer-group-new",

"consumers" : [ ],

"datastores" : [ "67c75894-6549-4dde-9892-0d48c907083c:79c8e7b0-215d-4784-b399-97ffedf25188" ],

"properties" : { }

} ],

"data-processors" : {

}

* Connection #0 to host 10.141.136.1 left intact

* Closing connection #0

Kindly suggest a way to get rid of this unwanted analytics group from Zookeper records

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
0
Best Answer

Answer by gbhandari   · Dec 17, 2016 at 06:51 AM

Hi @Gagandeep Singh,

I think you need to remove the UUID from the ZOOKEEPER database manually. Please get in touch with APIGEE Suport team and they will assist you in this. I hope you have access to APIGEE support porta, where you can raise APIGEE case.

We had face similar issue ie we had extra entry for DATA CENTER in the zookeeper, and then we had to delete it manually.

Comment
Add comment Show 4 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gagandeep Singh · Dec 17, 2016 at 09:21 AM 0
Link

Thanks @gbhandari. This is what I was thinking. Yes we have access to support portal to raise a case.

avatar image Anil Sagar @ Google ♦♦ Gagandeep Singh   · Dec 17, 2016 at 04:57 PM 0
Link

@Gagandeep Singh , Use comments for discussion, Answers are strictly for answers. Thank you.

avatar image Mauro Gonzalez · Nov 30, 2017 at 10:25 PM 0
Link

Hi @gbhandari,

We are facing the same scenario. Is it possible to share the steps to remove them from ZK?

avatar image Mauro Gonzalez Mauro Gonzalez · Nov 30, 2017 at 11:04 PM 0
Link

Just found a way, posted as an answer.

avatar image
2

Answer by Mauro Gonzalez · Nov 30, 2017 at 11:04 PM

I went into the same issue.
Steps to fix this:

1) Find uuid references in zk-tree using:

$ /opt/apigee/apigee-zookeeper/contrib/zk-tree.sh >> tmp/zk.out
$ cat /tmp/zk.out | grep UUID

2) Remove references in ZK:

$ /opt/apigee/apigee-zookeeper/bin/zkCli.sh

$ rmr /servers/UUID

If required or any other entry
$ rmr /analytics/groups/ax/AX_GROUP
Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

32 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dual Data Center Analytics Group Setup 6 Answers

Tracking your apis are performing as expected 1 Answer

Sum message count is returning different data for analytics api 0 Answers

Is Analytics Impacted when streaming is enabled? 3 Answers

What is the reason of getting traffic count against Developer App as 'not set' in Analytics. There is no such Developer App created either on Apigee Edge or Developer Portal. 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Articles
  • Ideas
  • Badges