Manually reset the state of an instance

If an instance gets stuck in an intermediate state (e.g., “deleting”), you can manually reset the state of an instance using the nova reset-state command. This will reset it to an error state, which you can then delete. For example: $ nova reset-state c6bbbf26-b40a-47e7-8d5c-eb17bf65c485 $ nova delete c6bbbf26-b40a-47e7-8d5c-eb17bf65c485 You can also use the –active to force the instance back […]

Common Errors and Fixes for OpenStack Compute

The Launchpad Answers site offers a place to ask and answer questions, and you can also mark questions as frequently asked questions. Credential errors, 401, 403 forbidden errors A 403 forbidden error is caused by missing credentials. Through current installation methods, there are basically two ways to get the novarc file. The manual method requires […]

LTS and Release Cycle for Ubuntu

LTS is an abbreviation for “Long Term Support”. We produce a new Ubuntu Desktop and Ubuntu Server release every six months [diagram below]. That means you’ll always have the latest and greatest applications that the open source world has to offer. Ubuntu is designed with security in mind. You get free security updates for at […]

Windows command line power control

While this is a Linux forum this came in REALLY handy so what the heck 🙂 Frustratingly hidden away, windows command for putting the machine into Hibernate and / or standby are hidden away in the api under the powrprof.dll library.   Shutdown %windir%\System32\shutdown.exe -s Reboot %windir%\System32\shutdown.exe -r Logoff %windir%\System32\shutdown.exe -l Standby %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby Hibernate %windir%\System32\shutdown.exe -h     OR […]

Permanently set hostname in Ubuntu

Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/ One can edit the file /etc/hostname and change the hostname and then run: /etc/init.d/ start Update /etc/hosts ip respectively ( leave the localhost entry untouched) Steps: sudo vi […]

Installing SNMP on Centos 6.x

Installing SNMP daemon and tools: As root yum -y install net-snmp.i686 yum -y install net-snmp-utils Once these are installed start the snmp daemon: /etc/init.d/snmpd start chkconfig snmpd on   This is just the basic install but testing it : snmpwalk -v 1 -c public -O e For production servers it is advisable to at least […]