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

Re: docker-registry isn't installed with Vagrant + Ansible + OpenShift Origin





On Thu, Jan 28, 2016 at 9:46 AM, Stéphane Klein <contact stephane-klein info> wrote:
Hi,

what I did :

```
$ git clone git github com:openshift/openshift-ansible.git
$ cd openshift-ansible
$ vagrant up --no-provision
$ vagrant provision
$ vagrant ssh master
[vagrant ose3-master ~]$ oc get all
NAME         CLUSTER_IP   EXTERNAL_IP   PORT(S)                 SELECTOR   AGE
kubernetes   172.30.0.1   <none>        443/TCP,53/UDP,53/TCP   <none>     59m
```

I didn't see registry.

In my Ansible log file :

```
2016-01-28 14:45:33,291 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,292 p=70821 u=stephane |  TASK: [openshift_registry | set_fact _oreg_images="--images='{{ openshift.master.registry_url }}'"] ***
2016-01-28 14:45:33,298 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,299 p=70821 u=stephane |  TASK: [openshift_registry | set_fact _oreg_selector="--selector='{{ openshift.master.registry_selector }}'"] ***
2016-01-28 14:45:33,305 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,305 p=70821 u=stephane |  TASK: [openshift_registry | Deploy OpenShift Registry] ************************
2016-01-28 14:45:33,312 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,312 p=70821 u=stephane |  TASK: [openshift_registry | Determine if nfs volume is already attached] ******
2016-01-28 14:45:33,318 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,318 p=70821 u=stephane |  TASK: [openshift_registry | set_fact ] ****************************************
2016-01-28 14:45:33,324 p=70821 u=stephane |  skipping: [master]
2016-01-28 14:45:33,325 p=70821 u=stephane |  TASK: [openshift_registry | Add nfs volume to dc/docker-registry] *************
2016-01-28 14:45:33,330 p=70821 u=stephane |  skipping: [master]
```

I see that master is skiped. Why ?

The registry is only deployed when there is an infra region defined (nodes labeled with region=infra). That said, it is also not currently working as intended, and I've been working on a PR to address the issue: https://github.com/openshift/openshift-ansible/pull/1237

Soon, there will also be a requirement on having persistent storage available before deploying the registry automatically as well (since the registry content disappearing underneath you would be a really bad thing.
 

Best regards,

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




--
Jason DeTiberus

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