Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C containers
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • argo
  • containers
  • Issues
  • #4

Closed
Open
Created Dec 20, 2018 by Valentin Reis@vreisOwner

Kill config needs two calls when tasks are running.

If some tasks are running,

$ argo_nodeos_config --show_config

NO SEPARATE SERVICE_OS!

----- COMPUTE CONTAINER -----
-Name: testContainer
-Owner: fre (1000)
-Hardware threads(exclusive): 0
-Memory nodes(non exclusive): 0
-Tasks: 26533 26535 26536 26537
-Not balancing load
-Memory migration is enabled

We get an error 1 using $ argo_nodeos_config --clean_config=kill_content:true:

argo_nodeos_config[pid:10694]|ERROR: [user:1000] Trying to delete a container that still hosts some tasks

It fails, but does kill tasks:

$ argo_nodeos_config --show_config

NO SEPARATE SERVICE_OS!

----- COMPUTE CONTAINER -----
-Name: testContainer
-Owner: fre (1000)
-Hardware threads(exclusive): 0
-Memory nodes(non exclusive): 0
-Tasks:
-Not balancing load
-Memory migration is enabled

A second attempt will kill the container properly :

$ argo_nodeos_config --clean_config=kill_content:true
$ echo $?
0
$ _output/argo_nodeos_config --show_config

NO SEPARATE SERVICE_OS!
Edited Dec 20, 2018 by Valentin Reis
Assignee
Assign to
Time tracking