Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34001

Add option to set MAC-address to "manual"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • vsphere-cloud-plugin
    • Jenkins ver. 1.652
      vsphere-cloud-plugin 2.12
      Linux Red Hat 6.7
      Oracle java version "1.7.0_95"
      vSphere 5.5u3 / ESX 5.5

      When trying to edit a network adapter for a newly uploaded template VM with a manual MAC address, using "Reconfigure VM" --> "Edit NIC" --> "Edit", the mac-address is set properly but the MAC-address in vSphere still shows "automatic" for the interface instead of manual. We already tried altering the VMX before uploading it to vSphere, but vSphere wont allow it and sets the deployed image back to automatic.

      Since we use manual DHCP with pre-configured MAC-addresses, the MAC-address should be set to manual. When we clone the specific template and set a unique mac-address using the vsphere plugin this also works fine, but when the VM is booted vSphere throws a:

      Power On virtual machine
      <hostname>
      00:50:56:00
      :38:41 is not
      a valid VPX-
      assigned
      Ethernet
      address.
      View details...

      it works perfectly when we set the template to manual, give it a dummy mac-address and after cloning set the unique mac-address in the same way. I think the vsphere plugin should be able to flip the interface to manual when setting the static mac-address.

            jswager1 Jason Swager
            lvlie Leon Vliegenthart
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: