Created
September 21, 2017 21:54
-
-
Save bby-bishopclark/aed5e55753fe92a30c3047acdda8321d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-*- mode: compilation; default-directory: "~/chef-repo/knife/test/" -*- | |
Compilation started at Thu Sep 21 12:04:53 | |
cd ~/chef-repo/knife/test ; box=tstel7-01; knife vsphere vm delete ${box} -P ; knife vsphere vm clone ${box} -N ${box} --chostname ${box} --template centos7-01 -f Templates --ccpu 1 --cdnsips 10.21.9.210 --cdomain test.domain.com --cgw 10.53.9.254 --cips 10.53.8.46/24 --cram 2 --ccorespersocket 2 --cvlan 'VLAN 908' --annotation 'EL7 host' --datastore data31 --ssh-user temp --ssh-password temp --start --node-ssl-verify-mode none --bootstrap --bootstrap-ipv4 -r all-base -VV | |
Deleted virtual machine tstel7-01 | |
Deleted node tstel7-01 | |
Deleted client tstel7-01 | |
DEBUG: value for config item datastore: data31 | |
DEBUG: value for config item datastorecluster: | |
DEBUG: value for config item customization_macs: auto | |
DEBUG: value for config item chef_node_name: tstel7-01 | |
DEBUG: value for config item vsphere_host: vcs01 | |
DEBUG: value for config item vsphere_path: /sdk | |
DEBUG: value for config item vsphere_port: 443 | |
DEBUG: value for config item vsphere_nossl: | |
DEBUG: value for config item vsphere_user: domain\me | |
DEBUG: value for config item vsphere_pass: MASKED | |
DEBUG: value for config item vsphere_pass: MASKED | |
DEBUG: value for config item vsphere_pass: MASKED | |
DEBUG: value for config item vsphere_insecure: true | |
DEBUG: value for config item proxy_host: | |
DEBUG: value for config item proxy_port: | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
DEBUG: value for config item folder: Templates | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
DEBUG: value for config item linked_clone: | |
DEBUG: value for config item host: | |
DEBUG: value for config item resource_pool: Test | |
DEBUG: value for config item resource_pool: Test | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
DEBUG: value for config item linked_clone: | |
DEBUG: value for config item datastore: data31 | |
DEBUG: value for config item datastore: data31 | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
DEBUG: value for config item datastorecluster: | |
DEBUG: value for config item thin_provision: | |
DEBUG: value for config item mark_as_template: | |
DEBUG: value for config item annotation: EL7 host | |
DEBUG: value for config item annotation: EL7 host | |
DEBUG: value for config item customization_cpucount: 1 | |
DEBUG: value for config item customization_cpucount: 1 | |
DEBUG: value for config item customization_corespersocket: 2 | |
DEBUG: value for config item customization_corespersocket: 2 | |
DEBUG: value for config item customization_memory: 2 | |
DEBUG: value for config item customization_memory: 2 | |
DEBUG: value for config item customization_memory_reservation: | |
DEBUG: value for config item customization_macs: auto | |
DEBUG: value for config item customization_ips: 10.53.8.46/24 | |
DEBUG: value for config item customization_sw_uuid: | |
DEBUG: value for config item customization_vlan: VLAN 908 | |
DEBUG: value for config item customization_vlan: VLAN 908 | |
DEBUG: value for config item customization_sw_uuid: | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
DEBUG: value for config item customization_sw_uuid: | |
DEBUG: value for config item customization_macs: auto | |
DEBUG: value for config item customization_spec: | |
DEBUG: value for config item disable_customization: false | |
DEBUG: value for config item customization_dns_ips: 10.21.9.210 | |
DEBUG: value for config item customization_dns_ips: 10.21.9.210 | |
DEBUG: value for config item customization_dns_suffixes: test.domain.com | |
DEBUG: value for config item customization_dns_suffixes: test.domain.com | |
DEBUG: value for config item customization_gw: 10.53.9.254 | |
DEBUG: Identified os as linux. | |
DEBUG: value for config item customization_domain: test.domain.com | |
DEBUG: value for config item customization_domain: test.domain.com | |
DEBUG: value for config item customization_plugin: | |
DEBUG: value for config item vsphere_dc: Test Datacenter | |
Cloning template centos7-01 to new VM tstel7-01 | |
VirtualMachineCloneSpec( | |
config: VirtualMachineConfigSpec( | |
annotation: "EL7 host", | |
deviceChange: [VirtualDeviceConfigSpec( | |
device: VirtualVmxnet3( | |
addressType: "assigned", | |
backing: VirtualEthernetCardNetworkBackingInfo( | |
deviceName: "VLAN 908", | |
network: Network("network-42") | |
), | |
connectable: VirtualDeviceConnectInfo( | |
allowGuestControl: true, | |
connected: false, | |
startConnected: true, | |
status: "untried" | |
), | |
controllerKey: 100, | |
deviceInfo: Description( | |
label: "Network adapter 1", | |
summary: "VLAN 900" | |
), | |
key: 4000, | |
macAddress: "00:50:56:96:6f:8d", | |
slotInfo: VirtualDevicePciBusSlotInfo( pciSlotNumber: 192 ), | |
unitNumber: 7, | |
wakeOnLanEnabled: true | |
), | |
operation: "edit" | |
)], | |
memoryMB: 2048, | |
numCPUs: "1", | |
numCoresPerSocket: "2" | |
), | |
customization: CustomizationSpec( | |
globalIPSettings: CustomizationGlobalIPSettings( | |
dnsServerList: ["10.21.9.210"], | |
dnsSuffixList: ["test.domain.com"] | |
), | |
identity: CustomizationLinuxPrep( | |
domain: "test.domain.com", | |
hostName: CustomizationFixedName( name: "tstel7-01" ) | |
), | |
nicSettingMap: [CustomizationAdapterMapping( | |
adapter: CustomizationIPSettings( | |
gateway: ["10.53.9.254"], | |
ip: CustomizationFixedIp( ipAddress: "10.53.8.46" ), | |
subnetMask: "255.255.255.0" | |
) | |
)] | |
), | |
location: VirtualMachineRelocateSpec( | |
datastore: Datastore("datastore-141"), | |
pool: ResourcePool("resgroup-27") | |
), | |
powerOn: false, | |
template: false | |
) | |
Finished creating virtual machine tstel7-01 | |
DEBUG: value for config item customization_plugin: | |
DEBUG: value for config item mark_as_template: | |
DEBUG: value for config item power: true | |
Powered on virtual machine tstel7-01 | |
DEBUG: value for config item bootstrap: true | |
DEBUG: value for config item ssh_port: 22 | |
DEBUG: value for config item bootstrap_protocol: | |
Waiting for network interfaces to become available... | |
Found address fe80::250:56ff:fe99:f85e | |
Waiting for a valid IPv4 address... | |
DEBUG: value for config item bootstrap_nic: 0 | |
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/knife-vsphere-2.0.0/lib/chef/knife/vsphere_vm_clone.rb:427:in `ipv4_address': undefined method `origin' for nil:NilClass (NoMethodError) | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/knife-vsphere-2.0.0/lib/chef/knife/vsphere_vm_clone.rb:436:in `guest_address' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/knife-vsphere-2.0.0/lib/chef/knife/vsphere_vm_clone.rb:413:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:442:in `block in run_with_pretty_exceptions' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/local_mode.rb:44:in `with_server_connectivity' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:441:in `run_with_pretty_exceptions' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:219:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/application/knife.rb:156:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/bin/knife:25:in `<top (required)>' | |
from /usr/bin/knife:263:in `load' | |
from /usr/bin/knife:263:in `<main>' | |
Compilation exited abnormally with code 1 at Thu Sep 21 12:06:11 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment