-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Running a playbook that uses the skupper.v2.system action setup (2.0) or reload (2.1) on a brand new VM fails silently.
2.0:
TASK [Start it] ***************************************************************************************************************************************************************************************************
task path: /tmp/test/asdf.yaml:12
[WARNING]: error writing service file '/home/cloud-user/.config/systemd/user/skupper-asdf.service': [Errno 2] No such file or directory: '/home/cloud-user/.config/systemd/user/skupper-asdf.service'
changed: [localhost] => {"changed": true, "gid": 1000, "group": "cloud-user", "links": {}, "mode": "0755", "owner": "cloud-user", "path": "/home/cloud-user/.local/share/skupper/namespaces/asdf", "secontext": "unconfined_u:object_r:container_file_t:s0", "size": 50, "state": "directory", "uid": 1000}
2.1:
TASK [Start it] ***************************************************************************************************************************************************************************************************
[WARNING]: error writing service file '/home/cloud-user/.config/systemd/user/skupper-asdf.service': [Errno 2] No such file or directory: '/home/cloud-user/.config/systemd/user/skupper-asdf.service'
changed: [localhost]
In both cases, the warning is logged, but the actual task is reported as changed, which is a successful state.
The issue was detected while running the Integration tests on 2.0, where it fails on the test Assert that the systemd service exists.
I'm not sure why, the 2.1 tests pass, despite the problem existing on that branch as well.
As far as the testing is concerned, the issue is easily bypassed by issuing the command below:
$ mkdir -p ~/.config/systemd/user/
However, for an actual user setting up a brand new server this would be more than a nuissance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request