No way to pass model-config/default to the sunbeam-microk8s cloud with openstack model

Bug #2065490 reported by Nobuto Murata
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Snap
Triaged
Wishlist
Unassigned

Bug Description

$ snap list openstack
Name Version Rev Tracking Publisher Notes
openstack 2024.1 503 2024.1/edge canonical✓ -

If I'm not mistaken, there is no way to set debug logging for charms through `sunbeam cluster bootstrap`. The openstack model uses the default logging level in Juju, which is INFO.

$ juju model-config -m openstack | grep logging-config
logging-config model <root>=INFO

That makes a troubleshooting harder when a charm failed in the bootstrap phase.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Okay, I found the software configuration manifest instead of the deployment configuration manifest so I can technically pass logging-config now.
https://microstack.run/docs/manifest#juju-section-4

Isn't it more user friendly by having `sunbeam cluster bootstrap --debug` for example?

Related: https://discourse.ubuntu.com/t/deployment-manifest/42672/2

Revision history for this message
Nobuto Murata (nobuto) wrote :

Nah, it's not going to work. The bootstrap_args is for the initial Juju cloud only.

So it's going to be applied for the manual cloud, but not the k8s cloud I'd like to enable debug for charms.

James Page (james-page)
Changed in snap-openstack:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Chris Johnston (cjohnston) wrote :

This is also blocking the ability to do an offline deployment.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Asking for a re-triage since other use cases affecting a deployment came up.

summary: - No way to enable charm debug logging through Juju's logging-config
+ No way to pass model-config/default to the sunbeam-microk8s cloud with
+ openstack model
Changed in snap-openstack:
status: Triaged → New
Revision history for this message
Billy Olsen (billy-olsen) wrote :

Still triaged as wishlist. This is a feature request, albeit an important one.

Changed in snap-openstack:
status: New → Triaged
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.