Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
Add copr repo
Browse files Browse the repository at this point in the history
COPR Module: managerforlustre/server-profile-fixes

Signed-off-by: Joe Grund <jgrund@whamcloud.io>
  • Loading branch information
jgrund committed May 16, 2019
1 parent 30aa3f6 commit a823486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chroma_core/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit a823486

Please sign in to comment.