Instructions for charm creation are out of date

Bug #1843596 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Guide
Triaged
Medium
Unassigned

Bug Description

The preferred way to install charm-tools is via snap (ie. snap install --classic charm-tools). Note this also installs the py3 version of charm-tools as py2 is no longer supported for charm-tools.

Also 'sudo ./setup.py install' in charm-templates-openstack installs a bunch of pip packages (including the py2 version of charm-tools) outside of a virtualenv so it would be nice to at least document that, as users will then have systems with apt and pip python packages installed which is not good and not supported from a distribution pov.

https://docs.openstack.org/charm-guide/latest/new-api-charm.html#prerequists

Revision history for this message
Peter Matulis (petermatulis) wrote :

@Corey

So you mean we just need to replace the APT install with a snap install in the Charm Guide?

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Actually there is more to this so I think we should include more under this bug. I'll update the description with my findings so far.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

It seems that at least https://docs.openstack.org/charm-guide/latest/new-api-charm.html#prerequists is out of date so I'm going to update the bug description.

description: updated
summary: - charm-tools is a snap
+ openstack charms guide for creating a charm needs updating
Changed in charm-guide:
status: New → Triaged
importance: Undecided → Medium
summary: - openstack charms guide for creating a charm needs updating
+ Instructions for charm creation are out of date
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.