Project

Profile

Help

Issue #3095 » Issue #22558 - 2017-10-24T15_22_17Z.eml

Anonymous, 10/24/2017 05:22 PM

 
Return-Path: <luismayorga1980@gmail.com>
Received: from mi017.mc1.hosteurope.de ([80.237.138.238]) by wp245.webpack.hosteurope.de running ExIM with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1e711p-0007Af-M2; Tue, 24 Oct 2017 17:22:05 +0200
Received: from mail-vk0-f52.google.com ([209.85.213.52]) by mx0.webpack.hosteurope.de (mi017.mc1.hosteurope.de) with esmtps (TLSv1.2:AES128-GCM-SHA256:128) id 1e711l-00027F-SZ for inbox+pulp+c71e+pulp@plan.io; Tue, 24 Oct 2017 17:22:05 +0200
Received: by mail-vk0-f52.google.com with SMTP id q13so13654192vkb.2 for <inbox+pulp+c71e+pulp@plan.io>; Tue, 24 Oct 2017 08:22:01 -0700
Received: from [192.168.1.36] ([190.233.136.233]) by smtp.gmail.com with ESMTPSA id j88sm422497vki.23.2017.10.24.08.21.59 for <inbox+pulp+c71e+pulp@plan.io> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Oct 2017 08:21:59 -0700
Date: Tue, 24 Oct 2017 10:21:58 -0500
From: Luis Mayorga <luismayorga1980@gmail.com>
To: Pulp <inbox+pulp+c71e+pulp@plan.io>
Message-ID: <45ea6160-e7b6-7517-8251-a5b74ebf65c0@gmail.com>
In-Reply-To: <redmine.journal-22556.20171024151201.4c8bb0d7efa43129@plan.io>
References: <redmine.issue-3095.20171023214631@plan.io>
<redmine.journal-22556.20171024151201.4c8bb0d7efa43129@plan.io>
Subject: Re: [Pulp - Issue #3095] Unable to cancel pending unstarted tasks
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary=------------833928F352B990D7CC57497B
Content-Transfer-Encoding: 7bit
Delivery-date: Tue, 24 Oct 2017 17:22:05 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language;
bh=VJJpntQ347TWjZ4Sd9xnhEmj9LrktDXYSRMjqN9z9qk=;
b=Zjd3Pcl1JEM//hVtedrIUJTL/+URncDweM4Ck+YIIO4RQ0w/ZwX9RtiFIJHQrkgNAa
xh5aHjVsDDUjqNFP29afsm6ZA3DeAn/Z59bEyf74hZUlFx4DgtNhQYxDz7R94ADx44VM
BLIPfBKm+MeF0iX4u5408kCBW/AuK6nrkXbH/EEqidTAZRseY6hqIuXFPjLtjs3CBJ5j
aLmsDtM551Z87YO5szoLsQkJVtDKTGFPz5BU/Sph0eOeEwpcHBYUlzaesmFXPsSBsYPJ
6I+qElyI8vMCaZEIligwr/6Ba74s1XPTzFGes8LXEk3Y6mYRuwqI/lqVZMTCLU1s0LDt vkkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;
s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language;
bh=VJJpntQ347TWjZ4Sd9xnhEmj9LrktDXYSRMjqN9z9qk=;
b=bshmvSUL4RQlZtS+UwCwKr1IBxdi3h0dn6OOtYkNQmVHrd54y3V5XXvKEhAasqmcU4
fuy+DFfcRE76nnEvL6U4iHEqyZtlD2D0iAbmkbe0RKwjU96vcrqVUdIK61hXcErmSX3y
a96yPm+YbU3b3N2/xeXUyqqwfGpTCjLCdbYI9Bu0aG0HgF4O7zsbYUGqB512Ml6CbuiQ
OvncLcnzbki8sqgtiKqlWTm/RVsstzRLAGfDmPePmZCPs5rzPe4A2FSdRJwtt+g2BXQK
ygDppSLBa/dqAoZoXYRMS2kx8vYIZvXOr6tHOgwGz2ZcBtnTukXzubfhrcm8hpqbq2gj lveQ==
X-Gm-Message-State: AMCzsaV5EpFyeZ8heQgW+DWuGDhuqmjgbyglBajDcb0XOA+Dc/sfWeal
T2xDpDxDwhDWgrX3w4yEQl9j5A08
X-Google-Smtp-Source: ABhQp+RGKRnQIHsRXz3Bxri4tbbT6VxUNKUQfVBh8que1EY0jv8NG5C7kY3mXMJ2twy8XL66m01csA==
X-Received: by 10.31.16.231 with SMTP id 100mr12341691vkq.153.1508858520389;
Tue, 24 Oct 2017 08:22:00 -0700 (PDT)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.4.0
Content-Language: en-US
X-HE-Virus-Scanned: Yes
X-HE-Spam-Level: +++
X-HE-Spam-Score: 3.2
X-HE-Spam-Report: Content analysis details: (3.2 points) pts rule name
description ---- ----------------------
-------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE
RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.213.52 listed in
list.dnswl.org] 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source
[209.85.213.52 listed in dnsbl.sorbs.net] 2.5 RCVD_IN_SORBS_HTTP RBL: SORBS:
sender is open HTTP proxy server 0.0 FREEMAIL_FROM Sender email is commonly
abused enduser mail provider (luismayorga1980[at]gmail.com) 0.2
FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit
(luismayorga1980[at]gmail.com) 0.1 HTML_MESSAGE BODY: HTML included in message
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1
DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid
X-HE-SPF: PASSED
Envelope-to: inbox+pulp+c71e+pulp@plan.io

