Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Stuffs from real IT system ADMINISTRATORS world and my LAB

Ansible AWX installation error docker-compose run --rm --service-ports task awx-manage migrate --no-input

This was another error I saw while deploying Ansible AWX on ubuntu linux. 

Ansible AWX installation error Cannot have both the docker-py and docker python modules
Install Ansible AWX Tower on Ubuntu Linux

TASK [local_docker :  Run migrations in task container]
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker-compose run --rm --service-ports task awx-manage migrate --no-in…

Read more

Ansible AWX installation error Cannot have both the docker-py and docker python modules

While installing Ansible AWX on Ubuntu I was receiving below error, while installing Ansible AWX it was giving below error.

TASK [local_docker : Remove AWX containers before migrating postgres so that the old postgres container does not get used] ***********************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Cannot have both the docker-py and docker python mod…

Read more

Install Ansible AWX Tower on Ubuntu Linux

Ansible is a software tool that offers simple but powerful automation for cross-platform operating systems and computer support. It is mainly planned for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly everything a systems administrator does on a weekly or daily basis…

Read more

Install kubectl.exe on windows using PowerShell

I was testing kubernetes in my environment and wanted to deploy kubectl.exe tool on couple of my colleagues system, which I can install or update easily remotly. For this I have written small script which will download latest version of kubectl.exe and set a Environment variable for the same. You can find latest version of kubectl here - https://storage.googleapis.com/kubernetes-release/release/st…

Read more

Forward vCenter Server Appliance logs to syslog server

Using Syslog server to forward the logs from vCenter is essential and best practice, forwarding logs to syslog server should always be in your configuration checklist. This is also a automated best way to ensure all the logs are streamed. Collected logs are used later for better troubleshooting vCenter server related issues incase of vCenter is failed. This also achieve the goal of centralizing vC…

Read more

VMware vCenter Server Management Exception in invoking authentication handler user password expired

While logging to vCenter VAMI portal (VMware vCenter Server Management Port 5480), I was receiving below error message with my root login.

Exception in invoking authentication handler User password expired.

This issue is due to the root password for VAMI portal is expired. Although you can still login through SSH. Check Enable or disable SSH on VMWare vCenter Server Appliance (VCSA) and E…

Read more

VMware LifeCycle Manager import updates bundle and patch ESXi server

With VMware vCenter version 7 Lifecyle Management is greatly improved as with new name lifecycle manager with new features (formerly VUM [VMware Update manager]). The new innovations for lifecycle management in vSphere 7 make it easy for customers to have consistent and up-to-date systems. The major lifecycle management improvements in vSphere 7 are vCenter Server Profiles, Update Planner and vSph…

Read more

How to update a patch on an ESXi host via command line

When it comes to upgrade/update patches or ESXi version my preferred method is VMware Lifecycle manager / VMware update manager vum. But there are scenarios or issues while updating ESXi using VUM / LifeCyle manager or also this procedure helps if ESXi server is standalone and not managed by vCenter server. 

Source KB: https://kb.vmware.com/s/article/2008939 & VMware LifeCycle Manager im…

Read more

VMware LifeCycle Manager There are conflicts from the patches selected for staging or remediation

I was testing ESXi patching through Lifecycle Manager/VUM (Vmware Update Manager). While remediating patch bundle on ESXi server, there was electricity issue and my Esxi server and vCenter server got powered off abruptly in the middle of update. After powering on the vCenter and Esxi server I tried to to repeat process Remediating / Staging patch on the Esxi. I was receiving below error.

The…

Read more

VMware WorkStation error This Virtual Machine appears to be in use

Recently my Windows OS crashed after some electricity issues where VMware WorkStation was installed. After powering on my lab servers again I was not able to Power On virtual machines on the VMware WorkStation and it was giving below error.

This virtual machine appears to be in use.
If this virtual machine is not in use, press the "Take Ownership" button to obtain ownership of it. Otherwise, …

Read more

View older posts »

Page Views

4509289

The script awesome except one thing:
The BasicHtmlWebResponseObject does not have method or property named "AllElements" (see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.basichtmlwebresponseobject?view=powershellsdk-7.0.0).
And this fact ruines everything below the 5th string of this script.

you saved my bacon with this, thank you!

Same error happened with me during installation of vCenter 6.7 but entries of my server are present in both forward lookup as well as in reverse lookup, cmd is resolving server with both IP and Hostname. Can't seem to resolve this issue, I have tried installation multiple times with local and domain accounts but no luck.

Bruddah.. this is awesome, thanks for making life easier for us small time IT people..

Follow me on Blogarama