diff --git a/chroma_core/models/host.py b/chroma_core/models/host.py index 2156f90382..5d737c2af0 100644 --- a/chroma_core/models/host.py +++ b/chroma_core/models/host.py @@ -1019,7 +1019,7 @@ def run(self, kwargs): host = kwargs["host"] server_profile = kwargs["server_profile"] - self.invoke_agent_expect_result(host, "set_profile", {"profile": server_profile.as_dict}) + self.invoke_agent_expect_result(host, "set_profile", {"profile_json": json.dumps(server_profile.as_dict)}) job_scheduler_notify.notify(host, tznow(), {"server_profile_id": server_profile.id}) @@ -1482,7 +1482,7 @@ class UpdateProfileStep(RebootIfNeededStep): database = True def run(self, kwargs): - self.invoke_agent(kwargs["host"], "update_profile", {"profile_json": json.dumps(kwargs["profile"].as_dict)}) + self.invoke_agent(kwargs["host"], "update_profile", {"profile": kwargs["profile"].as_dict}) class UpdateYumFileStep(RebootIfNeededStep): diff --git a/tests/framework/integration/existing_filesystem_configuration/cluster_setup b/tests/framework/integration/existing_filesystem_configuration/cluster_setup index 2fc5fa8564..11e86f1dd0 100755 --- a/tests/framework/integration/existing_filesystem_configuration/cluster_setup +++ b/tests/framework/integration/existing_filesystem_configuration/cluster_setup @@ -117,6 +117,8 @@ if [ -n \"$STORAGE_SERVER_REPOS\" ]; then echo curl \"\$repo\" } >> /usr/share/chroma-manager/base.repo + + echo -e '\n' >> /usr/share/chroma-manager/base.repo done fi diff --git a/tests/framework/integration/installation_and_upgrade/run_tests b/tests/framework/integration/installation_and_upgrade/run_tests index 26f697452c..9e7cbfa087 100755 --- a/tests/framework/integration/installation_and_upgrade/run_tests +++ b/tests/framework/integration/installation_and_upgrade/run_tests @@ -215,6 +215,8 @@ if [ -n \"$STORAGE_SERVER_REPOS\" ]; then echo curl \"\$repo\" } >> /usr/share/chroma-manager/base.repo + + echo -e '\n' >> /usr/share/chroma-manager/base.repo done fi diff --git a/tests/framework/integration/shared_storage_configuration/full_cluster/cluster_setup b/tests/framework/integration/shared_storage_configuration/full_cluster/cluster_setup index d5246ee94b..381ad92f2a 100755 --- a/tests/framework/integration/shared_storage_configuration/full_cluster/cluster_setup +++ b/tests/framework/integration/shared_storage_configuration/full_cluster/cluster_setup @@ -75,6 +75,8 @@ if [ -n \"$STORAGE_SERVER_REPOS\" ]; then echo curl \"\$repo\" } >> /usr/share/chroma-manager/base.repo + + echo -e '\n' >> /usr/share/chroma-manager/base.repo done fi