Build fails with charmcraft 1.7
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=['
2022-06-06 11:57:09.142 Command parsed sysargs: Namespace(
2022-06-06 11:57:09.145 System details: OSPlatform(
2022-06-06 11:57:09.145 Packing the charm.
2022-06-06 11:57:09.146 Working arguments: {'from': PosixPath(
2022-06-06 11:57:09.146 Reading '/root/
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/
2022-06-06 11:57:09.298 Full execution log: '/tmp/charmcraf
Workaround is to use charmcraft 1.5
This is true for all the openstack charms. More details at https:/ /github. com/openstack- charmers/ release- tools/pull/ 233