vmm hack error: TypeError: expected str, bytes or os.PathLike object, not NoneType #9

Closed
opened 2021-11-20 11:15:23 +00:00 by ungleich-gitea · 4 comments
(venv) [15:33] diamond:uncloud% ./bin/uncloud-run-reinstall hack --etcd-host etcd1.ungleich.ch --etcd-ca-cert ~/vcs/ungleich-dot-cdist/files/etcd/ca.pem --etcd-cert-cert ~/vcs/ungleich-dot-cdist/files/etcd/nico.pem --etcd-cert-key ~/vcs/ungleich-dot-cdist/files/etcd/nico-key.pem --create-vm 
ERROR:root:expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
  File "./bin/../scripts/uncloud", line 82, in <module>
    main(arguments)
  File "/home/nico/vcs/uncloud/uncloud/hack/main.py", line 47, in main
    vm = VM(config)
  File "/home/nico/vcs/uncloud/uncloud/hack/vm.py", line 74, in __init__
    self.vmm = VMM(vmm_backend=self.hackprefix)
  File "/home/nico/vcs/uncloud/uncloud/vmm/__init__.py", line 109, in __init__
    self.socket_dir = os.path.join(self.vmm_backend, "sock")
  File "/usr/lib/python3.8/posixpath.py", line 76, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
(venv) [15:41] diamond:uncloud% 
``` (venv) [15:33] diamond:uncloud% ./bin/uncloud-run-reinstall hack --etcd-host etcd1.ungleich.ch --etcd-ca-cert ~/vcs/ungleich-dot-cdist/files/etcd/ca.pem --etcd-cert-cert ~/vcs/ungleich-dot-cdist/files/etcd/nico.pem --etcd-cert-key ~/vcs/ungleich-dot-cdist/files/etcd/nico-key.pem --create-vm ERROR:root:expected str, bytes or os.PathLike object, not NoneType Traceback (most recent call last): File "./bin/../scripts/uncloud", line 82, in <module> main(arguments) File "/home/nico/vcs/uncloud/uncloud/hack/main.py", line 47, in main vm = VM(config) File "/home/nico/vcs/uncloud/uncloud/hack/vm.py", line 74, in __init__ self.vmm = VMM(vmm_backend=self.hackprefix) File "/home/nico/vcs/uncloud/uncloud/vmm/__init__.py", line 109, in __init__ self.socket_dir = os.path.join(self.vmm_backend, "sock") File "/usr/lib/python3.8/posixpath.py", line 76, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType (venv) [15:41] diamond:uncloud% ```
ungleich-gitea added this to the Internal prod release milestone 2021-11-20 11:15:23 +00:00
fnux was assigned by ungleich-gitea 2021-11-20 11:15:23 +00:00
Author

changed milestone to %1

changed milestone to %1
Author

changed milestone to %1

changed milestone to %1
Author

changed milestone to %1

changed milestone to %1
Author

changed milestone to %1

changed milestone to %1
nico closed this issue 2022-02-15 08:47:07 +00:00
Sign in to join this conversation.
No Label
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: uncloud/uncloud#9
No description provided.