← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461192] Re: TypeError: execv() arg 2 must contain only strings

 

** Also affects: nova
   Importance: Undecided
       Status: New

** No longer affects: nova

** Also affects: landscape
   Importance: Undecided
       Status: New

** Also affects: landscape/release-29
   Importance: Undecided
       Status: New

** Changed in: landscape/release-29
    Milestone: None => 15.08

** Changed in: landscape/release-29
    Milestone: 15.08 => 15.07

** Changed in: landscape/release-29
   Importance: Undecided => High

** Changed in: landscape
   Importance: Undecided => High

-- 
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/1461192

Title:
  TypeError: execv() arg 2 must contain only strings

Status in Landscape Server:
  New
Status in Landscape Server release-29 series:
  New
Status in nova-compute package in Juju Charms Collection:
  In Progress

Bug description:
  Got this during an HA Autopilot deployment:

  2015-06-02 16:15:49 INFO unit.nova-compute/2.juju-log cmd.go:247 ceph:68: Rendering from template: nova.conf
  2015-06-02 16:15:49 INFO unit.nova-compute/2.juju-log cmd.go:247 ceph:68: Wrote template /etc/nova/nova.conf.
  2015-06-02 16:15:49 INFO unit.nova-compute/2.juju-log cmd.go:247 ceph:68: Libvirt secret changed for uuid 514c9fca-8cbe-11e2-9c52-3bc8c7819472.
  2015-06-02 16:15:49 INFO unit.nova-compute/2.juju-log cmd.go:247 ceph:68: Defining new libvirt secret for uuid 514c9fca-8cbe-11e2-9c52-3bc8c7819472.
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40 Secret 514c9fca-8cbe-11e2-9c52-3bc8c7819472 created
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40 
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40 Traceback (most recent call last):
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/ceph-relation-changed", line
   390, in <module>
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     main()
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/ceph-relation-changed", line
   384, in main
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     hooks.execute(sys.argv)
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/charmhelpers/core/hookenv.py
  ", line 557, in execute
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     self._hooks[hook_name]()
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/charmhelpers/core/host.py", 
  line 312, in wrapped_f
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     f(*args, **kwargs)
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/ceph-relation-changed", line
   284, in ceph_changed
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     key=relation_get('key'))
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/var/lib/juju/agents/unit-nova-compute-2/charm/hooks/nova_compute_utils.py", line
   564, in create_libvirt_secret
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     check_call(cmd)
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     retcode = call(*popenargs, **kwargs)
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/usr/lib/python2.7/subprocess.py", line 522, in call
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     return Popen(*popenargs, **kwargs).wait()
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     errread, errwrite)
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40     raise child_exception
  2015-06-02 16:15:49 INFO unit.nova-compute/2.ceph-relation-changed logger.go:40 TypeError: execv() arg 2 must contain only strings
  2015-06-02 16:15:49 ERROR juju.worker.uniter.operation runhook.go:86 hook "ceph-relation-changed" failed: exit status 1

  
  That's:

      cmd = ['virsh', '-c', uri, 'secret-set-value', '--secret', secret_uuid,
             '--base64', key]
      check_call(cmd)

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