[ovirt-users] hosted engine vm.conf missing

Thomas Scofield tscofield at gmail.com
Tue Dec 1 13:07:08 UTC 2015


Are there different instructions for an iscsi domain?  I was able to find
the proper path at /rhev/data-center/mnt/blockSD/$sdUUID/images/$
conf_image_UUID/$conf_volume_UUID but the tar command failed

tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

This was a relatively recent fresh install, the setup log is attached.

On Tue, Dec 1, 2015 at 5:54 AM, Simone Tiraboschi <stirabos at redhat.com>
wrote:

>
>
> On Tue, Dec 1, 2015 at 12:55 AM, Thomas Scofield <tscofield at gmail.com>
> wrote:
>
>> That file is missing
>>
>> [root at ovirt01 vdsm]# ls -l /var/run/ovirt-hosted-engine-ha/vm.conf
>> ls: cannot access /var/run/ovirt-hosted-engine-ha/vm.conf: No such file
>> or directory
>> [root at ovirt01 vdsm]#
>>
>
>
> Was it a fresh install or an upgrade from 3.5?
> If you still have it, can you please attach the setup logs?
>
> Can you please try to manually check vm.conf on the shared storage? This
> should do the job extracting the files in a local directory.
> (please substitute '192.168.1.115:_Virtual_ext35u36' with the mount point
>  of hosted-engine storage domain on your system).
>
> mntpoint=/rhev/data-center/mnt/192.168.1.115:_Virtual_ext35u36
> dir=`mktemp -d` && cd $dir
> sdUUID_line=$(grep sdUUID /etc/ovirt-hosted-engine/hosted-engine.conf)
> sdUUID=${sdUUID_line:7:36}
> conf_volume_UUID_line=$(grep conf_volume_UUID /etc/ovirt-hosted-engine/
> hosted-engine.conf)
> conf_volume_UUID=${conf_volume_UUID_line:17:36}
> conf_image_UUID_line=$(grep conf_image_UUID /etc/ovirt-hosted-engine/
> hosted-engine.conf)
> conf_image_UUID=${conf_image_UUID_line:16:36}
> dd if=$mntpoint/$sdUUID/images/$conf_image_UUID/$conf_volume_UUID
> 2>/dev/null| tar -xvf -
>
>
>
>
>>
>> On Mon, Nov 30, 2015 at 4:04 AM, Simone Tiraboschi <stirabos at redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Fri, Nov 27, 2015 at 9:48 PM, Thomas Scofield <tscofield at gmail.com>
>>> wrote:
>>>
>>>> I have recently setup a ovirt hosted engine on iscsi storage and after
>>>> a reboot of the system I am unable to start the hosted engine.  The
>>>> agent.log gives errors indicating there is a missing value in the vm.conf
>>>> file, but the vm.conf file does not appear in the location indicated.
>>>> There is no error indicated when the agent attempts to reload the vm.conf.
>>>> Any ideas on how to get the hosted engine up and running?
>>>>
>>>> MainThread::INFO::2015-11-26
>>>> 21:31:13,071::hosted_engine::699::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock)
>>>> Ensuring lease for lockspace hosted-engine, host id 1 is acquired (file:
>>>> /var/run/vdsm/storage/ddf4a26b-61ff-49a4-81db-9f82da35e44b/6ed6d868-aaf3-4b3f-bdf0-a4ad262709ae/1fe5b7fc-eae7-4f07-a2fe-5a082e14c876)
>>>> MainThread::INFO::2015-11-26
>>>> 21:31:13,072::upgrade::836::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade)
>>>> Host configuration is already up-to-date
>>>> MainThread::INFO::2015-11-26
>>>> 21:31:13,072::hosted_engine::422::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
>>>> Reloading vm.conf from the shared storage domain
>>>> MainThread::ERROR::2015-11-26
>>>> 21:31:13,100::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>>>> Error: ''Configuration value not found: file=/var/run/ovirt-hosted-engine-ha/vm.conf,
>>>> key=memSize'' - trying to restart agent
>>>> MainThread::WARNING::2015-11-26
>>>> 21:31:18,105::agent::208::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>>>> Restarting agent, attempt '9'
>>>> MainThread::ERROR::2015-11-26
>>>> 21:31:18,106::agent::210::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>>>> Too many errors occurred, giving up. Please review the log and consider
>>>> filing a bug.
>>>> MainThread::INFO::2015-11-26
>>>> 21:31:18,106::agent::143::ovirt_hosted_engine_ha.agent.agent.Agent::(run)
>>>> Agent shutting down
>>>>
>>>
>>> Hi Thomas,
>>> could you please attach also your /var/run/ovirt-hosted-engine-ha/vm.conf
>>> ?
>>>
>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151201/743f4ad3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-hosted-engine-setup-20151122013155-vciivm.log.xz
Type: application/x-xz
Size: 30464 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151201/743f4ad3/attachment-0001.xz>


More information about the Users mailing list