Archive for March, 2015

Yak Shaving: VMWare Update Edition.

0
  1. Review nessus report, see Samba needs patching.
  2. Patch Samba.
  3. While retesting, I notice ESX has a patch that needs implementing.
  4. Find out they released 6.0 today. Rather than upgrading to 5.5.1 then 6.0, I look into upgrading directly to 6.0
  5. While looking to implement that I research updatemanager, which I can’t use since I don’t have a windows server to install it on.
  6. So I look at doing it manually, and find out that I need to upgrade vcenter first, since vcenter can’t manage esx hosts that are a higher version.
  7. I find https://www.youtube.com/watch?v=QXOkUVhIOA8 which seems to be exactly what I need.
  8. Spend half an hour looking for OVA file similar to what was used for 5.5. It does not exist.
  9. identify vcenter appliance download for 6.0. Download 3 gig ISO. Not an exact match, but close.
  10. mount ISO locally. Setup file says “vCenter Server Appliance installer cannot run on Linux. It must be run on Windows.”
  11. Spend half an hour searching for the friggen OVA.
  12. Someone clues me in that “vcsa/vmware-vcsa” on the iso is actually the OVA file. Copy that from readonly ISO to local disk, rename it as vmware-vsca-6.0.ova
  13. go to vcenter server web client, navigate to datastore.
  14. See coworker set off alarms on one datastore for being overused. Need to look into that later.
  15. Find out that I need to install a browser plugin to upload a friggen file to their web interface.
  16. Download plugin, install it.
  17. plugin doesn’t appear, realize that it installed in the wrong place.
  18. research how to uninstall the stupid plugin, then reinstall it to the right place. Still doesn’t show.
  19. Someone suggests using OVAtool. I don’t even remember what that does or if it’ll even help me. I don’t know if it works on linux, if I can install it on my workstation, or where to even find it.
  20. restart chrome; lose half of my tabs when the second window doesn’t reappear. plugin still doesn’t work.

Day two:

  1. retry chrome plugin, it fails to be detected again.
  2. research to find out that the plugin interface that VMware uses is deprecated, and their plugin only works with archaic versions of chrome
  3. Give up, load windows VM
  4. download the *deprecated* vsphere client for windows
  5. attempt to install vsphere. Installer disappears.
  6. try reinstalling, receive error that installer is in progress, then fails, then receive another failure message regarding .net 3.5
  7. installer refuses to run because an installer is already running.
  8. reboot windows
  9. run installer, installer disappears. Task manager shows background process “windows modules installer worker” using 99% of my disk bandwidth. maybe it’s still working?
  10. after 10 minutes, installer reappears. entire install takes 25 minutes.
  11. Upload OVA to datastore1 so it can be deployed.
  12. Attempt to deploy the OVA template through the web interface. Notified that “The CLient Integration Plugin must be installed to enable OVF functionality.”  (note OVA and OVF are interchangeable at this point.)
  13. Unable to COPY said text from web interface because hell, why not. Text is not selectable; maybe it’s an image?
  14. Attempt to create a new virtual machine from OVA template. Datastores inaccessible.
  15. Attempt to deploy OVA from windows client. Am unable to deploy from datastore (i.e. I must reupload 1.8 gig file again).
  16. Upload template, click through menus and get a brand new “fill in the blank” screen that I don’t recall seeing before. Attempt to fill it out to the best of my ability.
  17. Start Appliance, fails due to password needing to be reset. Web interface does not respond.
  18. After 20 minutes of digging, I delete it.
  19. start over, leaving the form empty.
  20. Similar Message: “Root password is not set. vmdir.password is not set; aborting installation.” Web interface does not respond.
  21. review my notes from the 5.5 install.
  22. dry run installation of 5.5 OVA file;  existing form has 5 fields.; Hostname is the only one really required.
  23. 6.0 OVA has 46 fields; It is unclear how many are required. Perhaps all of them.
    1. if host network mode is set to DHCP, ip address and host network prefix are not required. Default gateway, dns servers, and host identity don’t state if they are required.
    2. SSO Configuration talks about a directory password for replication partner. Is this the 5.5 instance I’m planning to mirror? I don’t think so- I’m pretending this is a stand-alone instance so I can follow the migration video later, which presumes the new instance is already installed but not configured. Setting temporary password for administrator.
    3. leaving the rest of the SSO configuration default
    4. leave database config set to Embedded.
    5. Setting root password in System Configuration (which is different than the Administrator account password set 3 steps ago).
    6. Leaving upgrade configuration blank.
    7. Leave networking properties blank
  24. After finally getting the vcenter 6.0.0 installed, it turns out 6.0.0 no longer uses port 5480, as seen in the first video, which was the only one that came up when searching for upgrades yesterday.
  25. Because, why would the upgrade process from 5.1 to 5.5 be the same as 5.5 to 6.0, right?
  26. Start searching again, find this video which appears to cover what I need.
  27. I install the vmware client integration plugin from the ISO I downloaded previously on the windows VM (which is nearly out of space at this point).
  28. run upgrader from ISO.
  29. Walk through all the options and get to step 4 before getting the message: “vCenterServer FQDN vcenter.foo.com does not match DNS servers “localhost.localdom,localhost” and ip addresses “192.168.2.220” from VC certificate. Examine the VC certificate and make sure it is valid and point to vCenter Server FQDN.”
  30. Which if I’m reading correctly, means that before I can upgrade, I have to install a properly signed certificate on 5.5 for…. I’m gonna guess the :5480 interface, which may be a totally different cert than the one for :9443.
  31. research and find that I can circumvent this by setting the cert regeneration flag in the :5480 interface and rebooting vcenter.
  32. try the upgrade tool again
  33. realize 3 seconds after clicking OK that I just started a process of unknown length at 2pm on a friday.
  34. process finishes at 3pm, warns me that my license is about to expire for vcenter(!)
  35. re-enter license, am told it is no longer valid.
  36. panic as I realize our license is for vcenter 5, not vcenter 6.
  37. research and am told that it’s a simple upgrade procedure in the vmware portal to get a new license key for 6.0
  38. go through motions, import new key, everything is awesome.

 

I owe a tremendous debt of gratitude  towards the guys in #VMware on freenode. without their assistance, I’d probably be under my desk sobbing right now.

 

MONDAY: I’ll continue by upgrading the esx hosts. I’m sure it’ll go smoothly.

 

wacom Intuos tablet crashes Xorg in Kubuntu

0

every 1 in 10 times I hook up my Wacom Intuos to Kubuntu, xorg crashes with this lovely message. It’s very irksome.

Linux linwider 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Kubuntu 14.10

xsetwacom –list devices
Wacom Intuos PT S Pen stylus id: 9 type: STYLUS
Wacom Intuos PT S Finger touch id: 10 type: TOUCH
Wacom Intuos PT S Pen eraser id: 16 type: ERASER
Wacom Intuos PT S Finger pad id: 17 type: PAD

 

Bus 001 Device 005: ID 056a:0302 Wacom Co., Ltd

[180969.708] (II) config/udev: Adding input device Wacom Intuos PT S Pen (/dev/input/mouse2)
[180969.708] (II) No input driver specified, ignoring this device.
[180969.708] (II) This device may have been added with another device file.
[180969.710] (II) config/udev: Adding input device Wacom Intuos PT S Finger (/dev/input/event16)
[180969.710] (**) Wacom Intuos PT S Finger: Applying InputClass "evdev touchpad catchall"
[180969.710] (**) Wacom Intuos PT S Finger: Applying InputClass "touchpad catchall"
[180969.710] (**) Wacom Intuos PT S Finger: Applying InputClass "Default clickpad buttons"
[180969.710] (**) Wacom Intuos PT S Finger: Applying InputClass "Wacom class"
[180969.710] (II) Using input driver 'wacom' for 'Wacom Intuos PT S Finger'
[180969.710] (**) Wacom Intuos PT S Finger: always reports core events
[180969.710] (**) Option "Device" "/dev/input/event16"
[180969.710] (EE) Wacom Intuos PT S Finger: Invalid type 'stylus' for this device.
[180969.710] (EE) Wacom Intuos PT S Finger: Invalid type 'eraser' for this device.
[180969.710] (EE) Wacom Intuos PT S Finger: Invalid type 'cursor' for this device.
[180969.710] (II) Wacom Intuos PT S Finger: type not specified, assuming 'touch'.
[180969.710] (II) Wacom Intuos PT S Finger: other types will be automatically added.
[180969.710] (--) Wacom Intuos PT S Finger touch: maxX=4096 maxY=4096 maxZ=0 resX=26000 resY=43000 
[180969.710] (II) Wacom Intuos PT S Finger touch: hotplugging dependent devices.
[180969.710] (EE) Wacom Intuos PT S Finger touch: Invalid type 'stylus' for this device.
[180969.710] (EE) Wacom Intuos PT S Finger touch: Invalid type 'eraser' for this device.
[180969.710] (EE) Wacom Intuos PT S Finger touch: Invalid type 'cursor' for this device.
[180969.710] (II) Wacom Intuos PT S Finger touch: hotplugging completed.
[180969.760] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input46/event16"
[180969.760] (II) XINPUT: Adding extended input device "Wacom Intuos PT S Finger touch" (type: TOUCH, id 14)
[180969.760] (**) Wacom Intuos PT S Finger touch: (accel) keeping acceleration scheme 1
[180969.760] (**) Wacom Intuos PT S Finger touch: (accel) acceleration profile 0
[180969.760] (**) Wacom Intuos PT S Finger touch: (accel) acceleration factor: 2.000
[180969.760] (**) Wacom Intuos PT S Finger touch: (accel) acceleration threshold: 4
[180969.760] (**) Wacom Intuos PT S Finger pad: Applying InputClass "evdev touchpad catchall"
[180969.761] (**) Wacom Intuos PT S Finger pad: Applying InputClass "touchpad catchall"
[180969.761] (**) Wacom Intuos PT S Finger pad: Applying InputClass "Default clickpad buttons"
[180969.761] (**) Wacom Intuos PT S Finger pad: Applying InputClass "Wacom class"
[180969.761] (II) Using input driver 'wacom' for 'Wacom Intuos PT S Finger pad'
[180969.761] (**) Wacom Intuos PT S Finger pad: always reports core events
[180969.761] (**) Option "Device" "/dev/input/event16"
[180969.761] (**) Option "Type" "pad"
[180969.772] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input46/event16"
[180969.772] (II) XINPUT: Adding extended input device "Wacom Intuos PT S Finger pad" (type: PAD, id 15)
[180969.772] (**) Wacom Intuos PT S Finger pad: (accel) keeping acceleration scheme 1
[180969.772] (**) Wacom Intuos PT S Finger pad: (accel) acceleration profile 0
[180969.772] (**) Wacom Intuos PT S Finger pad: (accel) acceleration factor: 2.000
[180969.772] (**) Wacom Intuos PT S Finger pad: (accel) acceleration threshold: 4
[180969.773] (II) config/udev: Adding input device Wacom Intuos PT S Pen (/dev/input/event15)
[180969.773] (**) Wacom Intuos PT S Pen: Applying InputClass "evdev tablet catchall"
[180969.773] (**) Wacom Intuos PT S Pen: Applying InputClass "Wacom class"
[180969.773] (II) Using input driver 'wacom' for 'Wacom Intuos PT S Pen'
[180969.773] (**) Wacom Intuos PT S Pen: always reports core events
[180969.773] (**) Option "Device" "/dev/input/event15"
[180969.773] (II) Wacom Intuos PT S Pen: type not specified, assuming 'stylus'.
[180969.773] (II) Wacom Intuos PT S Pen: other types will be automatically added.
[180969.773] (--) Wacom Intuos PT S Pen stylus: using pressure threshold of 27 for button 1
[180969.773] (--) Wacom Intuos PT S Pen stylus: maxX=15200 maxY=9500 maxZ=1023 resX=100000 resY=100000 tilt=enabled
[180969.773] (II) Wacom Intuos PT S Pen stylus: hotplugging dependent devices.
[180969.773] (EE) Wacom Intuos PT S Pen stylus: Invalid type 'cursor' for this device.
[180969.773] (EE) Wacom Intuos PT S Pen stylus: Invalid type 'touch' for this device.
[180969.773] (EE) Wacom Intuos PT S Pen stylus: Invalid type 'pad' for this device.
[180969.773] (II) Wacom Intuos PT S Pen stylus: hotplugging completed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x7fb0bba1ce96]
(EE) 1: /usr/bin/X (0x7fb0bb866000+0x1bb099) [0x7fb0bba21099]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fb0b959a000+0x36eb0) [0x7fb0b95d0eb0]
(EE) 3: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0x103c0) [0x7fb0afee03c0]
(EE) 4: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0xe00d) [0x7fb0afede00d]
(EE) 5: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0x62cf) [0x7fb0afed62cf]
(EE) 6: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0x650e) [0x7fb0afed650e]
(EE) 7: /usr/bin/X (0x7fb0bb866000+0x95638) [0x7fb0bb8fb638]
(EE) 8: /usr/bin/X (0x7fb0bb866000+0xbfcc9) [0x7fb0bb925cc9]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (0x7fb0b959a000+0x36eb0) [0x7fb0b95d0eb0]
(EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (close+0x2d) [0x7fb0b968679d]
(EE) 11: /usr/bin/X (xf86CloseSerial+0x21) [0x7fb0bb925521]
(EE) 12: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0x5c25) [0x7fb0afed5c25]
(EE) 13: /usr/lib/xorg/modules/input/wacom_drv.so (0x7fb0afed0000+0x9c79) [0x7fb0afed9c79]
(EE) 14: /usr/bin/X (0x7fb0bb866000+0xa4948) [0x7fb0bb90a948]
(EE) 15: /usr/bin/X (0x7fb0bb866000+0xbb5b9) [0x7fb0bb9215b9]
(EE) 16: /usr/bin/X (0x7fb0bb866000+0xbb8f8) [0x7fb0bb9218f8]
(EE) 17: /usr/bin/X (WakeupHandler+0x6b) [0x7fb0bb8c1f1b]
(EE) 18: /usr/bin/X (WaitForSomething+0x1c7) [0x7fb0bba1a247]
(EE) 19: /usr/bin/X (0x7fb0bb866000+0x56fe1) [0x7fb0bb8bcfe1]
(EE) 20: /usr/bin/X (0x7fb0bb866000+0x5b3d6) [0x7fb0bb8c13d6]
(EE) 21: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fb0b95bbec5]
(EE) 22: /usr/bin/X (0x7fb0bb866000+0x4576e) [0x7fb0bb8ab76e]
(EE) 
(EE) Segmentation fault at address 0xa9a8
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
at http://wiki.x.org
for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
Go to Top