Project

General

Profile

Actions

Bug #15513

closed

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

Added by Brad Buckingham almost 8 years ago. Updated almost 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 #1

Updated by Brad Buckingham almost 8 years ago

  • Subject changed from hammer mirror-on-sync option does not work to mirror-on-sync option is not set properly during repository create
  • Assignee set to Brad Buckingham
  • Difficulty set to easy
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6149 added
Actions #3

Updated by Brad Buckingham almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release set to 143
Actions

Also available in: Atom PDF