[Spacewalk-list] skip-db-install and non-interactive options

Michael Mraka michael.mraka at redhat.com
Mon Feb 26 11:04:32 UTC 2018


Emiliano Sgrano:
> Hello,
> 
> I've been running spacewalk-setup with the following command:
> 
> spacewalk-setup --non-interactive --external-oracle
> --ship-db-diskspace-check
> --answer-file=/var/chef/cache/spacewalk-answers.conf --skip-fqdn-test
> --skip-db-install
> 
> But I got the following error:
> 
> "The Database has schema. Would you like to clear the database [Y] ? **
> Database: The database already has schema. Skipping population"
> 
> It looks spacewalk-setup is ignoring the --skip-db-install when
> --non-interactive options is enabled.
> 
> As workaround I've removed the --non-interactive and run the following
> command:
> 
> echo 'n'| spacewalk-setup --external-oracle --ship-db-diskspace-check
> --answer-file=/var/chef/cache/spacewalk-answers.conf --skip-fqdn-test
> --skip-db-install
> 
> What I'm doing wrong?

Hello Emiliano,

You actually want --skip-db-population not --skip-db-install.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list