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

Installing python 3.3 na my private openshift installation



Hi guys,
I'm still fairly new and I come across any interesting cases that still have no idea how to approach :)

When i try to install python 3.3 app from command line i receive 2 common errors:

→ rhc app create python33 python-3.3
Application Options
-------------------
  Domain:     apps
  Cartridges: python-3.3
  Gear Size:  default
  Scaling:    no

Creating application 'python33' ...
Unable to complete the requested operation due to: The server small-1.nodes.example.com that your application is running on failed to respond in time.  This may be due to a
system restart..
Reference ID: 47f93d3712e33aefa2509199cc580362


→ rhc app create python33 python-3.3
Application Options
-------------------
  Domain:     apps
  Cartridges: python-3.3
  Gear Size:  default
  Scaling:    no

Creating application 'python33' ... Initialized empty Git repository in /var/lib/openshift/528f1634bfbf5a287d00023c/python/upstream-repo/.git/
/var/lib/openshift/528f1634bfbf5a287d00023c/python/bin/control: line 12: /var/lib/openshift/528f1634bfbf5a287d00023c/python//usr/versions//bin/control: No such file or directory
Unable to complete the requested operation due to: An invalid exit code (157) was returned from the server small-1.nodes.example.com.  This indicates an unexpected problem during
the execution of your request..
Reference ID: 46f91d51f3be93ab014e1cbc80d4b522



In /var/log/openshift/node/platform-trace.log i have the following in case of the first error message with the time out:



