Skip to content
Snippets Groups Projects

Redesign RabbitMQ

Merged Bo-Chun Chen requested to merge github/fork/diedpigs/feat-redesign-mq into develop

Ohpc account (uid resolver):

  • subscribe pattern request.*
  • send out message, uid and gid attached, with routing_key create.<username>to other agents if uid and gid create/resolve successfully message body:
{
  "username": "user1010",
  "fullname": "User 1010",
  "reason": "Reason1, 2 and 3",
  "uid": "1234",
  "gid": "1234"
}
  • send out confirmation with routing_key confirm.<username> message body:
{
  "task": "ohpc_account",
  "success": true // false if task failed
}

Ood account:

  • subscribe pattern create.*
  • send out confirmation with routing_key confirm.<username> message body:
{
  "task": "ood_account",
  "success": true // false if task failed
}

Slurm account:

  • subscribe pattern create.*
  • send out confirmation with routing_key confirm.<username> message body:
{
  "task": "slurm_account",
  "success": true // false if task failed
}

Celery Task could be using add_account and consume function defined in rc_util add_account sent out request message with routint_key request.<username> consume will subscribe to confirm.<username> to keep tracking status of all tasks.

Merge request reports

Approval is optional

Merged by avatar (Jun 6, 2025 2:11pm UTC)

Merge details

  • Changes merged into develop with 6210465b.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading