CF 4.2: Service/Provisioning/StateMachines/Methods] not found in MiqAeDatastore


#1

@pemcg

Hi,

Following this documentation to create empty services, https://github.com/pemcg/mastering-automation-in-cloudforms-4.2-and-manageiq-euwe/blob/master/service_hierarchies/chapter.asciidoc,

i have this ERROR:

[----] I, [2017-07-21T16:04:00.003615 #2968:8f3130] INFO – : Q-task_id([service_template_provision_task_1000000003555]) Processing State=[pre5]
[----] I, [2017-07-21T16:04:00.003925 #2968:8f3130] INFO – : Q-task_id([service_template_provision_task_1000000003555]) Following Relationship [miqaedb:/Service/Provisioning/StateMachines/Methods/rename_service#create]
[----] E, [2017-07-21T16:04:00.367102 #2968:8f3130] ERROR – : Q-task_id([service_template_provision_task_1000000003555]) Class [Service/Provisioning/StateMachines/Methods] not found in MiqAeDatastore
[----] I, [2017-07-21T16:04:00.367237 #2968:8f3130] INFO – : Q-task_id([service_template_provision_task_1000000003555]) Followed Relationship [miqaedb:/Service/Provisioning/StateMachines/Methods/rename_service#create]
[----] E, [2017-07-21T16:04:00.367378 #2968:8f3130] ERROR – : Q-task_id([service_template_provision_task_1000000003555]) State= running raised exception:
[----] W, [2017-07-21T16:04:00.367515 #2968:8f3130] WARN – : Q-task_id([service_template_provision_task_1000000003555]) Error in State=[pre5]

i don’t understand why it can’t find Methods class. Any ideas?

Regards.


#2

Are you sure the rename_service instance is there, and whatever method it’s running?


#3

you were right. I only added method, not the instance.

But in that case shouldn’t the error message be “Instance Service/Provisioning/StateMachines/Methods/service_rename not found” instead of "Class [Service/Provisioning/StateMachines/Methods] not found " ?


#5

I agree, that would make more sense