Build fails with charmcraft 1.7

Bug #1977755 reported by Giuseppe Petralia
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-central
Triaged
Undecided
Unassigned

Bug Description

Master branch build (with tox -e build) fails when using charmcraft 1.7 with:

2022-06-06 11:57:09.064 Starting charmcraft version 1.7.0
2022-06-06 11:57:09.088 Raw pre-parsed sysargs: args={'help': False, 'verbose': True, 'quiet': False, 'trace': False, 'project_dir': None} filtered=['pack', '--bases-index', '0']
2022-06-06 11:57:09.088 General parsed sysargs: command='pack' args=['--bases-index', '0']
2022-06-06 11:57:09.142 Command parsed sysargs: Namespace(bases_index=[0], debug=False, destructive_mode=False, entrypoint=None, force=False, requirement=None, shell=False, shell_after=False)
2022-06-06 11:57:09.145 System details: OSPlatform(system='ubuntu', release='20.04', machine='x86_64'); Environment: CHARMCRAFT_MANAGED_MODE='1'
2022-06-06 11:57:09.145 Packing the charm.
2022-06-06 11:57:09.146 Working arguments: {'from': PosixPath('/root/project'), 'destructive_mode': False, 'entrypoint': None, 'requirement': [], 'bases_indices': None, 'force': False, 'debug': False, 'shell': False, 'shell_after': False}
2022-06-06 11:57:09.146 Reading '/root/project/metadata.yaml'
2022-06-06 11:57:09.226 Validating metadata format
2022-06-06 11:57:09.290 Building for 'bases[0]' as host matches 'build-on[0]'.
2022-06-06 11:57:09.293 Building for 'bases[0][0]'.
2022-06-06 11:57:09.293 Building charm in '/root'
2022-06-06 11:57:09.296 Charm entry point was not found: '/root/project/src/charm.py'
2022-06-06 11:57:09.298 Full execution log: '/tmp/charmcraft.log'

Workaround is to use charmcraft 1.5

Revision history for this message
Felipe Reyes (freyes) wrote :

This is true for all the openstack charms. More details at https://github.com/openstack-charmers/release-tools/pull/233

Changed in charm-ovn-central:
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.