[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
** No longer affects: ubuntu ** Changed in: snapstore-server Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
** Changed in: juju Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
** Changed in: juju Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
PR to retry all requests (including downloads) based on the status code sent from the server: https://github.com/juju/juju/pull/13106 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
The PR[1] to include logging went out with juju-2.9.4 I'm leaving this open until retries when requesting charmhub API are implemented. - 1. https://github.com/juju/juju/pull/13018 ** Changed in: juju Assignee: (unassigned) => Simon Richardson (simonrichardson) ** Changed in: juju Milestone: None => 2.9.7 ** Changed in: juju Status: Incomplete => In Progress ** Changed in: juju Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
I checked logging on our side - I couldn't find a Sentry report matching the error's timestamp, which suggests either this was a problem at the haproxy level (Sentry only logs application units), or it was a non- loggable error (403 is an example, I'm not saying it was the case here, but the circumstances under which most 4xx errors are returned to clients are normal enough that we don't log them). Unfortunately, due to the amount of traffic the store gets, we only have 15 days' retention of haproxy logs, meaning that the possible haproxy error that happened on the 12th of May has now rotated into /dev/null :( I'll check other logs we might have to try to learn more. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
@jameinel: I'll open a PR to add more logging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
"Could we perhaps get more information about under which circumstances Juju would say "unable to locate archive"?" sounds like a valid reason to set the bug as incomplete. "cannot be verified, the reporter needs to give more info". I didn't change the bug status because Launchpad didn't send me a notification when John replied. I'll do so now, and use your timestamps to track down the return code from the store. ** Changed in: snapstore-server Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
I know this was a temporary outage, I mentioned that when filing the bug. I don't understand why this has been marked incomplete on both the snap-store and juju projects though. Are we saying we don't have appropriate logging in place to diagnose this issue? If so, can we fix that? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
That particular error is coming from here: https://github.com/juju/juju/blob/19d6a75eea61f5021a9fa0ee8e37fe7f6e3c9d53/charmhub/download.go#L201 Given what it is downloading from, I believe it is coming from: https://github.com/juju/juju/blob/19d6a75eea61f5021a9fa0ee8e37fe7f6e3c9d53/charmhub/download.go#L101 Essentially we got the charm URL from Charmhub, but when we went to download it, we got a status code that wasn't 200 OK, and wasn't 404 Not Found. (I feel like we should at least be logging more information if not including it in the error) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
The download problem happened at 2021-05-12 10:01:49, charmhub didn't have any outage at that time. COuld we perhaps get more information about under which circumstances Juju would say "unable to locate archive"? ERROR storing charm "postgresql-k8s": cannot retrieve "https://api.charmhub.io/api/v1/charms/download/y2vuZHGLElMmdfcL4q1zJayL9utaheIa_2.charm": unable to locate archive I'd like to know what HTTP response code / payload was received by Juju to result in this message, so we can track down why charmhub responded with that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
>From everything I can tell this was a temporary outage (as you can again deploy from postgresql-k8s). However, it is something we should be aware of in case it comes back and we have the opportunity to reproduce. ** Changed in: juju Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928182] Re: Unable to deploy postgresql-k8s charm from charmhub
** Also affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928182 Title: Unable to deploy postgresql-k8s charm from charmhub To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1928182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs