https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-02-28T23:21:53ZPulpPuppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15602015-02-28T23:21:53Zjsherril@redhat.comjsherril@redhat.com
<ul></ul><p>In my Steps to reproduce, i forgot a step:</p>
<p>2.5. Publish the puppet distributor for this puppet repo.</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c1" class="external">Bugzilla #1186445 comment 1</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15612015-02-28T23:21:54Zjsherril@redhat.comjsherril@redhat.com
<ul></ul><p>Its odd because in my case the task shows a failure (see the attached text file), but the task in pulp shows as success:</p>
<p>Operations: publish<br>
Resources: Default_Organization-Library-mycontentview (repository)<br>
State: Successful<br>
Start Time: 2015-01-27T18:07:03Z<br>
Finish Time: 2015-01-27T18:07:03Z<br>
Task Id: f8088fd2-139c-4092-9c2b-66168b45455a</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c2" class="external">Bugzilla #1186445 comment 2</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15622015-02-28T23:21:56Zjsherril@redhat.comjsherril@redhat.com
<ul><li><strong>File</strong> <a href="/attachments/73">86c9f59f50b24ddf20664e5b423b68f2</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/73/86c9f59f50b24ddf20664e5b423b68f2">86c9f59f50b24ddf20664e5b423b68f2</a> added</li></ul><p>In yaml format</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c3" class="external">Bugzilla #1186445 comment 3</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15632015-02-28T23:21:58Zjsherril@redhat.comjsherril@redhat.com
<ul></ul><p>the relevant part of the task:</p>
<pre><code>summary: ! 'failed to clear destination directory: [Errno 2] No such file or directory:
''/etc/puppet/environments/KT_Default_Organization_Library_mycontentview_2/modules'''
</code></pre>
<p>but i see no errors in /var/log/messages during the publish, just:</p>
<p>Jan 27 13:07:03 localhost pulp: pulp.server.managers.repo.publish:INFO: publish failed for repo [Default_Organization-Library-mycontentview] with distributor ID [Default_Organization-Library-mycontentview]</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c4" class="external">Bugzilla #1186445 comment 4</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15642015-02-28T23:21:58Zbcourtbcourt@redhat.com
<ul></ul><p><a href="https://github.com/pulp/pulp_puppet/pull/161" class="external">https://github.com/pulp/pulp_puppet/pull/161</a></p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c5" class="external">Bugzilla #1186445 comment 5</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15652015-02-28T23:21:59Zbcourtbcourt@redhat.com
<ul></ul><p>A second bug has been opened for the failure to mark the task as failed: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186920" class="external">https://bugzilla.redhat.com/show_bug.cgi?id=1186920</a></p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c6" class="external">Bugzilla #1186445 comment 6</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15662015-02-28T23:22:00Zcduryeecduryee@redhat.com
<ul></ul><p>2.6.0-0.7.beta</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c7" class="external">Bugzilla #1186445 comment 7</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=15672015-02-28T23:22:01Zpthomas@redhat.com
<ul></ul><p>[root@rhsm-jenkins ~]# rpm -qa pulp-server<br>
pulp-server-2.6.0-0.7.beta.el6.noarch<br>
[root@rhsm-jenkins ~]#</p>
<p>verified</p>
<blockquote>
<blockquote>
<blockquote>
<p>pic.POST ('/v2/repositories/forge/distributors/', {'distributor_type_id':'puppet_install_distributor', 'distributor_id':'puppet_install_distributor', 'auto_publish': False, 'distributor_config': {'install_path':'/etc/puppet/modules/'}})</p>
</blockquote>
</blockquote>
</blockquote>
<p>[root@rhsm-jenkins ~]# ls -l /etc/puppet/<br>
total 12<br>
-rwxrwxrwx. 1 root root 2569 Jan 19 08:32 auth.conf<br>
drwxrwxrwx. 3 root root 4096 Feb 20 14:52 modules<br>
-rwxrwxrwx. 1 root root 853 Jun 10 2014 puppet.conf<br>
[root@rhsm-jenkins ~]# ls -l /etc/puppet/modules/<br>
total 4<br>
drwxr-xr-x. 7 apache apache 4096 Feb 10 14:09 mysql<br>
[root@rhsm-jenkins ~]#</p>
<p>[root@rhsm-jenkins ~]# puppet module list<br>
Warning: Missing dependency 'nanliu-staging':<br>
'puppetlabs-mysql' (v3.2.0) requires 'nanliu-staging' (v1.x)<br>
Warning: Missing dependency 'puppetlabs-stdlib':<br>
'puppetlabs-mysql' (v3.2.0) requires 'puppetlabs-stdlib' (>= 3.2.0 < 5.0.0)<br>
/etc/puppet/modules<br>
└── puppetlabs-mysql (v3.2.0)</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1186445#c8" class="external">Bugzilla #1186445 comment 8</a> +</p> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=17742015-03-02T22:47:57Zbmbouterbmbouter@redhat.com
<ul><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=28012015-03-20T19:16:17Zbmbouterbmbouter@redhat.com
<ul><li><strong>Severity</strong> changed from <i>High</i> to <i>3. High</i></li></ul> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=36822015-04-23T16:31:44Zrbarlow
<ul><li><strong>Status</strong> changed from <i>6</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul> Puppet Support - Issue #680: puppet repo publish with install_path set, installs to wrong directoryhttps://pulp.plan.io/issues/680?journal_id=401662019-04-15T21:06:11Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>