This is a multi-part message in MIME format.
--------------833928F352B990D7CC57497B
Content-Type: text/plain;
charset=utf-8;
format=flowed
Content-Transfer-Encoding: 7bit

Fixed the problem by using *remove* instead of *deleteOne*


https://docs.mongodb.com/v3.2/reference/method/db.collection.remove/#db.collection.remove

On 10/24/2017 10:12 AM, Pulp wrote:
>
> --- Please write your response above this line ---
>
> Issue #3095 <https://pulp.plan.io/issues/3095?pn=1#change-22556> has
> been updated by dalley.
>
> * *Category* deleted (/pulp-admin/)
> * *Priority* changed from /Normal/ to /Low/
> * *Severity* changed from /4. Urgent/ to /2. Medium/
> * *Triaged* changed from /No/ to /Yes/
> * *Blocks Release* deleted (/2.14.z/)
>
> ------------------------------------------------------------------------
>
>
> Issue #3095: Unable to cancel pending unstarted tasks
> <https://pulp.plan.io/issues/3095?pn=1#change-22556>
>
> * Author: lmayorga1980
> * Status: NEW
> * Priority: Low
> * Assignee:
> * Category:
> * Sprint/Milestone:
> * Severity: 2. Medium
> * Version:
> * Platform Release:
> * Blocks Release:
> * OS:
> * Backwards Incompatible: No
> * Triaged: Yes
> * Groomed: No
> * Sprint Candidate: No
> * Tags:
> * QA Contact:
> * Complexity:
> * Smash Test:
> * Verified: No
> * Verification Required: No
>
> 1. Created some consumers
> 2. Created some consumer groups for patching
> 3. Deleted some consumers
> 4. Run some package group updates
> 5. Task lists look Unstarted.
>
> I am not able to cancel the tasks by running
>
> pulp-admin tasks cancel --task-id <task-id>
>
> Is there a workaround to remove those orphan tasks?
>
> ------------------------------------------------------------------------
>
> You have received this notification because you have either subscribed
> to or are involved in a project on Pulp Planio.
> To change your notification preferences, please click here:
> https://pulp.plan.io/my/account?tour=mail_preferences
>
>
>
> This notification was cheerfully delivered by <https://plan.io/>
>
> Planio <https://plan.io/>
>


