Project

General

Profile

Actions

Architecture #5367

open

Make node acceptance process asynchronous

Added by Lionel Le Folgoc over 10 years ago. Updated 2 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Effort required:
Name check:
Fix check:
Regression:
No

Description

Hi,

(distributed 2.11.1 setup on ec2)
I've created 500 random inventories and I'm trying to accept the "nodes" into rudder.
With "Accept new nodes", I select 10 nodes, "Accept into rudder", wait, wait, wait, then:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /rudder/secure/nodeManager/manageNewNode.

Reason: Error reading from remote server
<pre>
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /rudder/secure/nodeManager/manageNewNode.

Reason: Error reading from remote server
</pre>

But if I go to the "list node" page, I can see that these 10 nodes are actually being accepted right now (they're appearing one by one). After a minute or so, the 10 nodes have been accepted.

So the error above is a bit misleading. ;-)
Thanks.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #10434: Error on one inventory when trying to accept 100 inventories at the same time RejectedActions
Has duplicate Rudder - Bug #10645: Proxy error when accepting 500 inventories at the same timeRejectedActions
Actions

Also available in: Atom PDF