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 
Sent: Tuesday, April 10, 2018 8:24 PM
To: Clayton Coleman
Cc: Yu Wei; us...@lists.openshift.redhat.com; dev@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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]
@cmoulliard

On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman 
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 
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
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

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


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


CentOS PaaS SIG meeting (2018-04-11)

2018-04-11 Thread Troy Dawson
Hello,
It's time for our weekly PaaS SIG sync-up meeting

Time: 1700 UTC - Wedensdays (date -d "1700 UTC")
Date: Today Wedensday, 11 April 2018
Where: IRC- Freenode - #centos-devel

Agenda:
- OpenShift Current Status
-- rpms
-- automation
- Training for new committee members
-- How to do manual builds of origin and openshift-ansible
- New time for weekly meeting
- Open Floor

Minutes from last meeting:
https://www.centos.org/minutes/2018/April/centos-devel.2018-04-04-17.00.log.html

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


Re: Openshift Origin 3.9 rpms -> ansible playbooks

2018-04-11 Thread Charles Moulliard
Any ideas when rpms about origin 3.9 will be available under
http://mirror.centos.org/centos/7/paas/x86_64/ ?

Can we use the origin docker images with the openshift-ansible playbook
instead of the RPMS to install the openshift_cluster ? If the answer to my
question is yes, what should I do then ?

On Tue, Mar 20, 2018 at 6:52 AM, Clayton Coleman 
wrote:

> We’re still waiting for a few more fixes to be delivered to 3.9 related to
> the subpath changes Kube.
>
> On Mar 19, 2018, at 4:15 AM, Charles Moulliard 
> wrote:
>
> Do we know when Origin official rpms for OpenShift 3.9 will be released
> under "http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin39/";
> ?
> Who manage such builds for RHEL, CentOS, Fedora ?
>
> On Fri, Mar 16, 2018 at 4:42 PM, Troy Dawson  wrote:
>
>> On Fri, Mar 16, 2018 at 8:32 AM, Charles Moulliard 
>> wrote:
>> > Hi,
>> >
>> > Are the OpenShift Origin v3.9 rpms available from a repo ?
>> > How can we get them in order to install openshift cluster using ansible
>> > playbook ?
>> >
>> > Regards
>> >
>> > Charles
>> >
>> > ___
>> > dev mailing list
>> > dev@lists.openshift.redhat.com
>> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>> >
>>
>> https://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin39/
>>
>>   I think it's
>> ansible-playbook -e openshift_repos_enable_testing=true
>>
>
> ___
> dev mailing list
> dev@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
___
dev mailing list
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


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  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 
> *Sent:* Tuesday, April 10, 2018 8:24 PM
> *To:* Clayton Coleman
> *Cc:* Yu Wei; us...@lists.openshift.redhat.com;
> dev@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 
>
> 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
> dev@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
> ___
> users mailing list
> us...@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
> ___
> users mailing list
> us...@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


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


Re: Install OpenShift Origin 3.9 failed on single node

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

From: Michael Gugino 
Sent: Thursday, April 12, 2018 3:20 AM
To: Yu Wei
Cc: Charles Moulliard; Clayton Coleman; us...@lists.openshift.redhat.com; 
dev@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 
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 mailto:cmoul...@redhat.com>>
Sent: Tuesday, April 10, 2018 8:24 PM
To: Clayton Coleman
Cc: Yu Wei; 
us...@lists.openshift.redhat.com; 
dev@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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]
@cmoulliard

On Tue, Apr 10, 2018 at 2:17 PM, Clayton Coleman 
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 
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
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

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



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




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