On Wed, May 24, 2017 at 1:53 PM, Sanjeev Rampal (srampal) <[email protected]
> wrote:

> I see this on Origin 1.4.1 and 1.5    building the cakephp example
>
>
>
> (1)     Build container sees i/o timeout when trying to push the image to
> the docker registry (running on master node which is schedulable). See the
> output shown in red below
>
> (2)     However when I curl the same registry url from another pod on the
> same node, I do get a response (even though the response is a 404). See the
> output shown in blue below
>
>
>

the failed connection is actually between the docker daemon running on the
node, and the registry.  I'd check if you can perform docker operations
(push/pull) against the openshift registry, from the node host itself.
Likely there is a networking issue that is preventing the node host from
accessing the registry service.



> Any tips where I should look further ? Doesn’t seem to be a networking or
> iptables type problem … or is it ?
>
>
>
> Rgds,
> Sanjeev
>
>
>
> [cloud@srampal-os1 ~]$ oc logs -f cakephp-mysql-example-1-build
>
> Cloning "https://github.com/openshift/cakephp-ex.git"; ...
>
>                 Commit:                
> 6f2ebfbeaaaae3b1771aaa36d5beec5b2898c82d
> (Merge pull request #61 from bparees/sc_metadata)
>
>                 Author:  Ben Parees <[email protected]>
>
>                 Date:     Wed Feb 15 16:28:08 2017 -0500
>
> ---> Installing application source...
>
> Found 'composer.json', installing dependencies using composer.phar...
>
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>
>                                  Dload  Upload   Total   Spent    Left
> Speed
>
> 100  298k  100  298k    0     0   142k      0  0:00:02  0:00:02 --:--:--
> 142k
>
> All settings correct for using Composer
>
> Downloading...
>
> Composer (version 1.4.2) successfully installed to:
> /opt/app-root/src/composer.phar
>
> Use it: php composer.phar
>
> Loading composer repositories with package information
>
> Installing dependencies (including require-dev) from lock file
>
> Package operations: 10 installs, 0 updates, 0 removals
>
>   - Installing squizlabs/php_codesniffer (1.5.6): Downloading (100%)
>
>   - Installing cakephp/cakephp-codesniffer (1.0.2): Downloading (100%)
>
>   - Installing phpunit/php-token-stream (1.2.2): Downloading (100%)
>
>   - Installing symfony/yaml (v2.8.16): Downloading (100%)
>
>   - Installing phpunit/php-text-template (1.2.1): Downloading (100%)
>
>   - Installing phpunit/phpunit-mock-objects (1.2.3): Downloading (100%)
>
>   - Installing phpunit/php-timer (1.0.8): Downloading (100%)
>
>   - Installing phpunit/php-file-iterator (1.4.2): Downloading (100%)
>
>   - Installing phpunit/php-code-coverage (1.2.18): Downloading (100%)
>
>   - Installing phpunit/phpunit (3.7.38): Downloading (100%)
>
> phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
>
> phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
>
> Generating optimized autoload files
>
> Running post commit hook ...
>
> sh: cannot set terminal process group (-1): Inappropriate ioctl for device
>
> sh: no job control in this shell
>
> Welcome to CakePHP v2.9.3 Console
>
> ---------------------------------------------------------------
>
> App : app
>
> Path: /opt/app-root/src/app/
>
> ---------------------------------------------------------------
>
> CakePHP Test Shell
>
> ---------------------------------------------------------------
>
> PHPUnit 3.7.38 by Sebastian Bergmann.
>
> .
>
> Time: 321 ms, Memory: 8.00MB
>
> OK (1 test, 1 assertion)
>
> Pushing image 172.30.31.100:5000/cakephp/cakephp-mysql-example:latest ...
>
> Registry server Address:
>
> Registry server User Name: serviceaccount
>
> Registry server Email: [email protected]
>
> Registry server Password: <<non-empty>>
>
> error: build error: Failed to push image: Get
> https://172.30.31.100:5000/v1/_ping: dial tcp 172.30.31.100:5000: i/o
> timeout
>
> [cloud@srampal-os1 ~]$ curl -k https://172.30.31.100:5000/v1/_ping
>
> curl: (7) Failed connect to 172.30.31.100:5000; Connection timed out
>
> ============================================================
> =========================================
>
> [root@srampal-os2 ~]# nsenter -t 31330 -n curl
> https://172.30.31.100:5000/v1
>
> 404 page not found
>
> [root@srampal-os2 ~]# nsenter -t 31330 -n curl
> https://172.30.31.100:5000/v1/_ping
>
> 404 page not found
>
> [root@srampal-os2 ~]# nsenter -t 31330 -n curl
> https://172.30.31.100:5000/v2
>
> <a href="/v2/">Moved Permanently</a>.
>
>
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 
Ben Parees | OpenShift
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to