Bug #723
Τα email πρέπει να μπαίνουν σε ουρά με prefix ("snf", κλπ), μικρό θέμα με logging
Status: | Closed | Start date: | 07/04/2011 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Giorgos Gousios | % Done: | 100% |
|
Category: | logic | Spent time: | - | |
Target version: | v0.5.1 |
Description
Ένα dump, χίλιες λέξεις:
2011-07-04 10:31:05,165 - synnefo.dispatcher[27727] - DEBUG - {"status": "success", "logmsg": null, "jobId": 51732, "instance": "cven-5", "operation": "OP_INSTANCE_REBOOT", "type": "ganeti-op-status"} 2011-07-04 10:31:05,165 - synnefo.dispatcher[27727] - DEBUG - Msg (exchange:None) Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 654, in format return fmt.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 654, in format return fmt.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 654, in format return fmt.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting 2011-07-04 10:31:07,132 - synnefo.logic[27727] - WARNING - Failed all 3 attempts to send email, aborting 2011-07-04 10:39:51,409 - synnefo.dispatcher[27727] - DEBUG - {"status": "running", "logmsg": "* creating instance disks...", "jobId": 5
History
#1 Updated by Giorgos Gousios over 12 years ago
- % Done changed from 0 to 50
Το πρώτο κομμάτι του bug report έγινε στην έκδοση 8417d1bf102b80 Αναμένω οδηγίες για το δεύτερο... :-)
#2 Updated by Giorgos Gousios over 12 years ago
- % Done changed from 50 to 100
The exception was the result of a string argument not having a matching parameter in email_send.py. Fixed
#3 Updated by Vangelis Koukis over 12 years ago
- Status changed from Assigned to Closed
Μετά και το 960c15e03 αυτό φαίνεται να είναι εντάξει, το κλείνω