[Install OpenStack in charm-deployment-guide] juju deploy commands require --base

Bug #2052975 reported by Brandon Castillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Teodora Mihoc
OpenStack Charms Deployment Guide
Invalid
Undecided
Unassigned

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [x] This doc is inaccurate in this way: Does not deploy juju charms
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.

While following the guide I found that it was necessary to include --base ubuntu@22.04 or else the charm could not be found.

# In guide
juju deploy --to lxd:4 --channel 2023.2/stable --config ncc.yaml nova-cloud-controller

# Fix
juju deploy --to lxd:4 --channel 2023.2/stable --base ubuntu@22.04 --config ncc.yaml nova-cloud-controller

Here's an example of the error: https://pastebin.ubuntu.com/p/GdgmBVmkMM/

-----------------------------------
Release: on 2023-12-05 16:11:49
SHA: 47d65269e2fabc41f5672f672d71582b36f6c60d
Source: https://opendev.org/openstack/charm-deployment-guide/src/deploy-guide/source/install-openstack.rst
URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/2023.2/install-openstack.html

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Brandon

Thanks for your bug report. I'd be curious what your base/series in your model defaults is, as it ought not to be necessary to specify the base if the model default is 22.04 (jammy series).

Changed in charm-deployment-guide:
status: New → Incomplete
Revision history for this message
Brandon Castillo (bran-castillo) wrote :

Hi Alex

I do have the default series set to jammy.

juju model-config default-series
jammy

I also realized the following information from snap list may be useful.

juju 3.3.1 25912 3.3/stable canonical✓ -
lxd 5.0.3-ffb17cf 27037 5.0/stable/… canonical✓ -
maas 3.4.0-14321-g.1027c7664 32469 3.4/stable canonical✓ -
maas-test-db 14.2-29-g.ed8d7f2 148 3.4/stable canonical✓ -
openstackclients xena 278 latest/stable canonical✓ -

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi

For completeness this is the info (from Juju for the charm) on channel 2023.2/stable:

juju info nova-cloud-controller --channel 2023.2/stable
name: nova-cloud-controller
publisher: OpenStack Charmers
summary: OpenStack Compute - Nova cloud controller service
description: |
  OpenStack is a reliable cloud infrastructure. Its mission is to produce
  the ubiquitous cloud computing platform that will meet the needs of public
  and private cloud providers regardless of size, by being simple to implement
  and massively scalable.
  .
  OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In
  addition to its "native" API (the OpenStack API), it also supports the Amazon
  EC2 API.
  .
  This charm provides the cloud controller service for OpenStack Nova and includes
  nova-scheduler, nova-api and nova-conductor services.
store-url: https://charmhub.io/nova-cloud-controller
charm-id: vopwLW1OCKywyijN1cASUuNUbKRlfIPJ
supports: jammy, mantic
tags: cloud
subordinate: false
relations:
  provides:
    cloud-controller: nova
    nova-cell-api: nova-cell
    nrpe-external-master: nrpe-external-master
  requires:
    amqp: rabbitmq
    amqp-cell: rabbitmq
    certificates: tls-certificates
    cinder-volume-service: cinder
    cloud-compute: nova-compute
    dashboard: dashboard
    ha: hacluster
    identity-service: keystone
    image-service: glance
    memcache: memcache
    neutron-api: neutron-api
    nova-vmware: nova-vmware
    placement: placement
    quantum-network-service: quantum
    shared-db: mysql-shared
    shared-db-cell: mysql-shared
channels: |
  2023.2/stable: 717 2023-11-30 (717) 1MB
  2023.2/candidate: ↑
  2023.2/beta: ↑
  2023.2/edge: ↑

So it should have worked in your scenario. I'm going to add Juju to the bug and mark the charm part as invalid.

Changed in charm-deployment-guide:
status: Incomplete → Invalid
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Teodora Mihoc (tmihoc)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.