Commit Graph

271 Commits

Author SHA1 Message Date
Jarrod Johnson
daceb8d876 For newer versions of esxi for which we have selected a less vague name, ensure we remake it every time. 2013-10-21 10:44:15 -04:00
immarvin
72de3aedfb fix defect #3843 copycds complains Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 148. 2013-10-18 02:38:17 -07:00
immarvin
92b9ca4b9e fix defect #3843 copycds complains Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 148. 2013-10-18 02:24:36 -07:00
Jarrod Johnson
75bb52802e Add support for esxi5.5 2013-09-19 15:57:23 -04:00
lissav
815e2d6583 add centos6 2013-09-10 09:12:55 -04:00
jbjohnso
325b3cedd4 Fix problem with esxi detection of image template availability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 18:53:14 +00:00
jbjohnso
d652fa96fb Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:56:11 +00:00
jbjohnso
a2205b8fab Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:55:13 +00:00
jbjohnso
2702329dda Fix error in esxi plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 18:20:58 +00:00
jbjohnso
feadffbc7b Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:20:09 +00:00
jbjohnso
3f87212616 Support SAS and PV SCSI for vmware guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:02:29 +00:00
jbjohnso
60089fd7c2 Add Guest ID map for Windows 2012, 8, and ESXi itself for vmware support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 14:57:26 +00:00
jbjohnso
7606207542 Fix problem where esxi failed to honor '-n' argument in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:37 +00:00
immarvin
648140c6ad set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 08:34:33 +00:00
immarvin
9260b97282 set the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
jbjohnso
1ea24371ca Stop lazy unmounting when loopback devices are on the line...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:03 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
cjhardee
1acdee07e7 Made the unmounting lazy so it worked when in use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:03:28 +00:00
jbjohnso
8251123d26 vSphere autologin configurability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 13:42:33 +00:00
jbjohnso
60a6b2d331 Fix problem where if template passed in has parameters on a module, xCAT would consider that part of the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:57:52 +00:00
jbjohnso
ee4e786d34 Fix problem where esx.pm would do a heavy handed bailout on a table error of one node
Have xCAT try to find nodes if vCenter is indeed in play even if the alleged hypervisor is not available.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:45:52 +00:00
jbjohnso
4fed39c1e5 Fix problem where 'copyIfNewer' was actually 'copyIfOlder'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 15:16:34 +00:00
jbjohnso
f35debd190 Provide method for users without desire of xcatmod.tgz to opt out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:52:17 +00:00
immarvin
f4a7e87f32 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 06:58:09 +00:00
jbjohnso
60758604ad Fix problem with clonevm in vmware when target uses the legacy vm.storage syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 13:35:13 +00:00
jbjohnso
298b4e0e3d Fix error with how enum is passed into vsphere api in vsphere support for win2k3 specialization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:46:54 +00:00
jbjohnso
2c47c2613c Provide a default value for win2k3 cloning use with clonevm specialize
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 02:22:14 +00:00
jbjohnso
5a12985c62 Have nodeset return a more helpful message when passwd table is missing an entry for esxi when doing esxi operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:39:27 +00:00
jjhua
15618c0aad For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:00:37 +00:00
jbjohnso
ce3c323dd0 Omit a prefix= esxi boot config file if the source has one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 18:13:37 +00:00
jbjohnso
d69a39d698 Few more fixes for esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:54:47 +00:00
jbjohnso
0a4caa922b Hopefully finish off the esxi5 clonevm with 'specialization'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:36:16 +00:00
jbjohnso
14dc354333 Flesh out cloning support for windows with specialize support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 21:06:53 +00:00
jbjohnso
7806922c3e Copy in mboot.c32 from custom path if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:37 +00:00
jbjohnso
0c662e4e63 Put in draft clonevm with specialize for vsphere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 21:02:35 +00:00
jbjohnso
e5bc9b43c7 Honor addkcmdline parameter in esxi5.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 21:02:45 +00:00
jbjohnso
84152575a0 Have ks= in esxi install honor noderes.nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:51:12 +00:00
jbjohnso
020ac78e7f Be content with just a boot.cfg.<whatever>.tmpl file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:45:44 +00:00
jbjohnso
2e6ccdb68d Have esx.pm put the kernel command line argument on 'b.b00' in tmpl case. It's still not the recommended approarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:36:43 +00:00
jbjohnso
993b886f97 Recognize customized ESXi OS images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 14:23:16 +00:00
jbjohnso
83bcc20597 Revisit the 'templated' boot config based on refined requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:50:05 +00:00
jbjohnso
7d30d83c97 Support customers wishing to have boot parameters grouped into the same config file as module liste
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 14:09:49 +00:00
jbjohnso
65032f72e5 Fix problem where ESXi clone from a non-xCAT template may fail in the face of xCAT mac address management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 14:05:25 +00:00
jbjohnso
728e45e3a5 Change esxi vm creation and rinv to induce vmware to act like SMBIOS2.6 to guests.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 20:17:47 +00:00
jbjohnso
4d089d5391 ESXi 5.1 media recognition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 21:50:43 +00:00
jbjohnso
32de78952f Fix ESXi problem inducing more IO than is required to get the job done (reduces measured runtime by a bit over 66% in one case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 21:23:12 +00:00
jbjohnso
2cc9a116e6 Fix ESX missing a 'use' statement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 18:19:30 +00:00
jbjohnso
ba5b5871d8 Preserve extra datastore and = directives in vm.storage on rinv -t sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 19:53:36 +00:00
jbjohnso
d39e110af8 Finish per-node/group tftpdir for NAS mount point managed sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
lissav
b4f5b6d196 add missing checks in preproces_request that we have already been there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-03 13:27:19 +00:00