Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • feudalClient feudalClient
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • feudal
  • feudalClientfeudalClient
  • Issues
  • #10

Closed
Open
Created Mar 09, 2020 by uwdkl@uwdkl

Deployment script called with empty input after restart

If the client is restarted (e.g. systemctl restart feudalClient.service) and there are still outstanding deployment changes (e.g. because they failed on the previous run), the script is called with "userinfo": null and "credentials": null.

From the logs (journalctl -u feudalClient.service):

Mar 09 12:27:16 feudal-client systemd[1]: Started FeudalClient.
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Reading config file /etc/feudal/client_config.json
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Using default fetch_interval of 30m0s
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Using default reconnect_timeout of 30s
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Services:     map[kitssh:KIT Test SSH]
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Groups:       map[/myExampleColab:[kitssh]]
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Conf] Entitlements: map[urn:geant:h-df.de:group:HDF:[kitssh] urn:geant:h-df.de:group:myExampleColab:[kitssh] urn:mace:egi.eu:aai.egi.eu:member@goc.egi.eu:[kitssh] urn:mace:egi.eu:group:EOSC-hub-access:[
Mar 09 12:27:16 feudal-client feudalClient[6759]: 2020/03/09 12:27:16 [Debug] script debugging enabled
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 [Conf] Synchronised configuration with feudal.scc.kit.edu
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 [HTTP] Source connected
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 Dep[KIT Test SSH]#51 Scheduling execution for KIT Test SSH
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 [Sink] Handling: Dep[KIT Test SSH]#51
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 Dep[KIT Test SSH]#51 Executing: 'ldf_adapter --conf /etc/feudal/ldf_adapter_devel_lsdf.conf'
Mar 09 12:27:17 feudal-client feudalClient[6759]: 2020/03/09 12:27:17 Dep[KIT Test SSH]#51 Input: {
Mar 09 12:27:17 feudal-client feudalClient[6759]: "state_target": "not_deployed",
Mar 09 12:27:17 feudal-client feudalClient[6759]: "user": {
Mar 09 12:27:17 feudal-client feudalClient[6759]: "userinfo": null,
Mar 09 12:27:17 feudal-client feudalClient[6759]: "credentials": null
Mar 09 12:27:17 feudal-client feudalClient[6759]: }
Mar 09 12:27:17 feudal-client feudalClient[6759]: }
Mar 09 12:27:18 feudal-client feudalClient[6759]: 2020/03/09 12:27:18 Dep[KIT Test SSH]#51 Logs:

Tested on feudal-client.scc.kit.edu with feudalClient v2.1.2.

Edited Mar 09, 2020 by uwdkl
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

Imprint