[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-06-24 Thread Brian Murray
** Tags removed: rls-ee-incoming

** Changed in: apt (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-06-06 Thread Steve Langasek
Seems my comment refers to the separate bug
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825000

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  Triaged

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-06-06 Thread Steve Langasek
>From my discussions in person at the last sprint, it would be useful to
have User-Agent information that lets the server distinguish between
interactive vs non-interactive clients (i.e.: unattended-upgrades) in
order to tell u-u to go away and try later for cases when the server /
Internet connection are saturated and delivering a poor QoS to all users
due to events.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  Triaged

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-05-09 Thread Julian Andres Klode
** Changed in: apt (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: apt (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  Triaged

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-04-17 Thread Julian Andres Klode
** Tags added: rls-ee-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  New

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-04-16 Thread Julian Andres Klode
apt currently considers the following errors transient:

constexpr unsigned int TransientCodes[] = {
   408, // Request Timeout
   429, // Too Many Requests
   500, // Internal Server Error
   502, // Bad Gateway
   503, // Service Unavailable
   504, // Gateway Timeout
   599, // Network Connect Timeout Error
};

and thus does not report them as errors, only as warnings.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  New

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-04-16 Thread Julian Andres Klode
FWIW, over capacity should be 503 usually, not a 4xx response code.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  New

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825001] Re: Allow archives to send a 4xx response to tell apt to try again later

2019-04-16 Thread Julian Andres Klode
503 also has a Retry-After field that you can use to communicate when to
retry, although we do not have any support for retrying things, apart
from twice a day, as systemd does not offer this ability to our type of
timer. And for interactive use, well, the user will retry manually.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  New

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp