Hammer CLI Import: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342016-12-06T10:27:36ZForeman
Redmine Bug #17589 (Closed): Unable to import, first import content view with id https://projects.theforeman.org/issues/175892016-12-06T10:27:36ZAdam Priceadprice@redhat.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1168964">https://bugzilla.redhat.com/show_bug.cgi?id=1168964</a></p>
<p>Description of problem:</p>
<p>when trying to import system profiles with hammer I get the following error:</p>
<p>Import content-host with arguments --csv-file /tmp/exports/system-profiles.csv --export-directory /root/rpm-working-dir Unable to import, first import content view with id 102 Unable to import</p>
<p>How reproducible:</p>
<p>Steps to Reproduce:</p>
<p>1. install satellite 6 on rhel 6.6<br />2. on satellite 5.6 machine run spacewalk-export --entities users,system-profiles<br />3. # mkdir -p /tmp/exports<br />4. # chgrp -R apache /tmp/exports/ # chmod -R 0750 /tmp/exports/<br />5. # hammer import all --directory=/tmp/exports</p>
<p>Actual results:<br />Unable to import, first import content view with id 102 Unable to import, first import content view with id 102 Unable to import, first import content view with id 102 Unable to import, first import content view with id 102 Unable to import, first import content view with id 102 Unable to import, first import content view with id 102 Summary No</p>
<p>Expected results:<br />orgs to import or come back with a message why they didnt import</p>
<p>Additional info: mine shows up with 144, so i am assuming the number is based on the system profile or something of that nature</p>