Stock centos/rhel setup on libvirt/setup/undercloud fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Medium
|
Sanjay Upadhyay |
Bug Description
This is with respect to setting up a Openstack setup on libvirt with stock OS ie. centos and rhel, specifically fetched from local cache.
I found that it would fail at - /home/sanjayu/
TASK [setup/undercloud : Copy instackenv.json to appliance] >
------
\ ^__^
\ (oo)\_______
(__)\ )\/\
|| ||
task path: /home/sanjayu/
Thursday 20 July 2017 13:33:35 +0530 (0:00:00.106) 0:26:41.580 *********
fatal: [sm02]: FAILED! => {"changed": true, "cmd": ["virt-customize", "-a", "/home/
==playbook task==
77 - name: Copy instackenv.json to appliance
78 command: >
79 virt-customize -a {{ working_dir }}/undercloud.qcow2
80 --upload {{ working_dir }}/instackenv.
81 --run-command 'chown {{ undercloud_user }}:{{ undercloud_user }} /home/{{ undercloud_user }}/instackenv.json'
82 when: inject_
==Running it manually==
$ virt-customize -a undercloud.qcow2 --upload "/home/
[ 3.0] Setting a random seed
[ 3.0] Uploading: /home/stack/
virt-customize: error: libguestfs error: upload:
/home/stack/
If reporting bugs, run virt-customize with debugging enabled and include
the complete output:
virt-customize -v -x [...]
[stack@sm02 ~]$ ls -l /home/stack/
-rw-rw-r--. 1 stack stack 7363 Jul 20 03:55 /home/stack/
issue --
Stack user has not been created inside the VM
Further, after discussing with @sshnaidm, I figured out, that there is a variable called undercloud_setup. If True, it goes into the following lines - https:/
- include: convert_image.yml
static: no
when: overcloud_
However, again fails, as the repo is not yet setup (specifically for rhel ones).
tags: | added: ci quickstart |
Changed in tripleo: | |
assignee: | nobody → Sanjay Upadhyay (saneax) |
Changed in tripleo: | |
status: | New → Triaged |
milestone: | none → queens-1 |
importance: | Undecided → Medium |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
status: | Triaged → Invalid |
Change abandoned by Sorin Sbarnea (<email address hidden>) on branch: master /review. opendev. org/492453
Review: https:/