OpenStack Errors: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 5: Строка 5:
 
2013-04-10 01:58:22 4784 ERROR nova.openstack.common.rpc.impl_qpid [-] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 1 seconds
 
2013-04-10 01:58:22 4784 ERROR nova.openstack.common.rpc.impl_qpid [-] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 1 seconds
 
</PRE>
 
</PRE>
Вообще-то ота ошибка означает что сервер и клиент неправильной версии (т.е. что то одно из них сильно новое)
+
Вообще-то эта ошибка означает что сервер и клиент неправильной версии (т.е. что то одно из них сильно новое)
  +
<BR> но этого так просто не видно.
  +
Что бы увидеть весь стек-трейс привести файлик
  +
  +
<PRE>
  +
delay = 1
  +
while True:
  +
# try:
  +
self.connection_create()
  +
self.connection.open()
  +
# except qpid.messaging.exceptions.ConnectionError, e:
  +
# msg_dict = dict(e=e, delay=delay)
  +
# msg = _("Unable to connect to AMQP server123: %(e)s. "
  +
# "Sleeping %(delay)s seconds") % msg_dict
  +
# LOG.error(msg)
  +
LOG.info(_('Connecting to AMQP server on %s username=%s password=%s'), self.broker, self.connection.username, self.connection.password)
  +
# time.sleep(delay)
  +
# delay = min(2 * delay, 60)
  +
# else:
  +
# break
  +
</PRE>

Версия 15:47, 10 апреля 2013

Ошибки с которыми я сталкивался при установке ОпенСтек

2013-04-10 01:58:22 4784 ERROR nova.openstack.common.rpc.impl_qpid [-] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 1 seconds

2013-04-10 01:58:22 4784 ERROR nova.openstack.common.rpc.impl_qpid [-] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 1 seconds

Вообще-то эта ошибка означает что сервер и клиент неправильной версии (т.е. что то одно из них сильно новое)
но этого так просто не видно. Что бы увидеть весь стек-трейс привести файлик

        delay = 1
        while True:
        #    try:
                self.connection_create()
                self.connection.open()
          #  except qpid.messaging.exceptions.ConnectionError, e:
          #      msg_dict = dict(e=e, delay=delay)
          #      msg = _("Unable to connect to AMQP server123: %(e)s. "
          #              "Sleeping %(delay)s seconds") % msg_dict
          #      LOG.error(msg)
                LOG.info(_('Connecting to AMQP server on %s username=%s password=%s'), self.broker, self.connection.username, self.connection.password)
          #      time.sleep(delay)
          #     delay = min(2 * delay, 60)
          #  else:
          #      break