*** gouthamr_ is now known as gouthamr | 04:07 | |
*** JqckB_ is now known as JqckB | 04:07 | |
*** sshnaidm|off is now known as sshnaidm | 08:04 | |
baptistemm | hello | 13:04 |
---|---|---|
baptistemm | I came to get supprt because module os_server_volume is crashing | 13:07 |
baptistemm | here is the code and the crash https://pastebin.com/WTaznuZt | 13:07 |
baptistemm | the first task is able to create the requested volume without problem | 13:08 |
baptistemm | I'm using the latest stable version of openstack collection so 1.5.1 | 13:09 |
baptistemm | I've also tried to pass the id of the server for the second task and I got the same result | 13:16 |
sshnaidm | baptistemm, server: "{{ ansible_hostname }}" ? | 13:18 |
sshnaidm | baptistemm, server should be the server name on openstack | 13:19 |
baptistemm | sshnaidm: actually that is the server name | 13:21 |
baptistemm | but I found the issue, the server was mot existing in the same zone (I created manually) | 13:22 |
sshnaidm | baptistemm, it seems like it doesn't find the server | 13:22 |
sshnaidm | baptistemm, yeah, this is it | 13:22 |
baptistemm | sshnaidm: should I open a bug to make the module fails nicely when the server is not found | 13:22 |
sshnaidm | baptistemm, you can do even better - to send a patch :) | 13:23 |
baptistemm | sshnaidm: wow you expect too much from me. if you can give me some hint I promess I'll try | 13:23 |
sshnaidm | baptistemm, you can just copy that line for server: https://opendev.org/openstack/ansible-collections-openstack/src/branch/master/plugins/modules/server_volume.py#L92 | 13:23 |
baptistemm | ok | 13:24 |
sshnaidm | if not server: | 13:24 |
sshnaidm | self.fail(msg='server %s is not found' % self.params['server']) | 13:24 |
baptistemm | seems really simple | 13:24 |
sshnaidm | yep | 13:24 |
baptistemm | as server is mandatory seems a good idea to check this | 13:25 |
sshnaidm | yeah, logical thing to do.. | 13:25 |
baptistemm | sshnaidm: I'm failing to get git-review being able to clone, so I'll try tonight | 14:08 |
sshnaidm | baptistemm, you clone with "git clone" | 14:14 |
sshnaidm | baptistemm, git-review is for sending patches | 14:14 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!