RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1496203 - tripleo quickstart fails with error lvs: lvm lvs --help: Invalid units specification
Summary: tripleo quickstart fails with error lvs: lvm lvs --help: Invalid units spe...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: instack-undercloud
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: wes hayutin
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-26 16:14 UTC by josep blanch
Modified: 2021-01-13 07:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-13 07:49:55 UTC
Embargoed:


Attachments (Terms of Use)

Description josep blanch 2017-09-26 16:14:08 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:

execute quickstart: bash quickstart.sh $VIRTHOST (as described in rdo https://www.rdoproject.org/tripleo/ )


Steps to Reproduce:
1. install a clean server
2. launch tripleo quickstart from auxiliar computer
3. get error lvm lvs --help:   Invalid  units specification

Actual results:

TASK [setup/undercloud : Copy instackenv.json to appliance] ********************
task path: /home/josep/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:78
Tuesday 26 September 2017  17:32:38 +0200 (0:00:00.369)       0:02:58.724 ***** 
fatal: [172.18.31.10]: FAILED! => {"changed": true, "cmd": ["virt-customize", "-a", "/home/stack/undercloud.qcow2", "--upload", "/home/stack/instackenv.json:/home/stack/instackenv.json", "--run-command", "chown stack:stack /home/stack/instackenv.json"], "delta": "0:00:01.406937", "end": "2017-09-26 17:32:40.478309", "failed": true, "rc": 1, "start": "2017-09-26 17:32:39.071372", "stderr": "virt-customize: error: libguestfs error: lvs: lvm lvs --help:   Invalid \nunits specification\n\nIf reporting bugs, run virt-customize with debugging enabled and include \nthe complete output:\n\n  virt-customize -v -x [...]", "stdout": "[   0,0] Examinando el invitado ...", "stdout_lines": ["[   0,0] Examinando el invitado ..."], "warnings": []}

PLAY RECAP *********************************************************************
172.18.31.10               : ok=91   changed=28   unreachable=0    failed=1   
localhost                  : ok=11   changed=4    unreachable=0    failed=0   

Tuesday 26 September 2017  17:32:40 +0200 (0:00:02.517)       0:03:01.242 ***** 

the command lvm lvs --help fails inside the undercloud virtual machines 

Expected results:


PLAY RECAP *********************************************************************
172.18.31.10               : ok=92   changed=28   unreachable=0    failed=0   
localhost                  : ok=11   changed=4    unreachable=0    failed=0   

Tuesday 26 September 2017  17:32:40 +0200 (0:00:02.517)       0:03:01.242 ***** 


Additional info:

when executing, directly inside the $VIRTHOST server, the command that fails ( virt-customize -v -x -a /home/stack/undercloud.qcow2 --upload /home/stack/instackenv.json:/home/stack/instackenv.json --run-command "chown stack:stack /home/stack/instackenv.json" ), we get the same error
 
Looking at known bugs concerning the lvm lvs --help error, it seems that the version of LVM that is inside the qcow image that virt-customize tries to load it is not the correct one

Comment 1 Yatin Karel 2021-01-13 07:49:55 UTC
Seems the issue is fixed as i did many installation with quickstart.sh and never seen this issue. Since it's too old bug closing as EOL, if you by chance reproduce it now, feel free to open a bug for it so it can be fixed.


Note You need to log in before you can comment on or make changes to this bug.