Skip to content

[BUG] - no password set on default install (one-liner) #40

Description

@zoorpha

Summary

bootstrap is not working because of password is not set

951ece9299919b2fd3741b9fc8594c6424c59b25a9494604a9ebaf7497e019f7
[INFO] Horizon service enabled.
[INFO] Waiting for O3K to start (up to 30s)...
[INFO] Running bootstrap (network + CirrOS image + test VM)...
[INFO] Set O3K_NO_BOOTSTRAP=true to skip.
[bootstrap] Cannot bootstrap: no admin password. Set O3K_ADMIN_PASSWORD or ensure /var/lib/o3k/initial-password exists.
[WARN] Bootstrap encountered errors — run manually: o3k-bootstrap

════════════════════════════════════════════════
O3K v0.2.11 installed and running
════════════════════════════════════════════════
Keystone: http://localhost:35357/v3
Nova: http://localhost:8774/v2.1
Glance: http://localhost:9292/v2
Horizon: http://192.168.178.101:8080 (admin dashboard)
────────────────────────────────────────────────
Resources:
openstack network list
openstack image list
openstack server list

OpenStack CLI:

source /etc/o3k/o3k-admin-openrc
openstack token issue
openstack server list
openstack hypervisor list

════════════════════════════════════════════════

Environment

  • O3K version / commit: (output of o3k --version or git rev-parse HEAD)
  • Operating system: (e.g. Ubuntu 24.04, macOS 14.5)
  • Go version: (output of go version)
  • Service mode: stub / real (which services? nova.libvirt_mode, cinder.storage_mode, …)
  • Database backend: SQLite / PostgreSQL
  • Client: OpenStack CLI / Terraform / Horizon / curl / other

Reproduction

Minimal steps to reproduce. Include exact commands and config snippets.

# example
openstack server create --flavor m1.small --image cirros test-vm

Expected behavior

What you expected to happen, ideally with a reference to the OpenStack API spec or a working OpenStack deployment.

Actual behavior

What actually happened. Include full error output, response bodies, and any relevant log lines.

# logs / error output

Configuration

Relevant config/o3k.yaml excerpts (redact secrets).

# excerpt

Additional context

Anything else that helps — workarounds tried, related issues, suspected component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions