DevStack Installation Guide
DevStack Installation Guide
To download VMware Workstation, navigate to the VMware Workstation Download Center, select the appropriate version for your OS, and follow the prompts to log in and complete your profile. Then, agree to the EULA and proceed with the download . To install on a Windows host, log in as an Administrator, run the installer as an Administrator, choose typical or custom setup, and follow instructions to complete the installation. Restarting the host is required . For Linux, log in as a user with sudo privileges, change to root, navigate to the bundle's directory, and run the installer using the 'sh' command with appropriate options such as '--gtk' for GUI or '--console' for terminal-based installation. After finishing, restart the host .
DevStack should be run only on servers or virtual machines dedicated to this purpose, as it substantially changes the system during installation . A clean and minimal Linux install is necessary, with Ubuntu 18.04 being the most tested version for smoother operations . DevStack should be initiated by a non-root user with sudo privileges, potentially requiring the creation of a stack user with specific permissions .
DevStack facilitates testing and validation of OpenStack code changes by providing a live development environment with necessary components like keystone and nova pre-configured . Developers can integrate and validate changes by accessing the OpenStack Horizon dashboard or using command-line tools after sourcing 'openrc'. Additional configurations like tempest tests within '/opt/stack/tempest' allow thorough testing aligned with the specific DevStack setup .
A user can customize the VMware Workstation installation on Linux by using command line options during installation. The '--gtk' option opens the default GUI-based installer, whereas '--console' uses the terminal. The '--custom' option allows specifying installation directories and setting a hard limit for open file descriptors. The '--regular' option shows only unanswered or required installation questions. '--ignore-errors' lets installation proceed despite errors in installer scripts, although affected components might not be correctly configured. '--required' shows the license agreement only before proceeding with installation .
On Windows hosts, VMware Workstation can be started via desktop shortcuts, quick launch shortcuts, or the Start Menu under Programs . On Linux, it can be initiated from the command line with the command 'vmware &', or from the GUI System Tools menu if supported by the distribution .
To set up a proper user environment for DevStack, create a stack user with sudo privileges. This involves using the command: 'sudo useradd -s /bin/bash -d /opt/stack -m stack'. Grant this user sudo privileges without a password by appending 'stack ALL=(ALL) NOPASSWD: ALL' to the sudoers.d file using a command like 'echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack'. Log in with this user to perform installation tasks .
To resolve a 'PermissionError: Permission denied', adjust ownership with 'sudo chown -R stack:stack /opt/stack'. For an 'ERROR: cannot uninstall simplejson', use 'sudo apt purge python3-simplejson'. In case of 'KeyError: XDG_SESSION_TYPE', set the variable using 'export XDG_SESSION_TYPE=wayland' . These steps aim to correct user permissions, resolve package conflicts, and set necessary environment variables for successful installation.
VMware Workstation enhances compatibility with international keyboards through the installation of an enhanced virtual keyboard driver. This driver, included when selecting a Custom setup option during installation, provides improved handling for keyboards with extra keys and various international layouts .
Having a My VMware profile is crucial for downloading VMware Workstation as it provides access to downloading, profile management, and support resources. Users must log in, verify that their profile is complete, and enter all mandatory information. This ensures seamless download experiences and complies with VMware procedures .
DevStack helps bring up a complete OpenStack environment using scripts that update to the latest master git versions, serving as a development environment and basis for OpenStack's functional testing . It installs several components essential for OpenStack operations, including keystone, glance, nova, placement, cinder, neutron, and horizon, thereby enabling management of VMs, networks, volumes, and images .