Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

mint.unhandledException while enabling monetization service for an organisation

Hi,

I am running Apigee Private Cloud OPDK version 4.18.01 and while enabling monetization service for an organisation, i encounter the below unhandled exception

Seed billing documents generation failed for org : dacmont. {
  "code" : "mint.unhandledException",
  "message" : "Unanticipated exception. Please contact your Support administrator with code : c4ea1427-a930-44bc-8287-53397bf128e6",
  "contexts" : [ ]
}


Details are as below :-

#cat /opt/apigee/configmononboardingfile
MSIP="172.31.30.164"
APIGEE_PORT_HTTP_MS="8080"    # Default is 8080.
ADMIN_EMAIL="test@example.com"
APIGEE_ADMINPW="test12345678"    # If omitted, you are prompted for it.
# Must use IP addresses for CASS_HOSTS, not DNS names.
CASS_HOSTS="172.31.30.164"
# Space-separated list IP/DNS names of all Qpid nodes in the data center being configured.
QPID_HOST="172.31.30.164"
QPID_PORT="8083"     # Default is 8083.
REGION=dc-1
ORG_NAME="dacmont"    # The Edge org where you want to enable monetization.
MX_GROUP="mxgroup001"    # Default Monetization group.

/opt/apigee/apigee-service/bin/apigee-service apigee-provision enable-monetization -f /opt/apigee/configmononboardingfile
Checking for required variables
Checking required variable MSIP...OK
Checking required variable APIGEE_PORT_HTTP_MS...OK
Checking required variable ADMIN_EMAIL...OK
Checking required variable ORG_NAME...OK
Checking required variable CASS_HOSTS...OK
Checking required variable MX_GROUP...OK
Checking required variable REGION...OK


Checking for optional variables
Found optional variable APIGEE_ADMINPW...OK
--> curl -X GET http://172.31.30.164:8080/v1/servers/self/up [...]
--> curl -X GET http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001 [...]
--> curl -X POST http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001 [...]
{
  "code" : "analytics.dataapi.service.GroupAlreadyExists",
  "message" : "A group with the name mxgroup001 already exists",
  "contexts" : [ ]
}
==> 409
--> curl -X POST http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001/properties?propName=consumer-type&propVa... [...]
{
  "name" : "mxgroup001",
  "properties" : {
    "consumer-type" : "mint"
  },
  "scopes" : [ "dac~prod" ],
  "uuids" : {
    "qpid-server" : [ "ae563ca0-1787-46a4-9c65-42dd1f699ebe" ],
    "postgres-server" : [ ],
    "consumer-server" : [ "a5984927-c1b1-4bf8-84ef-9cc991e32d23" ]
  },
  "consumer-groups" : [ ],
  "data-processors" : {
  }
}
==> 200
Add Qpid Servers to the mxgroup001
--> curl -X GET http://172.31.30.164:8080/v1/servers?type=qpid-server&pod=central&region=dc-1 [...]
response code 200
adding ae563ca0-1787-46a4-9c65-42dd1f699ebe to mxgroup001 as qpid-server
--> curl -X POST http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001/servers?uuid=ae563ca0-1787-46a4-9c65-42d... [...]
Add consumer-servers to the mxgroup001
--> curl -X GET http://172.31.30.164:8080/v1/servers?type=management-server&pod=central&region=dc-1 [...]
response code 200
adding a5984927-c1b1-4bf8-84ef-9cc991e32d23 to mxgroup001 as consumer-server
--> curl -X POST http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001/servers?uuid=a5984927-c1b1-4bf8-84ef-9cc... [...]
Finished setting up mx group
Onboarding organization for monetization...
--> curl -X GET http://172.31.30.164:8080/v1/mint/organizations/dacmont/sync-organization?childEntities=true [...]
--> curl -X GET http://172.31.30.164:8080/v1/organizations/dacmont [...]
--> curl -X PUT http://172.31.30.164:8080/v1/organizations/dacmont [...]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    10  100    10    0     0    480      0 --:--:-- --:--:-- --:--:--   500
--> curl -X POST http://172.31.30.164:8080/v1/analytics/groups/ax/mxgroup001/scopes?org=dacmont&env=prod [...]
{
  "name" : "mxgroup001",
  "properties" : {
    "consumer-type" : "mint"
  },
  "scopes" : [ "dac~prod", "dacmont~prod" ],
  "uuids" : {
    "qpid-server" : [ "ae563ca0-1787-46a4-9c65-42dd1f699ebe" ],
    "postgres-server" : [ ],
    "consumer-server" : [ "a5984927-c1b1-4bf8-84ef-9cc991e32d23" ]
  },
  "consumer-groups" : [ ],
  "data-processors" : {
  }
}
==> 200
--> curl -X POST http://172.31.30.164:8080/v1/mint/organizations/dacmont/seed-billing-documents-numbers [...]
Seed billing documents generation failed for org : dacmont. {
  "code" : "mint.unhandledException",
  "message" : "Unanticipated exception. Please contact your Support administrator with code : c4ea1427-a930-44bc-8287-53397bf128e6",
  "contexts" : [ ]
}

0 11 1,161
11 REPLIES 11