Project

General

Profile

Actions

Bug #15513

closed

mirror-on-sync option is not set properly during repository create

Added by Brad Buckingham over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1348070
Creating a repository with --mirror-on-sync=false results in the repository being created, but 'Mirror on Sync' is actually still set to true.

To reproduce (6.2.0 Beta2)

hammer product create --name='product1' --organization-id=1
hammer repository create \
--name='testrepo1' \
--organization-id=1 \
--product='product1' \
--content-type='yum' \
--publish-via-http=false \
--mirror-on-sync=false \
--download-policy=immediate

hammer repository info --product='product1' --name='testrepo1'

(This does not show the state of the Mirror on Sync option)

Login to the WebUI and navigate to the new repo shows Mirror on Sync = Yes

Actions

Also available in: Atom PDF