Bug #5029

Cannot specify initial Organization or Location via Katello installer

Added by Eric Helms over 4 years ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:Eric Helms
Category:Rails
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1125241 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/1618

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 about 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 about 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 about 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 about 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 about 4 years ago

  • Target version set to 45
  • Triaged changed from No to Yes

#4 Updated by Eric Helms about 4 years ago

  • Target version changed from 45 to 48

#5 Updated by Eric Helms about 4 years ago

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

#6 Updated by Eric Helms about 4 years ago

  • Legacy Backlogs Release (now unused) set to 13

#7 Updated by Eric Helms about 4 years ago

  • Target version changed from 48 to 49

#8 Updated by The Foreman Bot almost 4 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 almost 4 years ago

  • Target version changed from 49 to 54

#10 Updated by Dominic Cleal almost 4 years ago

  • Project changed from Katello to Foreman
  • Category changed from Installer to Rails
  • Target version changed from 54 to 1.8.0
  • Legacy Backlogs Release (now unused) changed from 13 to 10

#11 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from 1.8.0 to 1.7.5

#12 Updated by Eric Helms almost 4 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 almost 4 years ago

  • Status changed from Ready For Testing to Closed

#14 Updated by Eric Helms almost 4 years ago

  • Bugzilla link set to 1125241

#15 Updated by Dominic Cleal almost 4 years ago

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

Also available in: Atom PDF