← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1202513] Re: glance-replicator will expose trace when no args given

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1202513

Title:
  glance-replicator will expose trace when no args given

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Based on current implement, glance-replicator will expose trace if
  there is no fromserver:port and toserver:port given. The trace is as
  below.

  
  flwang@flwang-ThinkPad-X230:~/MyWorkSpace/workspace_community/glance$ glance-replicator livecopy
  Traceback (most recent call last):
    File "/usr/local/bin/glance-replicator", line 9, in <module>
      load_entry_point('glance==2013.2.a116.gd13493b', 'console_scripts', 'glance-replicator')()
    File "/usr/local/lib/python2.7/dist-packages/glance-2013.2.a116.gd13493b-py2.7.egg/glance/cmd/replicator.py", line 733, in main
      command(options, args)
    File "/usr/local/lib/python2.7/dist-packages/glance-2013.2.a116.gd13493b-py2.7.egg/glance/cmd/replicator.py", line 448, in replication_livecopy
      slave_server_port = args.pop()
  IndexError: pop from empty list

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