Skip to content

Bulk Power fails with multiple nodes #1526

@Hwiggy

Description

@Hwiggy

Background (please complete the following information):

  • Panel or Daemon: Panel
  • Version of Panel/Daemon: 0.7.13
  • Server's OS: Ubuntu 18.04.2 LTS 4.15.0-45-generic
  • Your Computer's OS & Browser: Unrelated (Artisan issue)

Describe the bug
Bulk power command failing with multiple nodes
Please provide additional information too, depending on what you have issues with:
PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1

To Reproduce
Steps to reproduce the behavior:

  1. Have multiple daemon nodes
  2. Have at least 1 server on each
  3. Try to bulk power with artisan with no nodes / servers specified, i.e p:bulk-power:restart
  4. Observe as the first node is contacted for all servers, resulting in a few 404s

Expected behavior
The bulk power command should properly determine which node a server belongs to and use the correct URL for API calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions