Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3499

cf-remote: Number of processes must be at least 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: contrib: cf-remote
    • Labels:
      None

      Description

      $ cf-remote destroy --all
      Destroying all hosts
      Traceback (most recent call last):
        File "/home/olehermanse/bin/cf-remote", line 11, in <module>
          main()
        File "/home/olehermanse/code/northern.tech/cfengine/core/contrib/cf-remote/cf_remote/main.py", line 372, in main
          exit_code = run_command_with_args(args.command, args)
        File "/home/olehermanse/code/northern.tech/cfengine/core/contrib/cf-remote/cf_remote/main.py", line 177, in run_command_with_args
          return commands.destroy(group_name)
        File "/home/olehermanse/code/northern.tech/cfengine/core/contrib/cf-remote/cf_remote/commands.py", line 421, in destroy
          destroy_vms(to_destroy)
        File "/home/olehermanse/code/northern.tech/cfengine/core/contrib/cf-remote/cf_remote/spawn.py", line 370, in destroy_vms
          with Pool(len(vms)) as pool:
        File "/usr/lib/python3.8/multiprocessing/dummy/__init__.py", line 124, in Pool
          return ThreadPool(processes, initializer, initargs)
        File "/usr/lib/python3.8/multiprocessing/pool.py", line 922, in __init__
          Pool.__init__(self, processes, initializer, initargs)
        File "/usr/lib/python3.8/multiprocessing/pool.py", line 205, in __init__
          raise ValueError("Number of processes must be at least 1")
      ValueError: Number of processes must be at least 1
      olehermanse@OH-WIN masterfiles $
      

        Attachments

          Activity

            People

            • Assignee:
              olehermanse Ole Herman Schumacher Elgesem
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel