-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency, fixes #8 #15
base: master
Are you sure you want to change the base?
Conversation
recheck |
1 similar comment
recheck |
This is failing the mysql job on ubuntu-bionic with an error on the first ara_record task:
I'm not sure why but it's worth investigating. |
Well, good news and bad news, this PR didn't broke it. But I have no clue what's going on... I deployed a fresh ubuntu 18.04 lxc container. Installed ARA on it using the role (after prepping a mariadb server, we might need to update the docs about that thing with key lengths above 767 bytes, need to check) So the role works, but this task does not:
But it doesn't matter whether the 'old' or 'new' dependency is installed (I also checked by dropping the ARA db a couple of times and it populates just fine with the 'new' dependency) Bad news, no clue what this is. It is Ubuntu 18.04 related though, I also ran the faulty task on a Debian buster controller, no problems (same ARA target btw) |
Thanks for looking at this ! I found out that there are different images of Ubuntu used in our Zuul jobs right now -- depending if the job runs in AWS or an OpenStack cloud. This explains some of the odd flapping and regressions we've seen but hey, we got some bug fixes out of it :) I haven't seen this reproduce in other PRs and they merged successfully -- I'll ask for a recheck here and I'll try to reproduce the issue locally troubleshoot. |
recheck |
Hi @dmsimard, Any other avenue we can pursue? As mentioned in #8 , even when I remove all mariadb related packages (on the Ansible node reporting to ARA, not the ARA node itself, which makes sense as the ARA client is HTTP based, right? :-) ) I still can't fix the issue. I also removed them from my testing system that does run ARA, and it still works fine As the pacakge is not required (of what I was able to test), I have updated the PR to remove it altogether. |
@Thulium-Drake now the job is failing when installing mysqlclient from pip ¯\(ツ)/¯ It determines that those are the missing packages: The failure is in the mysql backend job and so django requires mysqlclient to be installed -- it's a server dependency, not a client one.. in other words, it's required for Anyway, I'd expect the |
Fair enough, makes sense, but I really don't understand why this breaks on Ubuntu 18.. Is there any way how I can test this on Ubuntu 20 with the CI? Maybe this particular transitional package is borked on 18? |
Our Zuul's configuration shows we have currently have Xenial and Bionic. Looking at the OpenStack configuration (another zuul deployment) shows there is a Focal image so it is implemented but we don't have it yet. We can use the addition of a fedora 33 image recently as an example: ansible-network/windmill-config@ed054b3#diff-6c807ed8fd39d8131387aba05480ec2b29da62c8b39f803d6a4ad59d9cf42578 Edit: on a second read of that addition, that's AWS only since it runs off of the Fedora AMI which works but I must check if we'd rather do it on OpenStack instead which has a different implementation using images built with diskimage builder. |
recheck |
Time to have another look at this one :-) |
The job failure is unrelated, it's the same issue as I pointed out in #36 (comment) This failure is on ubuntu bionic again. I'll try to find out why it's happening but it seems intermittent ? |
recheck |
I created an issue for the ara_record traceback: ansible-community/ara#325 |
recheck |
1 similar comment
recheck |
I requested the CI nodes to be held if the job fails again so I can introspect a bit. |
@@ -33,6 +33,6 @@ ara_api_postgresql_packages: | |||
|
|||
ara_api_mysql_packages: | |||
- mariadb-client | |||
- libmariadbclient-dev | |||
- libmariadb-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libmariadb-dev is super old in 18.04, see my investigation here: ansible-community/ara#325 (comment)
libmariadbclient-dev is the right library to use and works in 20.04 as well.
With that in mind, maybe we should leave things as-is and revisit if it does break or if we have reports of issues.
I agree, shall we also close #8 in favor of not breaking it? I've noticed in Debian that the package is being redirected properly too. Maybe revisit things in a few years (when they actually remove libmariadbclient-dev from the repos) :-) |
Works for me. |
It broke again, I recently upgraded my system to Debian 11, and it now runs into this issue as the libmariadbclient-dev package is not in the repos anymore. However, we did settle a few months ago that this breaks a lot of stuff in the pipeline. I did some checking, the last version of Ubuntu to ship this package is 20.04 LTS. So, I think we really need to figure out a solution now :) |
So I made a patch that will default to the new package name for newer distro's, except for Ubuntu 18, as it breaks with that new package. This should fix it for most deployments :-) |
recheck |
The tests succeeded! Only some timeouts and an unknown failure for the nginx test |
@dmsimard Ping! :-) |
Build succeeded. ✔️ ara-role-api-distributed-sqlite SUCCESS in 13m 43s |
Hmm, the problem is that we no longer have ubuntu/debian coverage at this time. |
Update the dependency package for Mariadb.
Fixes #8