Bug #5029

Cannot specify initial Organization or Location via Katello installer

Added by Eric Helms about 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Eric Helms
Category:Rails
Target version:Sprint 27
Difficulty: Bugzilla link:1125241
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1618
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Description

Changes in the Katello installer post-enginification have resulted in the specification of initial seed data by a user being broken. This issue will requires updates to the Katello puppet module and the mechanism by which the seed script extracts those values.


Related issues

Related to Foreman - Bug #6891: rake db:seed failure on creating organization Closed 08/01/2014

Associated revisions

Revision 81ddcf5b
Added by Eric Helms almost 4 years ago

Refs #5029: Allow initial organization and location to be specified during seed.

Initial seed data can now be specified by running:

rake db:seed SEED_INITIAL_ORGANIZATION=MyOrg SEED_INITIAL_LOCATION=MyLoc

This also has the side effect of allowing creation of multiple org/location
by running seed with different values for each.

Revision 3b2f176c
Added by Eric Helms almost 4 years ago

Merge pull request #4336 from ehelms/refs-5029

Refs #5029: Allow initial organizationd and location to be specified dur...

History

#1 Updated by Mike McCune almost 4 years ago

ideally the user could specify:

--admin-user=<username>
--admin-password=<password>
--first-organization=<defaults to ACME_Corporation>
--first-location=<defaults to Default>

#2 Updated by Mike McCune almost 4 years ago

One additional request:

set the first admin user's "Default" Org and Location to be the first-org and first-location specified above. This will ensure that org and location will be selected upon first login.

#3 Updated by Eric Helms almost 4 years ago

  • Target version set to Sprint 32
  • Triaged changed from No to Yes

#4 Updated by Eric Helms almost 4 years ago

  • Target version changed from Sprint 32 to Sprint 33

#5 Updated by Eric Helms almost 4 years ago

  • Status changed from New to Assigned
  • Assigned To set to Eric Helms

#6 Updated by Eric Helms almost 4 years ago

  • Release set to Katello 2.0

#7 Updated by Eric Helms almost 4 years ago

  • Target version changed from Sprint 33 to Sprint 34

#8 Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1618 added

#9 Updated by Eric Helms over 3 years ago

  • Target version changed from Sprint 34 to Sprint 35

#10 Updated by Dominic Cleal over 3 years ago

  • Project changed from Katello to Foreman
  • Category changed from Installer to Rails
  • Target version changed from Sprint 35 to Sprint 26
  • Release changed from Katello 2.0 to 1.6.0

#11 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 26 to Sprint 27

#12 Updated by Eric Helms over 3 years ago

  • Subject changed from Cannot specify initial seed data via Katello installer to Cannot specify initial Organization or Location via Katello installer

#13 Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed

#14 Updated by Eric Helms over 3 years ago

  • Bugzilla link set to 1125241

#15 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #6891: rake db:seed failure on creating organization added

Also available in: Atom PDF