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

Emiliano Sgrano emiliano.sgrano at cloudreach.com
Mon Feb 26 09:33:19 UTC 2018


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?

Thanks

[image: Cloudreach] <https://hubs.ly/H09D_X50>
*Emiliano Sgrano*
Cloud Systems Developer
07474205969 | +44 20 7183 3991 (ext. 620) | www.cloudreach.com
Saffron House, 6 – 10 Kirby Street, London, EC1N 8TS
[image: LinkedIn] <https://hubs.ly/H09sS3c0> [image: Twitter]
<https://hubs.ly/H09sS520> [image: Facebook] <https://hubs.ly/H09sSjy0> [image:
Glassdoor] <https://hubs.ly/H09sS7b0> [image: Instagram]
<https://hubs.ly/H09sS5Y0>

-- 
The above terms reflect a potential business arrangement, are provided 
solely as a basis for further discussion, and are not intended to be and do 
not constitute a legally binding obligation. No legally binding obligations will 
be created, implied, or inferred until an agreement in final form is 
executed in writing by all parties involved.

This email may be confidential or privileged. If you received this 
communication by mistake, please don't forward it to anyone else, please 
erase all copies and attachments, and please let us know that it has gone 
to the wrong person. 

Cloudreach Europe Limited is registered in England and Wales with the 
registered office at Saffron House, 6-10 Kirby Street, London, EC1N 8TS and 
registration number 06975407.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180226/cb41a1fa/attachment.htm>


More information about the Spacewalk-list mailing list