Simone Tiraboschi has posted comments on this change.
Change subject: packaging: setup: using cloud-init to run engine-setup
......................................................................
Patch Set 15: Verified+1
Verified on a failing path (incomplete answerfile)
[ INFO ] Configuring VM
[ INFO ] Updating hosted-engine configuration
[ INFO ] Stage: Transaction commit
[ INFO ] Stage: Closing up
[ INFO ] Creating VM
You can now connect to the VM with the following command:
/bin/remote-viewer vnc://localhost:5900
Use temporary password "8691ZqsG" to connect to vnc console.
Please note that in order to use remote-viewer you need to be able to
run graphical applications.
This means that if you are using ssh you have to supply the -Y flag
(enables trusted X11 forwarding).
Otherwise you can run the command from a terminal in your preferred
desktop environment.
If you cannot run graphical applications you can connect to the
graphic console from another host or connect to the console using the following
command:
virsh -c qemu+tls://c71ghe1.localdomain/system console HostedEngine
If you need to reboot the VM you will need to start it manually using
the command:
hosted-engine --vm-start
You can then set a temporary password using the command:
hosted-engine --add-console-password
[ INFO ] Running engine-setup on the appliance
|- [ INFO ] Stage: Initializing
|- [ INFO ] Stage: Environment setup
|- Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/root/ovirt-engine-answers', '/root/heanswers.conf']
|- Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20150508171507-cwvvkp.log
|- Version: otopi-1.4.0_master
(otopi-1.4.0-0.0.master.20150423125505.git08ea44e.el7)
|- [ INFO ] Stage: Environment packages setup
|- [ INFO ] Stage: Programs detection
|- [ INFO ] Stage: Environment setup
|- [ INFO ] Stage: Environment customization
|-
|- --== PRODUCT OPTIONS ==--
|-
|- Configure Engine on this host (Yes, No) [Yes]: [ ERROR ]
Failed to execute stage 'Environment customization': End of file
|- [ INFO ] Stage: Clean up
|- Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20150508171507-cwvvkp.log
|- [ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20150508171511-setup.conf'
|- [ INFO ] Stage: Pre-termination
|- [ INFO ] Stage: Termination
|- [ ERROR ] Execution of setup failed
[ ERROR ] Engine setup got stuck on the appliance
[ ERROR ] Failed to execute stage 'Closing up': Engine setup is stalled on the
appliance since 300 seconds ago. Please check its log on the appliance.
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20150508192015.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
--
To view, visit https://gerrit.ovirt.org/40546
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I305232fc44a524fd53e2d7fbd819ab5b95d4931c
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Simone Tiraboschi <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches