Skip to content

Bump metal3-dev-env version#1221

Merged
openshift-merge-robot merged 1 commit intoopenshift-metal3:masterfrom
hardys:m3-dev-env-bump
Apr 20, 2021
Merged

Bump metal3-dev-env version#1221
openshift-merge-robot merged 1 commit intoopenshift-metal3:masterfrom
hardys:m3-dev-env-bump

Conversation

@hardys
Copy link
Copy Markdown

@hardys hardys commented Apr 13, 2021

So we pick up metal3-io/metal3-dev-env#619

This is needed for testing live-iso install ref #1193 since that needs
the sushy_ignore_boot_device option

@stbenjam
Copy link
Copy Markdown
Member

�[36mINFO�[0m[2021-04-13T12:34:44Z] +(./01_install_requirements.sh:27): main(): ansible-galaxy install -r vm-setup/requirements.yml 
�[36mINFO�[0m[2021-04-13T12:34:44Z] ./01_install_requirements.sh: line 27: ansible-galaxy: command not found 

Looks like maybe we need to grab ansible-galaxy

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 13, 2021

Looks like maybe we need to grab ansible-galaxy

Hmm yeah, looking again at metal3-io/metal3-dev-env#574 I think there's some other logic we need e.g enabling the repo to install ansible etc

centos_install_requirements.sh actually enabled ansible-2-for-rhel-8-x86_64-rpms but then did a pip install of ansible which is weird, probably it'd be better if both dev-scripts and metal3-dev-env did a package install instead 🤔

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 13, 2021

Ok I copied what I think is the minimum from the now-deleted centos_install_requirements.sh, hopefully that fixes CI

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 13, 2021

Hmm, both CI tests failed connecting to the local registry, but even after a registry_cleanup I can't reproduce locally - rechecking to confirm if it's a flake or something related to the PR

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 13, 2021

/retest

@stbenjam
Copy link
Copy Markdown
Member

stbenjam commented Apr 13, 2021

/etc/hosts never gets the entry for the registry. This seems to be the problem:

�[36mINFO�[0m[2021-04-13T17:07:52Z] +++(network.sh:7): nth_ip(): python -c 'from ansible.plugins.filter import ipaddr; print(ipaddr.nthhost('\''fd2e:6f44:5dd8:c956::/120'\'', 1))' 
�[36mINFO�[0m[2021-04-13T17:07:52Z] network.sh: line 7: python: command not found 
�[36mINFO�[0m[2021-04-13T17:07:52Z] ++(network.sh:136): source(): export PROVISIONING_HOST_EXTERNAL_IP= 
�[36mINFO�[0m[2021-04-13T17:07:52Z] ++(network.sh:136): source(): PROVISIONING_HOST_EXTERNAL_IP= 

Is the binary python3 now?

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 14, 2021

Is the binary python3 now?

Oh thanks, I missed that - the issue is sudo alternatives --set python /usr/bin/python3 was called previously from centos_install_requirements.sh

I'll add it here, but probably some of these changes should be reinstated in metal3-dev-env for centos/rhel8 users too.

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 15, 2021

I think this is good now @stbenjam - thanks for the help figuring out the issues.

As a follow-up I'll take a look at if we need any similar changes to metal3-dev-env

@stbenjam
Copy link
Copy Markdown
Member

/test e2e-metal-ipi

CI is currently failing with some dep problems, curious if maybe the metal3-dev-env changes fix it since centos_requirements was replaced

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 17, 2021
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 20, 2021
@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 20, 2021

I updated to account for #1225 but now see #1229 so I'll hold until that merges then update again

@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 20, 2021

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 20, 2021
So we pick up metal3-io/metal3-dev-env#619

This is needed for testing live-iso install ref openshift-metal3#1193 since that needs
the sushy_ignore_boot_device option
@hardys
Copy link
Copy Markdown
Author

hardys commented Apr 20, 2021

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 20, 2021
@stbenjam
Copy link
Copy Markdown
Member

/approve

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 20, 2021
@stbenjam
Copy link
Copy Markdown
Member

/test e2e-metal-ipi

@stbenjam
Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 20, 2021
@openshift-merge-robot openshift-merge-robot merged commit 7fa7e1a into openshift-metal3:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants