MCP on non-RH distros?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MCP on non-RH distros?

Vojtech Sazel
Hi,

did anyone have success with getting it working on Ubuntu/Mint?
I seem to be getting error on this step:
export DOCKERHUB_USERNAME="<username>"
export DOCKERHUB_PASSWORD="<password>"
cd installer/ && ansible-playbook playbook.yml -e "dockerhub_username=$DOCKERHUB_USERNAME" -e "dockerhub_password=$DOCKERHUB_PASSWORD" --ask-become-pass

It ends with:
/ TASK [andrewrothstein.unarchive-deps : install common \
\ pkgs...]                                              /
 -------------------------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

ok: [localhost] => (item=unzip)
ok: [localhost] => (item=gzip)
ok: [localhost] => (item=bzip2)
ok: [localhost] => (item=tar)
failed: [localhost] (item=xz) => {"failed": true, "item": "xz", "msg": "No package matching 'xz' is available"}
to retry, use: --limit @/home/vsazel/go/src/github.com/feedhenry/mcp-standalone/installer/playbook.retry
 ____________
< PLAY RECAP >
 ------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

localhost                  : ok=1    changed=0    unreachable=0    failed=1   

I think it might be related to that on Ubuntu, packages is named xz-utils. But so far with my low experience with Ansible, I can't fix the error. It seems to be in that andrewrothstein.unarchive-deps module.

--

VOJTĚCH SÁZEL

SENIOR QUALITY ENGINEER, MOBILE QE

Red Hat 

Remote Czech Republic

[hidden email]    IM: vsazel


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev
Reply | Threaded
Open this post in threaded view
|

Re: MCP on non-RH distros?

Matthias Wessendorf
never tried on ubuntu ... perhaps... create an xz alias ? :-)

On Thu, Oct 19, 2017 at 10:42 AM, Vojtech Sazel <[hidden email]> wrote:
Hi,

did anyone have success with getting it working on Ubuntu/Mint?
I seem to be getting error on this step:
export DOCKERHUB_USERNAME="<username>"
export DOCKERHUB_PASSWORD="<password>"
cd installer/ && ansible-playbook playbook.yml -e "dockerhub_username=$DOCKERHUB_USERNAME" -e "dockerhub_password=$DOCKERHUB_PASSWORD" --ask-become-pass

It ends with:
/ TASK [andrewrothstein.unarchive-deps : install common \
\ pkgs...]                                              /
 -------------------------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

ok: [localhost] => (item=unzip)
ok: [localhost] => (item=gzip)
ok: [localhost] => (item=bzip2)
ok: [localhost] => (item=tar)
failed: [localhost] (item=xz) => {"failed": true, "item": "xz", "msg": "No package matching 'xz' is available"}
to retry, use: --limit @/home/vsazel/go/src/github.com/feedhenry/mcp-standalone/installer/playbook.retry
 ____________
< PLAY RECAP >
 ------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

localhost                  : ok=1    changed=0    unreachable=0    failed=1   

I think it might be related to that on Ubuntu, packages is named xz-utils. But so far with my low experience with Ansible, I can't fix the error. It seems to be in that andrewrothstein.unarchive-deps module.

--

VOJTĚCH SÁZEL

SENIOR QUALITY ENGINEER, MOBILE QE

Red Hat 

Remote Czech Republic

[hidden email]    IM: vsazel


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev




--
Project lead AeroGear.org

_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev
Reply | Threaded
Open this post in threaded view
|

Re: MCP on non-RH distros?

David Martin
I have only tried on Fedora Linux.

I'm not sure how far you'll get with Ubuntu.
The Origin docs say
"You can quickly get OpenShift Origin running in a container using images from Docker Hub on a Linux system. This method is supported on Fedora, CentOS, and Red Hat Enterprise Linux (RHEL) hosts only."


As we're using the container method via 'oc cluster up', I believe this applies

On 19 October 2017 at 12:01, Matthias Wessendorf <[hidden email]> wrote:
never tried on ubuntu ... perhaps... create an xz alias ? :-)

On Thu, Oct 19, 2017 at 10:42 AM, Vojtech Sazel <[hidden email]> wrote:
Hi,

did anyone have success with getting it working on Ubuntu/Mint?
I seem to be getting error on this step:
export DOCKERHUB_USERNAME="<username>"
export DOCKERHUB_PASSWORD="<password>"
cd installer/ && ansible-playbook playbook.yml -e "dockerhub_username=$DOCKERHUB_USERNAME" -e "dockerhub_password=$DOCKERHUB_PASSWORD" --ask-become-pass

It ends with:
/ TASK [andrewrothstein.unarchive-deps : install common \
\ pkgs...]                                              /
 -------------------------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

ok: [localhost] => (item=unzip)
ok: [localhost] => (item=gzip)
ok: [localhost] => (item=bzip2)
ok: [localhost] => (item=tar)
failed: [localhost] (item=xz) => {"failed": true, "item": "xz", "msg": "No package matching 'xz' is available"}
to retry, use: --limit @/home/vsazel/go/src/github.com/feedhenry/mcp-standalone/installer/playbook.retry
 ____________
< PLAY RECAP >
 ------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

localhost                  : ok=1    changed=0    unreachable=0    failed=1   

I think it might be related to that on Ubuntu, packages is named xz-utils. But so far with my low experience with Ansible, I can't fix the error. It seems to be in that andrewrothstein.unarchive-deps module.

--

VOJTĚCH SÁZEL

SENIOR QUALITY ENGINEER, MOBILE QE

Red Hat 

Remote Czech Republic

[hidden email]    IM: vsazel


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev




--
Project lead AeroGear.org

_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev




--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (feedhenry, mobile-internal)

_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev