← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424532] [NEW] setup() takes at least 2 arguments (1 given)

 

Public bug reported:

Trying to install devstack K on CI slave.

Local conf:
[[local|localrc]]
HOST_IP=10.140.0.3
FLAT_INTERFACE=eth0
FIXED_RANGE=10.150.0.0/16
FIXED_NETWORK_SIZE=255
FLOATING_RANGE=10.140.0.0/16 
PUBLIC_NETWORK_GATEWAY=10.140.0.3
NETWORK_GATEWAY=10.150.0.1
MULTI_HOST=0
SYSLOG=False
SCREEN_LOGDIR=/opt/stack/logs/screen-logs
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=*
MYSQL_PASSWORD=*
RABBIT_PASSWORD=*
SERVICE_PASSWORD=*
SERVICE_TOKEN=*
CINDER_REPO=https://review.openstack.org/openstack/cinder
CINDER_BRANCH=refs/changes/01/152401/21

Error during install:
15-02-23 06:30:11.138 | ++ ls /opt/stack/status/stack/n-novnc.failure
2015-02-23 06:30:11.141 | + failures=/opt/stack/status/stack/n-novnc.failure
2015-02-23 06:30:11.141 | + for service in '$failures'
2015-02-23 06:30:11.142 | ++ basename /opt/stack/status/stack/n-novnc.failure
2015-02-23 06:30:11.143 | + service=n-novnc.failure
2015-02-23 06:30:11.143 | + service=n-novnc
2015-02-23 06:30:11.143 | + echo 'Error: Service n-novnc is not running'
2015-02-23 06:30:11.143 | Error: Service n-novnc is not running
2015-02-23 06:30:11.143 | + '[' -n /opt/stack/status/stack/n-novnc.failure ']'
2015-02-23 06:30:11.143 | + die 1494 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'
2015-02-23 06:30:11.143 | + local exitcode=0
2015-02-23 06:30:11.143 | [Call Trace]
2015-02-23 06:30:11.143 | /opt/devstack/stack.sh:1297:service_check
2015-02-23 06:30:11.143 | /opt/devstack/functions-common:1494:die
2015-02-23 06:30:11.147 | [ERROR] /opt/devstack/functions-common:1494 More details about the above errors can be found with screen, with ./rejoin-stack.sh
2015-02-23 06:30:12.151 | Error on exit

Novnc screen:
stack@d-p-c-local-01-995:/opt/devstack$ /usr/local/bin/nova-novncproxy --config- 
file /etc/nova/nova.conf --web /opt/stack/noVNC & echo $! >/opt/stack/status/sta 
ck/n-novnc.pid; fg || echo "n-novnc failed to start" | tee "/opt/stack/status/st 
ack/n-novnc.failure"
[1] 10200
/usr/local/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /opt/stack/noVNC
Traceback (most recent call last):
  File "/usr/local/bin/nova-novncproxy", line 9, in <module>
    load_entry_point('nova==2015.1.dev387', 'console_scripts', 'nova-novncproxy')()
  File "/opt/stack/nova/nova/cmd/novncproxy.py", line 45, in main
    port=CONF.novncproxy_port)
  File "/opt/stack/nova/nova/cmd/baseproxy.py", line 57, in proxy
    logging.setup("nova")
TypeError: setup() takes at least 2 arguments (1 given)
n-novnc failed to start
stack@d-p-c-local-01-995:/opt/devstack$

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1424532

Title:
  setup() takes at least 2 arguments (1 given)

Status in OpenStack Compute (Nova):
  New

Bug description:
  Trying to install devstack K on CI slave.

  Local conf:
  [[local|localrc]]
  HOST_IP=10.140.0.3
  FLAT_INTERFACE=eth0
  FIXED_RANGE=10.150.0.0/16
  FIXED_NETWORK_SIZE=255
  FLOATING_RANGE=10.140.0.0/16 
  PUBLIC_NETWORK_GATEWAY=10.140.0.3
  NETWORK_GATEWAY=10.150.0.1
  MULTI_HOST=0
  SYSLOG=False
  SCREEN_LOGDIR=/opt/stack/logs/screen-logs
  LOGFILE=/opt/stack/logs/stack.sh.log
  ADMIN_PASSWORD=*
  MYSQL_PASSWORD=*
  RABBIT_PASSWORD=*
  SERVICE_PASSWORD=*
  SERVICE_TOKEN=*
  CINDER_REPO=https://review.openstack.org/openstack/cinder
  CINDER_BRANCH=refs/changes/01/152401/21

  Error during install:
  15-02-23 06:30:11.138 | ++ ls /opt/stack/status/stack/n-novnc.failure
  2015-02-23 06:30:11.141 | + failures=/opt/stack/status/stack/n-novnc.failure
  2015-02-23 06:30:11.141 | + for service in '$failures'
  2015-02-23 06:30:11.142 | ++ basename /opt/stack/status/stack/n-novnc.failure
  2015-02-23 06:30:11.143 | + service=n-novnc.failure
  2015-02-23 06:30:11.143 | + service=n-novnc
  2015-02-23 06:30:11.143 | + echo 'Error: Service n-novnc is not running'
  2015-02-23 06:30:11.143 | Error: Service n-novnc is not running
  2015-02-23 06:30:11.143 | + '[' -n /opt/stack/status/stack/n-novnc.failure ']'
  2015-02-23 06:30:11.143 | + die 1494 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'
  2015-02-23 06:30:11.143 | + local exitcode=0
  2015-02-23 06:30:11.143 | [Call Trace]
  2015-02-23 06:30:11.143 | /opt/devstack/stack.sh:1297:service_check
  2015-02-23 06:30:11.143 | /opt/devstack/functions-common:1494:die
  2015-02-23 06:30:11.147 | [ERROR] /opt/devstack/functions-common:1494 More details about the above errors can be found with screen, with ./rejoin-stack.sh
  2015-02-23 06:30:12.151 | Error on exit

  Novnc screen:
  stack@d-p-c-local-01-995:/opt/devstack$ /usr/local/bin/nova-novncproxy --config- 
  file /etc/nova/nova.conf --web /opt/stack/noVNC & echo $! >/opt/stack/status/sta 
  ck/n-novnc.pid; fg || echo "n-novnc failed to start" | tee "/opt/stack/status/st 
  ack/n-novnc.failure"
  [1] 10200
  /usr/local/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /opt/stack/noVNC
  Traceback (most recent call last):
    File "/usr/local/bin/nova-novncproxy", line 9, in <module>
      load_entry_point('nova==2015.1.dev387', 'console_scripts', 'nova-novncproxy')()
    File "/opt/stack/nova/nova/cmd/novncproxy.py", line 45, in main
      port=CONF.novncproxy_port)
    File "/opt/stack/nova/nova/cmd/baseproxy.py", line 57, in proxy
      logging.setup("nova")
  TypeError: setup() takes at least 2 arguments (1 given)
  n-novnc failed to start
  stack@d-p-c-local-01-995:/opt/devstack$

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1424532/+subscriptions


Follow ups

References