Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Yu Wei
Got that.
Thanks

From: Michael Gugino <mgug...@redhat.com>
Sent: Thursday, April 12, 2018 3:20 AM
To: Yu Wei
Cc: Charles Moulliard; Clayton Coleman; users@lists.openshift.redhat.com; 
d...@lists.openshift.redhat.com
Subject: Re: Install OpenShift Origin 3.9 failed on single node

Make sure you quote 3.9 as '3.9' or it will be cast as a float type.  
openshift_release should be a string.

On Wed, Apr 11, 2018 at 3:55 AM, Yu Wei 
<yu20...@hotmail.com<mailto:yu20...@hotmail.com>> wrote:
In my previous installation, "openshift_release" and "openshift_pkg_version" 
were set to 3.9 and installation failed.
I changed the value to v3.9, it worked now.
When I installed OpenShift Origin 3.6, the value was set to 3.6 without prefix 
'v'.

Is there any changes?

Thanks again for help.

From: Charles Moulliard <cmoul...@redhat.com<mailto:cmoul...@redhat.com>>
Sent: Tuesday, April 10, 2018 8:24 PM
To: Clayton Coleman
Cc: Yu Wei; 
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>; 
d...@lists.openshift.redhat.com<mailto:d...@lists.openshift.redhat.com>
Subject: Re: Install OpenShift Origin 3.9 failed on single node

I think that something is not well defined under your inventory as this error 
arrives due to the following reason

def lib_utils_oo_image_tag_to_rpm_version(version, include_dash=False):
""" Convert an image tag string to an RPM version if necessary
Empty strings and strings that are already in rpm version format
are ignored. Also remove non semantic version components.

Ex. v3.2.0.10 -> -3.2.0.10
v1.2.0-rc1 -> -1.2.0
"""
if not isinstance(version, string_types):
raise errors.AnsibleFilterError("|failed expects a string or unicode")



CHARLES MOULLIARD

SOFTWARE ENGINEER MANAGER SPRING(BOOT)

Red Hat<https://www.redhat.com/>

cmoulli...@redhat.com<mailto:cmoulli...@redhat.com>M: 
+32-473-604014<tel:+32-473-604014>

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
@cmoulliard<https://twitter.com/cmoulliard>

On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman 
<ccole...@redhat.com<mailto:ccole...@redhat.com>> wrote:
You can try rerunning the install with -vv to get additional debug information.

What OS and version on Ansible are you using?

On Apr 10, 2018, at 3:24 AM, Yu Wei 
<yu20...@hotmail.com<mailto:yu20...@hotmail.com>> wrote:

Hi,
I tried to install openshift origin 3.9 on a single machine and encountered 
problems as below,

TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages] 
*
fatal: [host-10-1-241-74]: FAILED! => {"msg": "|failed expects a string or 
unicode"}
to retry, use: --limit 
@/root/jared/openshift-ansible/playbooks/deploy_cluster.retry

PLAY RECAP 

host-10-1-241-74   : ok=326  changed=41   unreachable=0failed=1
localhost  : ok=13   changed=0unreachable=0failed=0


INSTALLER STATUS 
**
Initialization : Complete (0:00:43)
Health Check   : Complete (0:00:05)
etcd Install   : Complete (0:00:58)
Master Install : Complete (0:05:03)
Master Additional Install  : Complete (0:00:48)
Node Install   : In Progress (0:00:38)
This phase can be restarted by running: playbooks/openshift-node/config.yml



Failure summary:


  1. Hosts:host-10-1-241-74
 Play: Configure containerized nodes
 Task: Install Node package, sdn-ovs, conntrack packages
 Message:  |failed expects a string or unicode

I didn't find useful information in docker / journal logs.
How could I fix this problem further?


Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

___
dev mailing list
d...@lists.openshift.redhat.com<mailto:d...@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

___
users mailing list
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



___
users mailing list
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Michael Gugino
Senior Software Engineer - OpenShift
mgug...@redhat.com<mailto:mgug...@redhat.com>
540-846-0304
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Michael Gugino
Make sure you quote 3.9 as '3.9' or it will be cast as a float type.
openshift_release should be a string.

On Wed, Apr 11, 2018 at 3:55 AM, Yu Wei <yu20...@hotmail.com> wrote:

> In my previous installation, "openshift_release" and
> "openshift_pkg_version" were set to 3.9 and installation failed.
> I changed the value to v3.9, it worked now.
> When I installed OpenShift Origin 3.6, the value was set to 3.6 without
> prefix 'v'.
>
> Is there any changes?
>
> Thanks again for help.
> --
> *From:* Charles Moulliard <cmoul...@redhat.com>
> *Sent:* Tuesday, April 10, 2018 8:24 PM
> *To:* Clayton Coleman
> *Cc:* Yu Wei; users@lists.openshift.redhat.com;
> d...@lists.openshift.redhat.com
> *Subject:* Re: Install OpenShift Origin 3.9 failed on single node
>
> I think that something is not well defined under your inventory as this
> error arrives due to the following reason
>
> def lib_utils_oo_image_tag_to_rpm_version(version, include_dash=False):
> """ Convert an image tag string to an RPM version if necessary
> Empty strings and strings that are already in rpm version format
> are ignored. Also remove non semantic version components.
>
> Ex. v3.2.0.10 -> -3.2.0.10
> v1.2.0-rc1 -> -1.2.0
> """
> if not isinstance(version, string_types):
> raise errors.AnsibleFilterError("|failed expects a string or
> unicode")
>
>
> CHARLES MOULLIARD
>
> SOFTWARE ENGINEER MANAGER SPRING(BOOT)
>
> Red Hat <https://www.redhat.com/>
>
> cmoulli...@redhat.comM: +32-473-604014
> <https://red.ht/sig>
> @cmoulliard <https://twitter.com/cmoulliard>
>
> On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman <ccole...@redhat.com>
> wrote:
>
> You can try rerunning the install with -vv to get additional debug
> information.
>
> What OS and version on Ansible are you using?
>
> On Apr 10, 2018, at 3:24 AM, Yu Wei <yu20...@hotmail.com> wrote:
>
> Hi,
> I tried to install openshift origin 3.9 on a single machine and
> encountered problems as below,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages]
> *
> fatal: [host-10-1-241-74]: FAILED! => {"msg": "|failed expects a string or
> unicode"} to retry, use: --limit
> @/root/jared/openshift-ansible/playbooks/deploy_cluster.retry PLAY RECAP
> 
> host-10-1-241-74   : ok=326  changed=41   unreachable=0
> failed=1localhost  : ok=13   changed=0
> unreachable=0failed=0INSTALLER STATUS
> **
> Initialization : Complete (0:00:43) Health Check
> : Complete (0:00:05) etcd Install   : Complete (0:00:58) Master
> Install : Complete (0:05:03) Master Additional Install  :
> Complete (0:00:48) Node Install   : In Progress (0:00:38)
>  This phase can be restarted by running:
> playbooks/openshift-node/config.yml Failure summary:   1. Hosts:
> host-10-1-241-74  Play: Configure containerized nodes
> Task: Install Node package, sdn-ovs, conntrack packages  Message:
> |failed expects a string or unicode*
>
> I didn't find useful information in docker / journal logs.
> How could I fix this problem further?
>
> Thanks,
>
> Jared, (韦煜)
> Software developer
> Interested in open source software, big data, Linux
>
> ___
> dev mailing list
> d...@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 
Michael Gugino
Senior Software Engineer - OpenShift
mgug...@redhat.com
540-846-0304
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Yu Wei
In my previous installation, "openshift_release" and "openshift_pkg_version" 
were set to 3.9 and installation failed.
I changed the value to v3.9, it worked now.
When I installed OpenShift Origin 3.6, the value was set to 3.6 without prefix 
'v'.

Is there any changes?

Thanks again for help.

From: Charles Moulliard <cmoul...@redhat.com>
Sent: Tuesday, April 10, 2018 8:24 PM
To: Clayton Coleman
Cc: Yu Wei; users@lists.openshift.redhat.com; d...@lists.openshift.redhat.com
Subject: Re: Install OpenShift Origin 3.9 failed on single node

I think that something is not well defined under your inventory as this error 
arrives due to the following reason

def lib_utils_oo_image_tag_to_rpm_version(version, include_dash=False):
""" Convert an image tag string to an RPM version if necessary
Empty strings and strings that are already in rpm version format
are ignored. Also remove non semantic version components.

Ex. v3.2.0.10 -> -3.2.0.10
v1.2.0-rc1 -> -1.2.0
"""
if not isinstance(version, string_types):
raise errors.AnsibleFilterError("|failed expects a string or unicode")



CHARLES MOULLIARD

SOFTWARE ENGINEER MANAGER SPRING(BOOT)

Red Hat<https://www.redhat.com/>

cmoulli...@redhat.com<mailto:cmoulli...@redhat.com>M: 
+32-473-604014<tel:+32-473-604014>

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
@cmoulliard<https://twitter.com/cmoulliard>

On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman 
<ccole...@redhat.com<mailto:ccole...@redhat.com>> wrote:
You can try rerunning the install with -vv to get additional debug information.

What OS and version on Ansible are you using?

On Apr 10, 2018, at 3:24 AM, Yu Wei 
<yu20...@hotmail.com<mailto:yu20...@hotmail.com>> wrote:

Hi,
I tried to install openshift origin 3.9 on a single machine and encountered 
problems as below,

TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages] 
*
fatal: [host-10-1-241-74]: FAILED! => {"msg": "|failed expects a string or 
unicode"}
to retry, use: --limit 
@/root/jared/openshift-ansible/playbooks/deploy_cluster.retry

PLAY RECAP 

host-10-1-241-74   : ok=326  changed=41   unreachable=0failed=1
localhost  : ok=13   changed=0unreachable=0failed=0


INSTALLER STATUS 
**
Initialization : Complete (0:00:43)
Health Check   : Complete (0:00:05)
etcd Install   : Complete (0:00:58)
Master Install : Complete (0:05:03)
Master Additional Install  : Complete (0:00:48)
Node Install   : In Progress (0:00:38)
This phase can be restarted by running: playbooks/openshift-node/config.yml



Failure summary:


  1. Hosts:host-10-1-241-74
 Play: Configure containerized nodes
 Task: Install Node package, sdn-ovs, conntrack packages
 Message:  |failed expects a string or unicode

I didn't find useful information in docker / journal logs.
How could I fix this problem further?


Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

___
dev mailing list
d...@lists.openshift.redhat.com<mailto:d...@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

___
users mailing list
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Install OpenShift Origin 3.9 failed on single node

2018-04-10 Thread Charles Moulliard
I think that something is not well defined under your inventory as this
error arrives due to the following reason

def lib_utils_oo_image_tag_to_rpm_version(version, include_dash=False):
""" Convert an image tag string to an RPM version if necessary
Empty strings and strings that are already in rpm version format
are ignored. Also remove non semantic version components.

Ex. v3.2.0.10 -> -3.2.0.10
v1.2.0-rc1 -> -1.2.0
"""
if not isinstance(version, string_types):
raise errors.AnsibleFilterError("|failed expects a string or
unicode")


CHARLES MOULLIARD

SOFTWARE ENGINEER MANAGER SPRING(BOOT)

Red Hat 

cmoulli...@redhat.comM: +32-473-604014

@cmoulliard 

On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman 
wrote:

> You can try rerunning the install with -vv to get additional debug
> information.
>
> What OS and version on Ansible are you using?
>
> On Apr 10, 2018, at 3:24 AM, Yu Wei  wrote:
>
> Hi,
> I tried to install openshift origin 3.9 on a single machine and
> encountered problems as below,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages]
> *
> fatal: [host-10-1-241-74]: FAILED! => {"msg": "|failed expects a string or
> unicode"} to retry, use: --limit
> @/root/jared/openshift-ansible/playbooks/deploy_cluster.retry PLAY RECAP
> 
> host-10-1-241-74   : ok=326  changed=41   unreachable=0
> failed=1localhost  : ok=13   changed=0
> unreachable=0failed=0INSTALLER STATUS
> **
> Initialization : Complete (0:00:43) Health Check
> : Complete (0:00:05) etcd Install   : Complete (0:00:58) Master
> Install : Complete (0:05:03) Master Additional Install  :
> Complete (0:00:48) Node Install   : In Progress (0:00:38)
>  This phase can be restarted by running:
> playbooks/openshift-node/config.yml Failure summary:   1. Hosts:
> host-10-1-241-74  Play: Configure containerized nodes
> Task: Install Node package, sdn-ovs, conntrack packages  Message:
> |failed expects a string or unicode*
>
> I didn't find useful information in docker / journal logs.
> How could I fix this problem further?
>
> Thanks,
>
> Jared, (韦煜)
> Software developer
> Interested in open source software, big data, Linux
>
> ___
> dev mailing list
> d...@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Install OpenShift Origin 3.9 failed on single node

2018-04-10 Thread Clayton Coleman
You can try rerunning the install with -vv to get additional debug
information.

What OS and version on Ansible are you using?

On Apr 10, 2018, at 3:24 AM, Yu Wei  wrote:

Hi,
I tried to install openshift origin 3.9 on a single machine and encountered
problems as below,



























*TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages]
*
fatal: [host-10-1-241-74]: FAILED! => {"msg": "|failed expects a string or
unicode"} to retry, use: --limit
@/root/jared/openshift-ansible/playbooks/deploy_cluster.retry PLAY RECAP

host-10-1-241-74   : ok=326  changed=41   unreachable=0
failed=1localhost  : ok=13   changed=0
unreachable=0failed=0INSTALLER STATUS
**
Initialization : Complete (0:00:43) Health Check
: Complete (0:00:05) etcd Install   : Complete (0:00:58) Master
Install : Complete (0:05:03) Master Additional Install  :
Complete (0:00:48) Node Install   : In Progress (0:00:38)
 This phase can be restarted by running:
playbooks/openshift-node/config.yml Failure summary:   1. Hosts:
host-10-1-241-74  Play: Configure containerized nodes
Task: Install Node package, sdn-ovs, conntrack packages  Message:
|failed expects a string or unicode*

I didn't find useful information in docker / journal logs.
How could I fix this problem further?

Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

___
dev mailing list
d...@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users