Simone Tiraboschi has posted comments on this change.
Change subject: iscsi: checking image size against VG free space
......................................................................
Patch Set 9: Verified+1
Verified
[root@c65thei ~]# hosted-engine --deploy
[ INFO ] Stage: Initializing
Continuing will configure this host for serving as hypervisor and
create a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]:
[ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141111113905-g5m2lp.log
Version: otopi-1.3.0 (otopi-1.3.0-1.el6)
[ INFO ] Hardware supports virtualization
[ INFO ] Bridge ovirtmgmt already created
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
During customization use CTRL-D to abort.
Please specify the storage you would like to use (iscsi, nfs3,
nfs4)[nfs3]: iscsi
Please specify the iSCSI portal IP address: 192.168.1.125
Please specify the iSCSI portal port [3260]:
Please specify the iSCSI portal user:
Please specify the target name
(iqn.2011-03.org.example.istgt:ovirt1) [iqn.2011-03.org.example.istgt:ovirt1]:
[ INFO ] Discovering iSCSI node
[ INFO ] Connecting to the storage server
The following luns have been found on the requested target:
0 - sda - 16384MB
1 - sdb - 1024MB
2 - sdc - 1024MB
3 - sdd - 24576MB
Please specify the lun id (0, 1, 2, 3) [0]: 0
[ ERROR ] Error: device iqn.2011-03.org.example.istgt:ovirt1 has capacity of
only 16384Mb while a minimum of 20480Mb is required
Please specify the target name
(iqn.2011-03.org.example.istgt:ovirt1) [iqn.2011-03.org.example.istgt:ovirt1]:
The following luns have been found on the requested target:
0 - sda - 16384MB
1 - sdb - 1024MB
2 - sdc - 1024MB
3 - sdd - 24576MB
Please specify the lun id (0, 1, 2, 3) [0]: 3
[ INFO ] Installing on first host
Please provide storage domain name. [hosted_storage]:
Local storage datacenter name is an internal name and currently will
not be shown in engine's admin UI.Please enter local datacenter name
[hosted_datacenter]:
--== SYSTEM CONFIGURATION ==--
--== NETWORK CONFIGURATION ==--
iptables was detected on your computer, do you wish setup to
configure it? (Yes, No)[Yes]:
Please indicate a pingable gateway IP address [192.168.1.1]:
--== VM CONFIGURATION ==--
Please specify the device to boot the VM from (cdrom, disk, pxe)
[cdrom]:
The following CPU types are supported by this host:
- model_Haswell: Intel Haswell Family
- model_SandyBridge: Intel SandyBridge Family
- model_Westmere: Intel Westmere Family
- model_Nehalem: Intel Nehalem Family
- model_Penryn: Intel Penryn Family
- model_Conroe: Intel Conroe Family
Please specify the CPU type to be used by the VM [model_Haswell]:
model_Conroe
Please specify path to installation media you would like to use
[None]: /mnt/CentOS-6.5-x86_64-bin-DVD1.iso
Please specify the number of virtual CPUs for the VM [Defaults to
minimum requirement: 2]:
Please specify the disk size of the VM in GB [Defaults to minimum
requirement: 25]:
[WARNING] Not enough free space, only 19 GiB are available
Please specify the disk size of the VM in GB [Defaults to minimum
requirement: 25]: 19
[WARNING] Minimum requirements for disk size not met
Continue with specified disk size? (Yes, No)[No]:
Please specify the disk size of the VM in GB [Defaults to minimum
requirement: 25]: 19
[WARNING] Minimum requirements for disk size not met
Continue with specified disk size? (Yes, No)[No]: yes
You may specify a unicast MAC address for the VM or accept a
randomly generated default [00:16:3e:4d:fb:25]:
Please specify the memory size of the VM in MB [Defaults to minimum
requirement: 4096]:
Please specify the console type you would like to use to connect to
the VM (vnc, spice) [vnc]:
--== HOSTED ENGINE CONFIGURATION ==--
Enter the name which will be used to identify this host inside the
Administrator Portal [hosted_engine_1]:
Enter 'admin@internal' user password that will be used for accessing
the Administrator Portal:
Confirm 'admin@internal' user password:
Please provide the FQDN for the engine you would like to use.
This needs to match the FQDN that you will use for the engine
installation within the VM.
Note: This will be the FQDN of the VM you are now going to create,
it should not point to the base host or to any other existing
machine.
Engine FQDN: c65theie.localdomain
[WARNING] Failed to resolve c65theie.localdomain using DNS, it can be resolved
only locally
Please provide the name of the SMTP server through which we will
send notifications [localhost]:
Please provide the TCP port number of the SMTP server [25]:
Please provide the email address from which notifications will be
sent [root@localhost]:
Please provide a comma-separated list of email addresses which will
get notifications [root@localhost]:
[ INFO ] Stage: Setup validation
--== CONFIGURATION PREVIEW ==--
Engine FQDN : c65theie.localdomain
Bridge name : ovirtmgmt
SSH daemon port : 22
Firewall manager : iptables
Gateway address : 192.168.1.1
Host name for web application : hosted_engine_1
iSCSI Target Name :
iqn.2011-03.org.example.istgt:ovirt1
iSCSI Portal port : 3260
Host ID : 1
iSCSI LUN ID : 3
Image size GB : 19
iSCSI Portal IP Address : 192.168.1.125
iSCSI Portal user :
Console type : vnc
Memory size MB : 4096
MAC address : 00:16:3e:4d:fb:25
Boot type : cdrom
Number of CPUs : 2
ISO image (for cdrom boot) :
/mnt/CentOS-6.5-x86_64-bin-DVD1.iso
CPU Type : model_Conroe
Please confirm installation settings (Yes, No)[Yes]:
[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO ] Stage: Transaction setup
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Configuring libvirt
[ INFO ] Configuring VDSM
[ INFO ] Starting vdsmd
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Creating Volume Group
[ INFO ] Creating Storage Domain
[ INFO ] Creating Storage Pool
[ INFO ] Connecting Storage Pool
[ INFO ] Verifying sanlock lockspace initialization
[ INFO ] Creating VM Image
[ INFO ] Disconnecting Storage Pool
[ INFO ] Start monitoring domain
[ 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:
/usr/bin/remote-viewer vnc://localhost:5900
--
To view, visit http://gerrit.ovirt.org/34940
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I17f861a053f6ac38983967ffb07ecca9ff9b8de1
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <[email protected]>
Gerrit-Reviewer: Lev Veyde <[email protected]>
Gerrit-Reviewer: Nir Soffer <[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-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches