<div dir="ltr">hey Sandro,<div> this is my log:</div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-02 15:51 GMT+08:00 Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">Il 02/07/2015 05:45, Zhong Qiang ha scritto:<br>
> hey,<br>
> I tried two case.<br>
> ##################<br>
> case 1:<br>
> installed ovirt-node-iso-3.5-0.999.201506302311.el7.centos.iso or ovirt-node-iso-3.5-0.999.201507012312.el7.centos.iso , and setup<br>
> hosted-engine .<br>
> got error message below:<br>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
> [root@ovirthost01 Stor01]# hosted-engine --deploy<br>
> [ INFO ] Stage: Initializing<br>
> [ INFO ] Generating a temporary VNC password.<br>
> [ INFO ] Stage: Environment setup<br>
> Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.<br>
> Are you sure you want to continue? (Yes, No)[Yes]:<br>
> Configuration files: []<br>
> Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20150702021002-pa9xwr.log<br>
> Version: otopi-1.3.3_master (otopi-1.3.3-0.0.master.20150617163218.gitfc9ccb8.el7)<br>
> [ INFO ] Hardware supports virtualization<br>
> [ INFO ] Stage: Environment packages setup<br>
> [ INFO ] Stage: Programs detection<br>
> [ INFO ] Stage: Environment setup<br>
> [ INFO ] Stage: Environment customization<br>
><br>
> --== STORAGE CONFIGURATION ==--<br>
><br>
> During customization use CTRL-D to abort.<br>
> Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]:<br>
> Please specify the full shared storage connection path to use (example: host:/path): 10.10.19.99:/volume1/nfsstor<br>
> The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]?<br>
> [ INFO ] Installing on additional host<br>
> Please specify the Host ID [Must be integer, default: 2]:<br>
> Please provide storage domain name. [hosted_storage]: hostedStor<br>
> [ ERROR ] Failed to execute stage 'Environment customization': Storage domain name cannot be empty. It can only consist of alphanumeric characters<br>
> (that is, letters, numbers, and signs "-" and "_"). All other characters are not valid in the name.<br>
<br>
</div></div>Can you please provide /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20150702021002-pa9xwr.log?<br>
<div><div class="h5"><br>
<br>
<br>
> [ INFO ] Stage: Clean up<br>
> [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150702021034.conf'<br>
> [ INFO ] Stage: Pre-termination<br>
> [ INFO ] Stage: Termination<br>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
><br>
> #########################<br>
> case 2:<br>
> installed ovirt-node-iso-3.5-0.999.201504280931.el7.centos.iso , and setup hosted-engine .<br>
> got error message below:<br>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
> [root@ovirthost01 ~]# hosted-engine --deploy<br>
> [ INFO ] Stage: Initializing<br>
> [ INFO ] Generating a temporary VNC password.<br>
> [ INFO ] Stage: Environment setup<br>
> Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.<br>
> Are you sure you want to continue? (Yes, No)[Yes]:<br>
> Configuration files: []<br>
> Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20150702022914-83zr2r.log<br>
> Version: otopi-1.3.1 (otopi-1.3.1-1.el7)<br>
> [ INFO ] Hardware supports virtualization<br>
> [ INFO ] Stage: Environment packages setup<br>
> [ INFO ] Stage: Programs detection<br>
> [ INFO ] Stage: Environment setup<br>
> [ INFO ] Stage: Environment customization<br>
><br>
> --== STORAGE CONFIGURATION ==--<br>
><br>
> During customization use CTRL-D to abort.<br>
> Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]:<br>
> Please specify the full shared storage connection path to use (example: host:/path): 10.10.19.99:/volume1/nfsstor<br>
> The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? No<br>
> [ INFO ] Installing on first host<br>
> Local storage datacenter name is an internal name and currently will not be shown in engine's admin UI.<br>
> Please enter local datacenter name [hosted_datacenter]:<br>
><br>
> --== SYSTEM CONFIGURATION ==--<br>
><br>
><br>
> --== NETWORK CONFIGURATION ==--<br>
><br>
> Please indicate a nic to set ovirtmgmt bridge on: (p4p1) [p4p1]:<br>
> iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]:<br>
> Please indicate a pingable gateway IP address [10.10.19.254]:<br>
><br>
> --== VM CONFIGURATION ==--<br>
><br>
> Please specify the device to boot the VM from (cdrom, disk, pxe) [cdrom]: disk<br>
> Please specify path to OVF archive you would like to use [None]: /data/Stor01/oVirt-Engine-Appliance-CentOS-x86_64-7-20150628.74.ova<br>
> [ INFO ] Checking OVF archive content (could take a few minutes depending on archive size)<br>
> [ INFO ] Checking OVF XML content (could take a few minutes depending on archive size)<br>
> [WARNING] OVF does not contain a valid image description, using default.<br>
> [ ERROR ] Not enough space in the temporary directory<br>
> Please specify path to a temporary directory with at least 10 GB [/tmp]: /data/Stor01/tmp<br>
> Please specify an alias for the Hosted Engine image [hosted_engine]:<br>
> The following CPU types are supported by this host:<br>
> - model_Nehalem: Intel Nehalem Family<br>
> - model_Penryn: Intel Penryn Family<br>
> - model_Conroe: Intel Conroe Family<br>
> Please specify the CPU type to be used by the VM [model_Nehalem]:<br>
> [WARNING] Minimum requirements for disk size not met<br>
> You may specify a unicast MAC address for the VM or accept a randomly generated default [00:16:3e:4c:58:c1]:<br>
> Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]:<br>
><br>
> --== HOSTED ENGINE CONFIGURATION ==--<br>
><br>
> Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]:<br>
> Enter 'admin@internal' user password that will be used for accessing the Administrator Portal:<br>
> Confirm 'admin@internal' user password:<br>
> Please provide the FQDN for the engine you would like to use.<br>
> This needs to match the FQDN that you will use for the engine installation within the VM.<br>
> Note: This will be the FQDN of the VM you are now going to create,<br>
> it should not point to the base host or to any other existing machine.<br>
</div></div>> Engine FQDN: <a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">ovirtmgmt.ctcnet.com</a> <<a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">http://ovirtmgmt.ctcnet.com</a>><br>
<span class="">> Please provide the name of the SMTP server through which we will send notifications [localhost]:<br>
> Please provide the TCP port number of the SMTP server [25]:<br>
> Please provide the email address from which notifications will be sent [root@localhost]:<br>
> Please provide a comma-separated list of email addresses which will get notifications [root@localhost]:<br>
> [ INFO ] Stage: Setup validation<br>
> [WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses<br>
</span>> [WARNING] Failed to resolve <a href="http://ovirthost01.ctcnet.com" rel="noreferrer" target="_blank">ovirthost01.ctcnet.com</a> <<a href="http://ovirthost01.ctcnet.com" rel="noreferrer" target="_blank">http://ovirthost01.ctcnet.com</a>> using DNS, it can be resolved only locally<br>
<span class="">><br>
> --== CONFIGURATION PREVIEW ==--<br>
><br>
> Bridge interface : p4p1<br>
</span>> Engine FQDN : <a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">ovirtmgmt.ctcnet.com</a> <<a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">http://ovirtmgmt.ctcnet.com</a>><br>
<div><div class="h5">> Bridge name : ovirtmgmt<br>
> SSH daemon port : 22<br>
> Firewall manager : iptables<br>
> Gateway address : 10.10.19.254<br>
> Host name for web application : hosted_engine_1<br>
> Host ID : 1<br>
> Image alias : hosted_engine<br>
> Image size GB : 10<br>
> Storage connection : 10.10.19.99:/volume1/nfsstor<br>
> Console type : vnc<br>
> Memory size MB : 16384<br>
> MAC address : 00:16:3e:4c:58:c1<br>
> Boot type : disk<br>
> Number of CPUs : 4<br>
> OVF archive (for disk boot) : /data/Stor01/oVirt-Engine-Appliance-CentOS-x86_64-7-20150628.74.ova<br>
> CPU Type : model_Nehalem<br>
><br>
> Please confirm installation settings (Yes, No)[Yes]:<br>
> [ INFO ] Stage: Transaction setup<br>
> [ INFO ] Stage: Misc configuration<br>
> [ INFO ] Stage: Package installation<br>
> [ INFO ] Stage: Misc configuration<br>
> [ INFO ] Configuring libvirt<br>
> [ INFO ] Configuring VDSM<br>
> [ INFO ] Starting vdsmd<br>
> [ INFO ] Waiting for VDSM hardware info<br>
> [ INFO ] Configuring the management bridge<br>
> [ INFO ] Connected to Storage Domain<br>
> [ INFO ] Connecting Storage Pool<br>
> [ INFO ] Verifying sanlock lockspace initialization<br>
> [ INFO ] Creating VM Image<br>
> [ INFO ] Extracting disk image from OVF archive (could take a few minutes depending on archive size)<br>
> [ INFO ] Validating pre-allocated volume size<br>
> [ INFO ] Image not uploaded to data domain<br>
> [ ERROR ] Failed to execute stage 'Misc configuration': Incoherence detected in OVF file: image size 10485760000 does not match declared size 10737418240<br>
<br>
</div></div>Fabian looks like OVF xml is not matching OVA content, can you take a look?<br>
<span class=""><br></span></blockquote><div>I checked this OVF xml,size is <span style="color:rgb(80,0,80)">10485760000</span><span style="color:rgb(80,0,80)"> ,and modified the size to </span><span style="color:rgb(80,0,80)">10737418240, and recompress files to xxx.ova.but</span></div><div><span style="color:rgb(80,0,80)">still got this error!</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> [ INFO ] Stage: Clean up<br>
> [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150702023715.conf'<br>
> [ INFO ] Stage: Pre-termination<br>
> [ INFO ] Stage: Termination<br>
><br>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
><br>
</span>> 2015-07-01 18:42 GMT+08:00 Fabian Deutsch <<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a> <mailto:<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a>>>:<br>
<div><div class="h5">><br>
> ----- Original Message -----<br>
> > Hey,<br>
> > I can't update ovirt node,get this message:<br>
><br>
> From what to what Node version did you want to upgrade?<br>
><br>
> Upgrades from el6 to el7 are not supported.<br>
><br>
> - fabian<br>
><br>
> > [root@ovirthost1 Stor01]# ovirt-node-upgrade<br>
> > --iso=/data/Stor01/ISOs/ovirt-node-iso-3.5-0.999.201506302311.el7.centos.iso<br>
> > --reboot=1<br>
> > ovirt-node-upgrade.UpgradeTool: INFO Temporary Directory is:<br>
> > /data/tmpfZC2lU<br>
> > ovirt-node-upgrade.LockFile: INFO Acquiring Lock<br>
> > ovirt-node-upgrade.UpgradeTool: ERROR Error: Upgrade Failed: Command<br>
> > Failed: '('mount', '-o', 'loop', '/live/LiveOS/squashfs.img',<br>
> > '/data/tmpfZC2lU/squashfs')' []<br>
> > Traceback (most recent call last):<br>
> > File "/usr/sbin/ovirt-node-upgrade", line 362, in run<br>
> > self._extract_rootfs(self._options.iso_file)<br>
> > File "/usr/sbin/ovirt-node-upgrade", line 206, in _extract_rootfs<br>
> > squashfs_dir)<br>
> > File "/usr/sbin/ovirt-node-upgrade", line 145, in _system<br>
> > raise RuntimeError("Command Failed: '%s' %s" % (command, output))<br>
> > RuntimeError: Command Failed: '('mount', '-o', 'loop',<br>
> > '/live/LiveOS/squashfs.img', '/data/tmpfZC2lU/squashfs')' []<br>
> > ovirt-node-upgrade.UpgradeTool: INFO Running rollback hooks<br>
> > ovirt-node-upgrade.UpgradeTool: INFO rollback hooks completed<br>
> > ovirt-node-upgrade.UpgradeTool: INFO Warning:<br>
> > /data/tmpfZC2lU/rootfs/usr/libexec/ovirt-node/hooks/rollback does not exist<br>
> > ovirt-node-upgrade.UpgradeTool: INFO Upgrade Failed, Rollback Completed<br>
> > ovirt-node-upgrade.UpgradeTool: INFO Cleaning up temporary directory<br>
> > ovirt-node-upgrade.UpgradeTool: WARNING Cleanup Failed<br>
> ><br>
> ><br>
> > thanks<br>
> ><br>
> > --qiang<br>
> ><br>
</div></div>> > 2015-07-01 15:20 GMT+08:00 Fabian Deutsch <<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a> <mailto:<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a>>>:<br>
<span class="">> ><br>
> > ><br>
> > ><br>
> > > ----- Original Message -----<br>
> > > > hi fabian:<br>
> > > > I got some error message below.How can i fix this?<br>
> > > ><br>
> > ><br>
> > > Hey<br>
> > ><br>
> > > > [ ERROR ] Not enough space in the temporary directory<br>
> > > > Please specify path to a temporary directory with at least 10<br>
> > > GB<br>
> > ><br>
> > > You need more space on /tmp - At best you should have 50GB available on /<br>
> > ><br>
> > > > [WARNING] Minimum requirements for disk size not met<br>
> > ><br>
> > > The same as above<br>
> > ><br>
</span>> > > > Engine FQDN: <a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">ovirtmgmt.ctcnet.com</a> <<a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">http://ovirtmgmt.ctcnet.com</a>><br>
> > > > [WARNING] Failed to resolve <a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">ovirtmgmt.ctcnet.com</a> <<a href="http://ovirtmgmt.ctcnet.com" rel="noreferrer" target="_blank">http://ovirtmgmt.ctcnet.com</a>> using DNS, it can be<br>
<span class="">> > > > resolved only locally<br>
> > ><br>
> > > The FQDN you use should be resolvable in your network, and it seems as if<br>
> > > this<br>
> > > is not the case.<br>
> > ><br>
> > > > [ INFO ] Stage: Setup validation<br>
> > > > [WARNING] Cannot validate host name settings, reason: resolved host does<br>
> > > > not match any of the local addresses<br>
</span>> > > > [WARNING] Failed to resolve <a href="http://ovirthost1.ctcnet.com" rel="noreferrer" target="_blank">ovirthost1.ctcnet.com</a> <<a href="http://ovirthost1.ctcnet.com" rel="noreferrer" target="_blank">http://ovirthost1.ctcnet.com</a>> using DNS, it can be<br>
<span class="">> > > > resolved only locally<br>
> > ><br>
> > > Same as the previous one.<br>
> > ><br>
> > > > [ ERROR ] Failed to execute stage 'Misc configuration': Incoherence<br>
> > > > detected in OVF file: image size 10485760000 does not match declared size<br>
> > > > 10737418240<br>
> > ><br>
> > > Mh. This is a quite old bug.<br>
> > > Could yo uretry with a more recent iso from:<br>
> > > <a href="http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.5_create-iso-el7_merged/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.5_create-iso-el7_merged/</a><br>
> > ><br>
> > ><br>
> > > Greetings<br>
> > > fabian<br>
> > ><br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</span>> > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>><br>
> > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<div class=""><div class="h5">> ><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
</div></div><span class=""><font color="#888888">--<br>
Sandro Bonazzola<br>
Better technology. Faster innovation. Powered by community collaboration.<br>
See how it works at <a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a><br>
</font></span></blockquote></div><br></div></div>