Skip to content

openshift_facts: install python3-dbus package on Fedora nodes - #3554

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
php-coder:install_python3_pkg
Mar 31, 2017
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
php-coder:install_python3_pkg

Conversation

@php-coder

Copy link
Copy Markdown

Fixes #3544

PTAL @sdodson

@php-coder
php-coder force-pushed the install_python3_pkg branch from 6313e56 to 77dd43c Compare March 3, 2017 14:46
Comment thread roles/openshift_facts/vars/Fedora.yml Outdated
required_packages:
- iproute
- python3-dbus
- python-six

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that here we want to have python3-six package but it works for me without this. Perhaps, because I used non-minimal Fedora template.

- python3-dbus
- python-six
- PyYAML
- yum-utils

@php-coder php-coder Mar 3, 2017 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I faced yet another problem with this package: when yum-utils is already installed all the process failed with:

TASK [openshift_facts : Ensure various deps are installed] *********************
failed: [ec2-xx-xx-xxx-xx.compute-1.amazonaws.com] (item=[u'iproute', u'python3-dbus', u'python-six', u'PyYAML', u'yum-utils']) => {
    "failed": true, 
    "item": [
        "iproute", 
        "python3-dbus", 
        "python-six", 
        "PyYAML", 
        "yum-utils"
    ], 
    "module_stderr": "Package iproute-4.4.0-3.fc24.x86_64 is already installed, skipping.\nPackage python3-dbus-1.2.4-1.fc24.x86_64 is already installed, skipping.\nPackage python-six-1.10.0-2.fc24.noarch is already installed, skipping.\nPackage PyYAML-3.11-12.fc24.x86_64 is already installed, skipping.\nTraceback (most recent call last):\n  File \"/tmp/ansible_br2rb44o/ansible_module_dnf.py\", line 375, in <module>\n    main()\n  File \"/tmp/ansible_br2rb44o/ansible_module_dnf.py\", line 369, in main\n    ensure(module, base, params['state'], params['name'])\n  File \"/tmp/ansible_br2rb44o/ansible_module_dnf.py\", line 324, in ensure\n    base.do_transaction()\n  File \"/usr/lib/python3.5/site-packages/dnf/base.py\", line 591, in do_transaction\n    self._trans_error_summary(errstring))\ndnf.exceptions.Error: Transaction check error:\n  package yum-utils-1.1.31-509.fc24.noarch is already installed\n\nError Summary\n-------------\n\n", 
    "module_stdout": ""
}

MSG:

MODULE FAILURE

To overcome this I had to remove yum-utils from this list.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we are still using yum-utils on a Fedora host, then it should be considered a bug.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 9, 2017
@php-coder
php-coder force-pushed the install_python3_pkg branch from 77dd43c to 80c412e Compare March 9, 2017 11:53
@php-coder

Copy link
Copy Markdown
Author

PTAL @sdodson

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 9, 2017
@stevekuznetsov

Copy link
Copy Markdown
Contributor

FYI you'll continue to see the merge tag fail here until you run the other dependent jobs

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Stand down, rosie

@stevekuznetsov

Copy link
Copy Markdown
Contributor

We've not seen that many tests go red all at once unless it is legitimate, also worrying that they're all in the same category. Should be looked at.

@php-coder

Copy link
Copy Markdown
Author

We've not seen that many tests go red all at once unless it is legitimate

These tests expect that there no other namespaces with prefix e2e-tests except their own. They're failing because there is such a namespace (e2e-tests-downward-api-g2t0z in this case). I couldn't find which test is creating it (I suspect that it's TestMakeEnvironmentVariables from vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods_test.go but I couldn't prove it).

I have 2 theories:

  1. tests are running in parallel and at the execution time there were two e2e tests running
  2. if tests are executing in random order, it's possible that there was a test that didn't cleanup after itself and it affected these tests

@php-coder
php-coder force-pushed the install_python3_pkg branch from 80c412e to e478917 Compare March 10, 2017 16:05
@stevekuznetsov

Copy link
Copy Markdown
Contributor

You should also investigate why we don't see it in Origin, it's the same job logic that handles both repositories.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 15, 2017
@php-coder
php-coder force-pushed the install_python3_pkg branch from e478917 to 71c1814 Compare March 20, 2017 12:53
@php-coder

php-coder commented Mar 20, 2017 •

Copy link
Copy Markdown
Author

Let's try to merge yet another time and if it fail, I will give up with it.

@openshift-bot openshift-bot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Mar 20, 2017
@php-coder
php-coder force-pushed the install_python3_pkg branch from 71c1814 to 84f7dd3 Compare March 24, 2017 14:29
@php-coder

Copy link
Copy Markdown
Author

@sdodson PTAL

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 24, 2017
@php-coder

Copy link
Copy Markdown
Author

@sdodson ping

@php-coder

Copy link
Copy Markdown
Author

@sdodson Sorry for disturbing you but could you merge it?

@sdodson

sdodson commented Mar 31, 2017

Copy link
Copy Markdown
Member

aos-ci-test

@openshift-bot

Copy link
Copy Markdown

success: aos-ci-jenkins/OS_unit_tests for 84f7dd3 (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.4_NOT_containerized, aos-ci-jenkins/OS_3.4_NOT_containerized_e2e_tests" for 84f7dd3 (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.4_containerized, aos-ci-jenkins/OS_3.4_containerized_e2e_tests" for 84f7dd3 (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.5_NOT_containerized, aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests" for 84f7dd3 (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.5_containerized, aos-ci-jenkins/OS_3.5_containerized_e2e_tests" for 84f7dd3 (logs)

@sdodson

sdodson commented Mar 31, 2017

Copy link
Copy Markdown
Member

[merge]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible merge up to 84f7dd3

@openshift-bot

openshift-bot commented Mar 31, 2017 •

Copy link
Copy Markdown

@openshift-bot
openshift-bot merged commit 07fc2a2 into openshift:master Mar 31, 2017
@php-coder
php-coder deleted the install_python3_pkg branch March 31, 2017 20:56
@php-coder

Copy link
Copy Markdown
Author

@sdodson Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants