Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The offering X has not been previously registered #31

Closed
emepetres opened this issue Jul 6, 2018 · 2 comments
Closed

The offering X has not been previously registered #31

emepetres opened this issue Jul 6, 2018 · 2 comments

Comments

@emepetres
Copy link

When trying to checkout and order, we are now receiving this error message: The offering X has not been previously registered. -> MSO4SC/MSOPortal#126

Any hint on what could be happening? This was working a couple of weeks ago, no modifications on the setup (using develop version & docker compose).

The proxy log (charging, apis or database containers doesn't show any error):

2018-07-06 09:15:56.161  - INFO: TMF - 424efdd7-f4d3-4324-a8c9-a92e953b628b - ::ffff:79.156.187.115 - 21b177ff-a8a6-480b-881c-df26f411b7f1 - POST: /DSProductOrdering/api/productOrdering/v2/productOrder - Pre-Validation (DSProductOrdering): OK
2018-07-06 09:15:56.568  - INFO: Server - 81ef0a53-68ee-4051-993e-abe0ea784727 - ::ffff:172.18.0.7 - Anonymous - GET: /DSProductCatalog/api/catalogManagement/v2/catalog/4/productOffering/7 - request without authentication
2018-07-06 09:15:56.572  - INFO: TMF - 81ef0a53-68ee-4051-993e-abe0ea784727 - ::ffff:172.18.0.7 - Anonymous - GET: /DSProductCatalog/api/catalogManagement/v2/catalog/4/productOffering/7 - Pre-Validation (DSProductCatalog): OK
2018-07-06 09:15:56.620  - INFO: TMF - 81ef0a53-68ee-4051-993e-abe0ea784727 - ::ffff:172.18.0.7 - Anonymous - GET: /DSProductCatalog/api/catalogManagement/v2/catalog/4/productOffering/7 - Post-Validation (DSProductCatalog): OK
2018-07-06 09:15:56.626  - INFO: Server - 81ef0a53-68ee-4051-993e-abe0ea784727 - ::ffff:172.18.0.7 - Anonymous - GET: /DSProductCatalog/api/catalogManagement/v2/catalog/4/productOffering/7 - Status: 200
2018-07-06 09:15:56.793  - WARN: TMF - 424efdd7-f4d3-4324-a8c9-a92e953b628b - ::ffff:79.156.187.115 - 21b177ff-a8a6-480b-881c-df26f411b7f1 - POST: /DSProductOrdering/api/productOrdering/v2/productOrder - Post-Validation (DSProductOrdering): The offering 7 has not been previously registered
2018-07-06 09:15:56.798  - WARN: Server - 424efdd7-f4d3-4324-a8c9-a92e953b628b - ::ffff:79.156.187.115 - 21b177ff-a8a6-480b-881c-df26f411b7f1 - POST: /DSProductOrdering/api/productOrdering/v2/productOrder - Status: 400
@fdelavega
Copy link
Contributor

That error means that the charging backend component (the one who process payments and manages digital assets, etc) do not have the offering reference. This reference is created during offering creation as part of the validation process.

Did you reset the MongoDB database of the charging? It seems that the information of the different databases is not syncronized

@fdelavega
Copy link
Contributor

I am closing this one as we fixed the deployment problem offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants