Revision 5bef1f49 snf-tools/synnefo_tools/burnin/cyclades_common.py

b/snf-tools/synnefo_tools/burnin/cyclades_common.py
167 167
                msg = "Server \"%s\" with id %s went to unexpected status %s"
168 168
                self.error(msg, server['name'], server['id'], srv['status'])
169 169
                self.fail(msg % (server['name'], server['id'], srv['status']))
170
        opmsg = "Waiting for server \"%s\" to become %s"
171
        self.info(opmsg, server['name'], new_status)
172
        opmsg = opmsg % (server['name'], new_status)
170
        opmsg = "Waiting for server \"%s\" with id %s to become %s"
171
        self.info(opmsg, server['name'], server['id'], new_status)
172
        opmsg = opmsg % (server['name'], server['id'], new_status)
173 173
        self._try_until_timeout_expires(opmsg, check_fun)
174 174

  
175 175
    def _insist_on_network_transition(self, network,
......
187 187
                self.error(msg, network['name'], network['id'], ntw['status'])
188 188
                self.fail(msg %
189 189
                          (network['name'], network['id'], ntw['status']))
190
        opmsg = "Waiting for network \"%s\" to become %s"
191
        self.info(opmsg, network['name'], new_status)
192
        opmsg = opmsg % (network['name'], new_status)
190
        opmsg = "Waiting for network \"%s\" with id %s to become %s"
191
        self.info(opmsg, network['name'], network['id'], new_status)
192
        opmsg = opmsg % (network['name'], network['id'], new_status)
193 193
        self._try_until_timeout_expires(opmsg, check_fun)
194 194

  
195 195
    def _insist_on_network_connection(self, server, network, disconnect=False):

Also available in: Unified diff