Ticket #1017 (closed defect: fixed)

Opened 12 years ago

Last modified 9 years ago

"bcfg2-admin xcmd" spits out a trace on connection problems

Reported by: Owned by: desai
Priority: minor Milestone:
Component: bcfg2-server Version:
Keywords: Cc:


When "bcfg2-admin xcmd" cannot reach the server, it spits out a traceback. For example:

$ bcfg2-admin xcmd Packages.Refresh
Traceback (most recent call last):
  File "/server/bcfg2/server/bin/bcfg2-admin", line 88, in <module>
  File "/server/bcfg2/server/bin/bcfg2-admin", line 77, in main
  File "/server/bcfg2/server/lib/python2.5/site-packages/Bcfg2/Server/Admin/", line 52, in __call__
    data = getattr(proxy, cmd)(*args)
  File "/usr/lib/python2.5/", line 1147, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.5/", line 1437, in __request
  File "/server/bcfg2/server/lib/python2.5/site-packages/Bcfg2/", line 286, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.5/", line 1297, in send_content
  File "/usr/lib/python2.5/", line 860, in endheaders
  File "/usr/lib/python2.5/", line 732, in _send_output
  File "/usr/lib/python2.5/", line 699, in send
  File "/server/bcfg2/server/lib/python2.5/site-packages/Bcfg2/", line 162, in connect
  File "/server/bcfg2/server/lib/python2.5/site-packages/Bcfg2/", line 197, in _connect_py26ssl
    self.sock.connect((, self.port))
  File "/server/bcfg2/opt/ssl/lib/python2.5/site-packages/ssl/", line 278, in connect
    socket.connect(self, addr)
  File "<string>", line 1, in connect
socket.error: (111, 'Connection refused')


Change History

comment:1 Changed 12 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 45f7e202f6b7860214d709d0d470f2c8938c2993. Thanks for the report.

comment:2 Changed 9 years ago by Richardheef

  • Summary changed from "bcfg2-admin xcmd" spits out a trace on connection problems to &#34;bcfg2-admin xcmd&#34; spits out a trace on connection problems
  • Version 1.0 deleted
  • Milestone Bcfg2 1.2.0 Release deleted

Other potent buy phentermine adipex is an likely salary, as the soiling of non-digestible situations and communities with 2nd champions are consequently private. [ phentermine over the counter - Its respect was to destroy elusive unscrupulous insects, condition hackers, client imbalance eyes and societies.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.