Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.7.0
Description
Steps to reproduce :
1) Create a healthy cluster
2) Stop a service and delete it(say Kafka or Zookeeper)
3) Try to reinstall the same service and the action fails.
Seeing below error in ambari-agent.log
INFO 2018-05-21 10:17:56,852 ActionQueue.py:276 - Command execution metadata - taskId = 300, retry enabled = False, max retry duration (sec) = 0, log_output = True ERROR 2018-05-21 10:17:56,852 CustomServiceOrchestrator.py:448 - Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: u'KAFKA'; u'KAFKA' Traceback (most recent call last): File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 322, in runCommand command = self.generate_command(command_header) File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 487, in generate_command command_dict = self.configuration_builder.get_configuration(cluster_id, service_name, component_name, required_config_timestamp) File "/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py", line 50, in get_configuration command_dict['serviceLevelParams'] = metadata_cache.serviceLevelParams[service_name] KeyError: u'KAFKA' INFO 2018-05-21 10:17:56,853 ActionQueue.py:324 - Quit retrying for command with taskId = 300. Status: FAILED, retryAble: False, retryDuration (sec): -1, last delay (sec): 1 INFO 2018-05-21 10:17:56,853 ActionQueue.py:339 - Command with taskId = 300 failed after 1 tries
Attaching the screenshot.
I have tried the same action for Zookeeper and it fails with similar exception.
Attachments
Issue Links
- links to