--------------833928F352B990D7CC57497B
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Fixed the problem by using <b>remove</b> instead of <b>deleteOne</b><br>
</p>
<br>
<a class="moz-txt-link-freetext" href="https://docs.mongodb.com/v3.2/reference/method/db.collection.remove/#db.collection.remove">https://docs.mongodb.com/v3.2/reference/method/db.collection.remove/#db.collection.remove</a><br>
<br>
<div class="moz-cite-prefix">On 10/24/2017 10:12 AM, Pulp wrote:<br>
</div>
<blockquote type="cite"
cite="mid:redmine.journal-22556.20171024151201.4c8bb0d7efa43129@plan.io">
<!--[if !mso]><!-- -->
<link href="https://assets.plan.io/stylesheets/fonts.css"
rel="stylesheet" type="text/css">
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>a:link{color:#0088b7}
a:visited{color:#0088b7}
a:hover{color:#0088b7}
a:active{color:#0088b7}</style>
<table
style="border-spacing:0;border-collapse:collapse;width:100%"
width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="header"
style="text-align:center;width:100%;font-family:MarketWeb,
Helvetica, Arial,
sans-serif;font-size:0.8em;color:#D7D7D7">
<p>--- Please write your response above this line ---</p>
</td>
</tr>
<tr>
<td>Issue <a
href="https://pulp.plan.io/issues/3095?pn=1#change-22556"
style="color:#0088b7" moz-do-not-send="true">#3095</a>
has been updated by dalley.
<ul>
<li><strong>Category</strong> deleted (<del><i>pulp-admin</i></del>)</li>
<li><strong>Priority</strong> changed from <i>Normal</i>
to <i>Low</i></li>
<li><strong>Severity</strong> changed from <i>4. Urgent</i>
to <i>2. Medium</i></li>
<li><strong>Triaged</strong> changed from <i>No</i> to
<i>Yes</i></li>
<li><strong>Blocks Release</strong> deleted (<del><i>2.14.z</i></del>)</li>
</ul>
<hr
style="width:100%;height:1px;background:#ccc;border:0;margin:1.2em
0">
<h1 style="font-family:&quot;ProximaNova-Bold&quot;,
Helvetica, Arial,
sans-serif;font-weight:normal;margin:0px;font-size:1.3em;line-height:1.4em"><a
href="https://pulp.plan.io/issues/3095?pn=1#change-22556"
style="color:#0088b7;text-decoration:none"
moz-do-not-send="true">Issue #3095: Unable to cancel
pending unstarted tasks</a></h1>
<ul>
<li>Author: lmayorga1980</li>
<li>Status: NEW</li>
<li>Priority: Low</li>
<li>Assignee: </li>
<li>Category: </li>
<li>Sprint/Milestone: </li>
<li>Severity: 2. Medium</li>
<li>Version: </li>
<li>Platform Release: </li>
<li>Blocks Release: </li>
<li>OS: </li>
<li>Backwards Incompatible: No</li>
<li>Triaged: Yes</li>
<li>Groomed: No</li>
<li>Sprint Candidate: No</li>
<li>Tags: </li>
<li>QA Contact: </li>
<li>Complexity: </li>
<li>Smash Test: </li>
<li>Verified: No</li>
<li>Verification Required: No</li>
</ul>
<p>1. Created some consumers<br>
2. Created some consumer groups for patching<br>
3. Deleted some consumers<br>
4. Run some package group updates<br>
5. Task lists look Unstarted.</p>
<p>I am not able to cancel the tasks by running</p>
<p>pulp-admin tasks cancel --task-id &lt;task-id&gt;</p>
<p>Is there a workaround to remove those orphan tasks?</p>
<div itemscope="itemscope"
itemtype="http://schema.org/EmailMessage">
<div itemscope="itemscope" itemprop="action"
itemtype="http://schema.org/ViewAction">
<link itemprop="url"
href="https://pulp.plan.io/issues/3095?pn=1#change-22556">
<meta itemprop="name" content="View Issue">
</div>
<meta itemprop="description" content="View this issue
update on Planio">
</div>
</td>
</tr>
<tr>
<td class="footer" style="font-size:0.8em;width:100%">
<hr
style="width:100%;height:1px;background:#ccc;border:0;margin:1.2em
0">
<p>You have received this notification because you have
either subscribed to or are involved in a project on
Pulp Planio.<br>
To change your notification preferences, please click
here: <a class="external"
href="https://pulp.plan.io/my/account?tour=mail_preferences"
style="color:#0088b7" moz-do-not-send="true">https://pulp.plan.io/my/account?tour=mail_preferences</a></p>
</td>
<td><br>
</td>
</tr>
<tr>
<td class="planio_footer"
style="text-align:center;width:100%;font-family:MarketWeb,
Helvetica, Arial,
sans-serif;font-size:1.2em;color:#D7D7D7"><br>
<div><a href="https://plan.io/"
style="color:#0088b7;color:#D7D7D7;text-decoration:none"
moz-do-not-send="true">This notification was
cheerfully delivered by</a></div>
</td>
<td><br>
</td>
</tr>
<tr>
<td class="planio_footer_logo"
style="text-align:center;width:100%"><a
href="https://plan.io/" title="Planio"
style="color:#0088b7" moz-do-not-send="true"><img
src="https://assets.plan.io/images/planio_logo_gray_204x50.png"
alt="Planio" style="vertical-align:middle;border:none"
moz-do-not-send="true" width="102" border="0"
height="25"></a></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
</body>
</html>

--------------833928F352B990D7CC57497B--
    (1-1/1)