-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Every failure listed here was hit while building this lab, not copied from a manual.
RequestDisallowedByPolicy: Resource 'devstack' was disallowed by policy
An Azure Policy restricts what your subscription may create. The message lists
the allowed sizes. Pick a Dv3 or later from that list, and switch the OS disk
to StandardSSD_LRS when premium disks are refused too.
ValueError: invalid literal for int() with base 10: 'GzDjuJJ'
The password contains a character that breaks a URL. DevStack injects it into
rabbit://user:PASSWORD@host, and a / makes the parser read part of the
password as a port number.
Generate a URL safe one:
openssl rand -hex 24make preflight now refuses anything that is not alphanumeric.
DevStack has no partial rollback. Always wipe before retrying:
make reset
make installAfter three failures, destroy the VM and start over. It is faster than debugging a half built stack.
chmod: invalid mode: 'A+user:stack:rx:allow'
The acl package is missing on the target. Ansible falls back to a chmod
syntax that does not exist on Linux. The playbook installs acl for this
reason.
The catalog points at the private address of the host:
openstack catalog list # http://10.0.0.4/identityAuthentication works because it goes straight to auth_url, but every call
after it resolves an unreachable address and waits forever. Run OpenStack
commands on the host, which is what the scripts do.
xx aborted
make swallows stdin, so a plain read gets an empty answer. The scripts read
from /dev/tty instead. In a runner with no terminal at all, pass YES=1.
Terraform returns as soon as Nova reports ACTIVE, well before CirrOS has
started sshd. Wait a minute, or let make demo retry for you.
To see the boot as if you were in front of the screen:
openstack console log show web-01 | tail -20That log also prints the CirrOS default password, which is only needed for the VNC console since SSH uses your key.
Expected. The security group allows TCP 22 and 80, not ICMP. It is a good demonstration that the firewall does its job.
Memory. 8 GB is DevStack's floor, and the OOM reaper takes the process during the pip and MySQL phases. The playbook adds a 4 GB swap file and disables Cinder for this reason.
free -h # on the host, during the run