question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create pve_storages using example data

See original GitHub issue
   - name: ceph1
     type: rbd
     content: [ "images", "rootdir" ]
     nodes: [ "proxmox-01-node-01.local", "proxmox-01-node-02.local", "proxmox-01-node-03.local" ]
     username: nvadmin
     pool: hdd
     krbd: yes
     monhost:
       - 192.168.1.241
       - 192.168.1.242
       - 192.168.1.243
   - name: cephfs1
     type: cephfs
     content: [ "snippets", "vztmpl", "iso"  ]
     nodes: [ "proxmox-01-node-01.local", "proxmox-01-node-02.local", "proxmox-01-node-03.local" ]
     username: nvadmin
     monhost:
       - 192.168.1.241
       - 192.168.1.242
       - 192.168.1.243

When i use this code i get this error while running it.

failed: [proxmox-01-node-01] (item={'name': 'ceph1', 'type': 'rbd', 'content': ['images', 'rootdir'], 'nodes': ['proxmox-01-node-01.local', 'proxmox-01-node-02.local', 'proxmox-01-node-03.local'], 'username': 'nvadmin', 'pool': 'hdd', 'krbd': True, 'monhost': ['192.168.1.241', '192.168.1.242', '192.168.1.243']}) => {"ansible_loop_var": "item", "changed": false, "item": {"content": ["images", "rootdir"], "krbd": true, "monhost": ["192.168.1.241", "192.168.1.242", "192.168.1.243"], "name": "ceph1", "nodes": ["proxmox-01-node-01.local", "proxmox-01-node-02.local", "proxmox-01-node-03.local"], "pool": "hdd", "type": "rbd", "username": "nvadmin"}, "msg": "nodes: invalid format - value does not look like a valid node name\n", "name": "ceph1"}

failed: [proxmox-01-node-01] (item={'name': 'cephfs1', 'type': 'cephfs', 'content': ['snippets', 'vztmpl', 'iso'], 'nodes': ['proxmox-01-node-01.local', 'proxmox-01-node-02.local', 'proxmox-01-node-03.local'], 'username': 'nvadmin', 'monhost': ['192.168.1.241', '192.168.1.242', '192.168.1.243']}) => {"ansible_loop_var": "item", "changed": false, "item": {"content": ["snippets", "vztmpl", "iso"], "monhost": ["192.168.1.241", "192.168.1.242", "192.168.1.243"], "name": "cephfs1", "nodes": ["proxmox-01-node-01.local", "proxmox-01-node-02.local", "proxmox-01-node-03.local"], "type": "cephfs", "username": "nvadmin"}, "msg": "nodes: invalid format - value does not look like a valid node name\n", "name": "cephfs1"}

nodes: invalid format?

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
wu3rstlecommented, Dec 20, 2022

@JohanLeirnes the names are shown in pvecm nodes

1reaction
JohanLeirnescommented, Dec 20, 2022

Thanks! that was the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ValueError: Unable to create dataset (error during user ...
I get test_fil2h5py to work, by using this h5py==2.5.0 instead. Plus fixing this error by directly editing /opt/pyve/eepy/local/lib/python2.7/ ...
Read more >
unable to create image: got lock timeout - aborting command
Hello, I'm attempting to add a secondary virtual HDD to attach to one of my VMs, created from a storage space mounted and...
Read more >
[pve-devel] [PATCH qemu-server 1/4] Move importdisk from ...
Required to create a GUI for importdisk. Add parameters that enable directly attaching the disk to a bus/device with all known disk options....
Read more >
Troubleshooting problems with creating InfoSphere ...
This document describes common problems and useful troubleshooting techniques when the creation of a new InfoSphere DataStage project fails.
Read more >
Ansible Lint Action: Community Maintained Ansible-lint Github Action
To use the action simply create an ansible-lint.yml (or choose custom *.yml name) in the .github/workflows/ directory. For example:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found