[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing using openshift-ansible



Ok this is just a theory, but because you're using a single system as
master and node, IIRC the node may be getting flagged as
unschedulable, can you check if it's schedulable in "oc get nodes"?

If so, and the registry is not yet running because there are no
schedulable nodes where it can run, that might explain why it cannot
figure out the port automatically.

On Tue, Oct 4, 2016 at 10:14 AM, Jude Mwenda <jude afrigeo co ke> wrote:
> Might have to do with this as it seems it requires a port. n value be
> --port?
>
> https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_hosted/tasks/registry/secure.yml#L2
>
> On Tue, Oct 4, 2016 at 9:07 AM, Devan Goodwin <dgoodwin redhat com> wrote:
>>
>> Not something I've seen before but could you post a pastebin for your
>> inventory with any sensitive info removed?
>>
>> On Mon, Oct 3, 2016 at 4:17 PM, Jude Mwenda <jude afrigeo co ke> wrote:
>> > Hey,
>> >
>> > I am using the openshift ansible repository to install a single
>> > master/node
>> > server. When I run the playbook using the byo template, I get the
>> > following
>> > error. Any pointers on what I am doing wrong, or do are there parameters
>> > in
>> > my host file required for this?
>> >
>> > TASK [openshift_hosted : Create passthrough route for docker-registry]
>> > *********
>> > fatal: [master.example.com]: FAILED! => {"changed": true, "cmd": ["oc",
>> > "create", "route", "passthrough", "--service", "docker-registry",
>> > "--config=/tmp/openshift-ansible-7q9png/admin.kubeconfig", "-n",
>> > "default"],
>> > "delta": "0:00:00.178512", "end": "2016-10-03 15:22:54.527194",
>> > "failed":
>> > true, "failed_when_result": true, "rc": 1, "start": "2016-10-03
>> > 15:22:54.348682", "stderr": "error: you need to provide a route port via
>> > --port when exposing a non-existent service", "stdout": "",
>> > "stdout_lines":
>> > [], "warnings": []}
>> >
>> >
>> > _______________________________________________
>> > dev mailing list
>> > dev lists openshift redhat com
>> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>> >
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]