#925 ostree force_new_commit seems to be not working
Closed: Fixed 6 years ago Opened 6 years ago by mohanboddu.

When we tried https://pagure.io/pungi/c/161b7f974b2dae625d2286d9f37ec7f01b7debd8?branch=master it failed with

Failed validation in ostree: [('^AtomicHost$', {'aarch64': {'version': '!VERSION_FROM_VERSION_DATE_RESPIN', 'treefile': 'fedora-atomic-host-updates-stable.json', 'config_url': 'https://pagure.io/fedora-atomic.git', 'config_branch': 'f28', 'repo': 'https://kojipkgs.fedoraproject.org/compose/28/latest-Fedora-28/compose/Everything/$basearch/os/', 'tag_ref': False, 'ostree_repo': '/mnt/koji/compose/atomic/repo/', 'force_new_commit': True}, 'x86_64': {'version': '!VERSION_FROM_VERSION_DATE_RESPIN', 'treefile': 'fedora-atomic-host-updates-stable.json', 'config_url': 'https://pagure.io/fedora-atomic.git', 'config_branch': 'f28', 'repo': 'https://kojipkgs.fedoraproject.org/compose/28/latest-Fedora-28/compose/Everything/$basearch/os/', 'tag_ref': False, 'ostree_repo': '/mnt/koji/compose/atomic/repo/', 'force_new_commit': True}, 'ppc64le': {'version': '!VERSION_FROM_VERSION_DATE_RESPIN', 'treefile': 'fedora-atomic-host-updates-stable.json', 'config_url': 'https://pagure.io/fedora-atomic.git', 'config_branch': 'f28', 'repo': 'https://kojipkgs.fedoraproject.org/compose/28/latest-Fedora-28/compose/Everything/$basearch/os/', 'tag_ref': False, 'ostree_repo': '/mnt/koji/compose/atomic/repo/', 'force_new_commit': True}})] is not valid under any of the given schemas

We were running pungi-4.1.23-5.fc27.noarch and config since it didn't work we had to revert which is working fine


This is a problem in the validation only. There are two ways how ostree can be configured (explicitly for each arch or with a list of arches), and only the second form was updated to recognize this option.

Metadata Update from @lsedlar:
- Issue tagged with: 4.1.24

5 years ago

Login to comment on this ticket.

Metadata