rich7420 commented on PR #1: URL: https://github.com/apache/ambari-deploy/pull/1#issuecomment-2848985106
Hello @JiaLiangC , thanks for your contribution! I tried on Ubuntu 22.04 and Debian GNU/Linux 12. some questions here: 1. errors when I ran `python3 main.py -deploy` ``` rc910420@ambababa:~/ambari-deploy/deploy_py$ python3 main.py -deploy Namespace(deploy=True, docker_deploy=False, generate_conf=False, is_docker=False, os_info='', docker_instance_num=None) deploy_cluster False Traceback (most recent call last): File "/home/rc910420/ambari-deploy/deploy_py/python/config_management/configurations/base_configuration.py", line 59, in get return conf[key] KeyError: 'group_services' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/rc910420/ambari-deploy/deploy_py/main.py", line 241, in <module> app.run() File "/home/rc910420/ambari-deploy/deploy_py/main.py", line 217, in run self.deploy_cluster_if_needed() File "/home/rc910420/ambari-deploy/deploy_py/main.py", line 183, in deploy_cluster_if_needed self.deployment_manager.deploy_cluster(self.args.is_docker) File "/home/rc910420/ambari-deploy/deploy_py/python/deploy/deployment.py", line 161, in deploy_cluster conf_manager.save_ambari_configurations() File "/home/rc910420/ambari-deploy/deploy_py/python/config_management/configuration_manager.py", line 163, in save_ambari_configurations "cluster_template.json", DynamicVariableGenerator(self.advanced_conf) File "/home/rc910420/ambari-deploy/deploy_py/python/config_management/dynamic_variable_generator.py", line 68, in __init__ self.group_services = self.advanced_conf.get("group_services") File "/home/rc910420/ambari-deploy/deploy_py/python/config_management/configurations/base_configuration.py", line 63, in get raise InvalidConfigurationException( NameError: name 'InvalidConfigurationException' is not defined ``` 2. I believe the current steps may be as follows: - Create a new log folder, which might involve modifying basic_logger.py. - Copy the files base_conf.yml.template, conf.yml.template, and hosts_info.yml.template, and then modify their contents. - Run the command python3 main.py -deploy. I’m not sure if I’ve missed any steps or made any mistakes. If anyone notices anything, I’d be happy to assist with reviewing or making the necessary changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org