November 22 10:48:01 INFO oo_spawn running useradd -u 2478                     -d /var/lib/openshift/528f1a3bbfbf5a287d00028a                     -s /usr/bin/oo-trap-user                     -c 'OpenShift guest'                     -m                     -k /etc/openshift/skel                     528f1a3bbfbf5a287d00028a -G "": {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 15>, :err=>#<IO:fd 13>}
November 22 10:48:01 INFO oo_spawn running ip link show dev eth0: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :chdir=>"/", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:48:01 INFO oo_spawn buffer(13/) 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP qlen 1000
    link/ether 00:16:3e:ea:08:de brd ff:ff:ff:ff:ff:ff

November 22 10:48:01 INFO oo_spawn running tc -s class show dev eth0 classid 1:9ae: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :chdir=>"/", :out=>#<IO:fd 16>, :err=>#<IO:fd 14>}
November 22 10:48:01 INFO oo_spawn running cat /tmp/tc-batch20131122-853-81f9tb | tc -force -batch: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :chdir=>"/", :out=>#<IO:fd 16>, :err=>#<IO:fd 14>}
November 22 10:48:01 INFO oo_spawn running quota --always-resolve -w 528f1a3bbfbf5a287d00028a: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:48:01 INFO oo_spawn buffer(13/) Disk quotas for user 528f1a3bbfbf5a287d00028a (uid 2478): none

November 22 10:48:01 INFO oo_spawn running setquota --always-resolve -u 528f1a3bbfbf5a287d00028a 0 1048576 0 40000 -a /: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:48:01 INFO oo_spawn running oo-iptables-port-proxy removeproxy 45421 45422 45423 45424 45425: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:48:02 INFO oo_spawn running /sbin/runuser -s /bin/sh 528f1a3bbfbf5a287d00028a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c435' /bin/sh -c \"/usr/bin/ssh-keygen -N '' -f /var/lib/openshift/528f1a3bbfbf5a287d00028a/.openshift_ssh/id_rsa\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/528f1a3bbfbf5a287d00028a", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:48:02 INFO oo_spawn buffer(13/) Generating public/private rsa key pair.
Your identification has been saved in /var/lib/openshift/528f1a3bbfbf5a287d00028a/.openshift_ssh/id_rsa.
Your public key has been saved in /var/lib/openshift/528f1a3bbfbf5a287d00028a/.openshift_ssh/id_rsa.pub.
The key fingerprint is:
6f:48:b3:91:e2:ca:7b:ac:1e:cf:40:77:36:d0:91:9b 528f1a3bbfbf5a287d00028a small-1 nodes example com
The key's randomart image is:
+--[ RSA 2048]----+
|        ..       |
|       ...       |
|      . .o       |
|       .E.       |
|    . o S        |
|   . o = B       |
|    o.. o o      |
|   . *o  .       |
|   .*+o          |
+-----------------+

November 22 10:48:02 INFO oo_spawn running quota --always-resolve -w 528f1a3bbfbf5a287d00028a: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 12>, :err=>#<IO:fd 8>}
November 22 10:48:02 INFO oo_spawn buffer(11/) Disk quotas for user 528f1a3bbfbf5a287d00028a (uid 2478):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/xvda1     172       0 1048576              25       0   40000

November 22 10:48:05 INFO oo_spawn running /bin/cp -ad /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/metadata /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/LICENSE /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/README.md /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/bin /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/COPYRIGHT /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/run /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/logs /var/lib/openshift/.cartridge_repository/redhat-python/0.0.7/env /var/lib/openshift/528f1a3bbfbf5a287d00028a/python: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 12>, :err=>#<IO:fd 8>}
November 22 10:48:06 INFO oo_spawn running /usr/sbin/lsof -i @127.4.215.1:8080: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 12>, :err=>#<IO:fd 8>}
November 22 10:48:06 INFO oo_spawn running /sbin/runuser -s /bin/sh 528f1a3bbfbf5a287d00028a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c435' /bin/sh -c \"/usr/bin/oo-erb -S 2 -- /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/env/OPENSHIFT_PYTHON_LOG_DIR.erb > /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/env/OPENSHIFT_PYTHON_LOG_DIR\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/528f1a3bbfbf5a287d00028a/", :out=>#<IO:fd 13>, :err=>#<IO:fd 11>}
November 22 10:48:06 INFO oo_spawn running /sbin/runuser -s /bin/sh 528f1a3bbfbf5a287d00028a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c435' /bin/sh -c \"/usr/bin/oo-erb -S 2 -- /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/env/PYTHON_EGG_CACHE.erb > /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/env/PYTHON_EGG_CACHE\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/528f1a3bbfbf5a287d00028a/", :out=>#<IO:fd 13>, :err=>#<IO:fd 11>}
November 22 10:48:06 INFO oo_spawn running /sbin/runuser -s /bin/sh 528f1a3bbfbf5a287d00028a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c435' /bin/sh -c \"/var/lib/openshift/528f1a3bbfbf5a287d00028a/python/bin/setup --version 3.3\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/528f1a3bbfbf5a287d00028a/python", :out=>#<IO:fd 13>, :err=>#<IO:fd 11>}
November 22 10:48:07 INFO oo_spawn buffer(12/) Initialized empty Git repository in /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/upstream-repo/.git/

November 22 10:51:11 INFO oo_spawn running /sbin/runuser -s /bin/sh 528f1a3bbfbf5a287d00028a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c435' /bin/sh -c \"set -e; /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/bin/control stop \"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/528f1a3bbfbf5a287d00028a/python", :out=>#<IO:fd 15>, :err=>#<IO:fd 13>}
November 22 10:51:11 INFO oo_spawn buffer(11/) /var/lib/openshift/528f1a3bbfbf5a287d00028a/python/bin/control: line 12: /var/lib/openshift/528f1a3bbfbf5a287d00028a/python//usr/versions//bin/control: No such file or directory

November 22 10:51:11 INFO oo_spawn running quota --always-resolve -w 528f1a3bbfbf5a287d00028a: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 15>, :err=>#<IO:fd 13>}
November 22 10:51:11 INFO oo_spawn buffer(14/) Disk quotas for user 528f1a3bbfbf5a287d00028a (uid 2478):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/xvda1   19428       0 1048576              36       0   40000

November 22 10:51:12 INFO oo_spawn running /usr/bin/pkill -9 -u 2478: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 16>, :err=>#<IO:fd 14>}
November 22 10:51:13 INFO oo_spawn running /usr/bin/pgrep -u 2478: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 16>, :err=>#<IO:fd 14>}
November 22 10:51:13 INFO oo_spawn running quota --always-resolve -w 528f1a3bbfbf5a287d00028a: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 16>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn buffer(14/) Disk quotas for user 528f1a3bbfbf5a287d00028a (uid 2478):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/xvda1     200       0 1048576              29       0   40000

November 22 10:51:13 INFO oo_spawn running ip link show dev eth0: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :chdir=>"/", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn buffer(13/) 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP qlen 1000
    link/ether 00:16:3e:ea:08:de brd ff:ff:ff:ff:ff:ff

November 22 10:51:13 INFO oo_spawn running cat /tmp/tc-batch20131122-853-jzdyiu | tc -force -batch: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :chdir=>"/", :out=>#<IO:fd 16>, :err=>#<IO:fd 14>}
November 22 10:51:13 INFO oo_spawn running rm -f /var/lib/openshift/.last_access/python33 > /dev/null: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn running /usr/bin/pkill -9 -u 2478: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn running /usr/bin/pgrep -u 2478: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn running /usr/bin/ipcs -c -m 2> /dev/null: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn buffer(13/)
------ Shared Memory Segment Creators/Owners --------
shmid      perms      cuid       cgid       uid        gid


November 22 10:51:13 INFO oo_spawn running /usr/bin/ipcs -c -q 2> /dev/null: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn buffer(13/)
------ Message Queues: Creators/Owners --------
msqid      perms      cuid       cgid       uid        gid


November 22 10:51:13 INFO oo_spawn running /usr/bin/ipcs -c -s 2> /dev/null: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn buffer(13/)
------ Semaphore Arrays Creators/Owners --------
semid      perms      cuid       cgid       uid        gid
0          600        root       root       root       root
32769      600        root       root       root       root
65538      600        root       root       apache     apache
98307      600        root       root       apache     apache
131076     600        root       root       apache     apache
950278     600        528e8638bfbf5a287d0001db 528e8638bfbf5a287d0001db 528e8638bfbf5a287d0001db 528e8638bfbf5a287d0001db


November 22 10:51:13 INFO oo_spawn running oo-iptables-port-proxy removeproxy 45421 45422 45423 45424 45425: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:13 INFO oo_spawn running userdel --remove -f "528f1a3bbfbf5a287d00028a": {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 14>, :err=>#<IO:fd 12>}
November 22 10:51:14 INFO oo_spawn running setquota --always-resolve -u 528f1a3bbfbf5a287d00028a 0 0 0 0 -a /: {:unsetenv_others=>false, :close_others=>true, :in=>"/dev/null", :out=>#<IO:fd 13>, :err=>#<IO:fd 8>}
November 22 10:51:14 INFO oo_spawn buffer(7/) setquota:
November 22 10:51:14 INFO oo_spawn buffer(7/) user 528f1a3bbfbf5a287d00028a does not exist.

Can you give me some guidance on how to debug that?

Thnaks in advance guys!

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