Created attachment 1239765 [details]
timestamp appended in some services
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Created lot of service on an appliance.
2. Some services got the name assigned and some were appended by timestamp as shown in screenshot.
1) No consistency , it gets appended randomly on any service
Both the catalogiteminitialization and catalogbundleuinitialziation Automate methods generate a service name with the -date-time appended if there's no service name specified in the service dialog.
Is it possible that the services in the attached screen shot were provisioned with a dialog that includes a service_name entry?
If not, can I access your appliance?
I haven't touched anything under Automate - Explorer .
Please check https://10.8.197.166.
The statemachine used is /Cloud/Orchestration/Provisioning/StateMachines/Provision/CatalogItemInitization
All of the provisioned services in appliance referenced above contain the date and time suffix.
Can you point me to another appliance that shows the mixed service names?
Unfortunately I have lost the other appliance.
This one has one service without timestamp if that helps.
The provisioned service with no date time in the service name has an entry point of /Service/Provisioning/StateMachines/ServiceProvision_Template/default.
The entry points using catalogbundleinitialization/catalogiteminitialization create the service name with date time(unless overridden by a service dialog).
The /Service/Provisioning/StateMachines/ServiceProvision_Template/default instance should not be used as a service entry point. We'll be removing that instance in a future release.
Let me know if you have any questions.
So that means all services will have timestamp from now onwards ?
Yes, as long as catalogbundleinitialization or catalogiteminitialization is used as the entrypoint.
Can I close this ticket?
Since you are going to remove this entry point : /Service/Provisioning/StateMachines/ServiceProvision_Template/default.
Is there any other entry point that I can use that will not append timestamp and provision service ?
(needed for automation testing)
Yes , you can close .
No, unfortunately not. You can supply your own service names if you create your test service dialogs with the service_name attribute.
I hope this helps.