-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
None
-
False
-
-
False
-
?
-
rhos-ops-day1day2-hardprov
-
None
-
-
-
Moderate
growvols breaks if a pv is extended on another device (/dev/sda) that ends up being discovered before the original device (/dev/sdb). It fails to run with the following error:
ValueError: invalid literal for int() with base 10: 'Creating new GPT entries in memory.'
If we fix the above error, we then hit an issue if /dev/sda doesn't have any partition table ... the important thing to node here is that /dev/sdb does have all the proper partitions and pv/vg/lv configuration.
2025-05-26 13:08:51,455 p=34301 u=stack n=ansible | 2025-05-26 13:08:51.454312 | 88e9a40d-0560-18d2-3cd2-000000000025 | FATAL | Running /usr/local/sbin/growvols /=20GB /tmp=2GB /home=5GB /var/log=50GB /var/log/audit=5GB /var=100% | sc-prod-blr-ctr-01 | error={ "changed": true, "cmd": "/usr/local/sbin/growvols --yes /=20GB /tmp=2GB /home=5GB /var/log=50GB /var/log/audit=5GB /var=100%", "delta": "0:00:00.076800", "end": "2025-05-26 13:08:51.421054", "invocation": { "module_args": { "_raw_params": "/usr/local/sbin/growvols --yes /=20GB /tmp=2GB /home=5GB /var/log=50GB /var/log/audit=5GB /var=100%", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "msg": "non-zero return code", "rc": 1, "start": "2025-05-26 13:08:51.344254", "stderr": "Traceback (most recent call last):\n File "/usr/local/sbin/growvols", line 624, in <module>\n sys.exit(main(sys.argv))\n File "/usr/local/sbin/growvols", line 507, in main\n sector_start, sector_end, size_sectors = find_space(disk_name)\n File "/usr/local/sbin/growvols", line 292, in find_space\n sector_start = int(start_end[0])\nValueError: invalid literal for int() with base 10: 'Creating new GPT entries in memory.'", "stderr_lines": [ "Traceback (most recent call last):", " File "/usr/local/sbin/growvols", line 624, in <module>", " sys.exit(main(sys.argv))", " File "/usr/local/sbin/growvols", line 507, in main", " sector_start, sector_end, size_sectors = find_space(disk_name)", " File "/usr/local/sbin/growvols", line 292, in find_space", " sector_start = int(start_end[0])", "ValueError: invalid literal for int() with base 10: 'Creating new GPT entries in memory.'" ], "stdout": "", "stdout_lines": [] }