← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1635446] Re: Magnum fails to create fedora minions

 

The instance column in the build_requests table in the nova_api db has
the type TEXT, which is 65535 chars in Mariadb. The length of the blob
that is in the nova api logs is around 67000 chars. This makes the db
insert fail. This looks like more of a nova issue than magnum. In the
case of Magnum, the workaround is to not include some of the
SoftwareConfig files.

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1635446

Title:
  Magnum fails to create fedora minions

Status in Magnum:
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  The cluster goes to CREATE_FAILED

  # magnum $AUTH cluster-show k8s-cluster-fedora
  +---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Property            | Value                                                                                                                                                                                                                                                                                                                      |
  +---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | status              | CREATE_FAILED                                                                                                                                                                                                                                                                                                              |
  | cluster_template_id | cd70e24d-717c-40b4-8bcf-fd56d0cf23bb                                                                                                                                                                                                                                                                                       |
  | uuid                | 5df0d9f3-de35-4557-881c-efac6bc7e489                                                                                                                                                                                                                                                                                       |
  | stack_id            | 497e8905-f425-454b-8f77-d87ff41cc7dd                                                                                                                                                                                                                                                                                       |
  | status_reason       | Resource CREATE failed: ClientException: resources.kube_minions.resources[0].resources.kube-minion: Unexpected API Error. Please report this at http: //bugs.launchpad.net/nova/ and attach the Nova API log if possible.                                                                                                  |
  |                     | <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-c064df25-a47c-439e-bdc5-99e1cfbd44c5)                                                                                                                                                                                                                      |
  | created_at          | 2016-10-20T22:26:28+00:00                                                                                                                                                                                                                                                                                                  |
  | name                | k8s-cluster-fedora                                                                                                                                                                                                                                                                                                         |
  | updated_at          | 2016-10-20T22:28:00+00:00                                                                                                                                                                                                                                                                                                  |
  | discovery_url       | https://discovery.etcd.io/703919614eb4688507382ff891fa86a9                                                                                                                                                                                                                                                                 |
  | faults              | {'0': "ClientException: resources[0].resources.kube-minion: Unexpected API Error. Please report this at http: //bugs.launchpad.net/nova/ and attach the Nova API log if possible.                                                                                                                                          |
  |                     | <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-c064df25-a47c-439e-bdc5-99e1cfbd44c5)", 'kube_minions': "ClientException: resources.kube_minions.resources[0].resources.kube-minion: Unexpected API Error. Please report this at http: //bugs.launchpad.net/nova/ and attach the Nova API log if possible. |
  |                     | <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-c064df25-a47c-439e-bdc5-99e1cfbd44c5)", 'kube-minion': "ClientException: resources.kube-minion: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.                                       |
  |                     | <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-c064df25-a47c-439e-bdc5-99e1cfbd44c5)"}                                                                                                                                                                                                                    |
  | api_address         | https://10.240.127.136:6443                                                                                                                                                                                                                                                                                                |
  | coe_version         | v1.2.0                                                                                                                                                                                                                                                                                                                     |
  | master_addresses    | ['10.240.127.136']                                                                                                                                                                                                                                                                                                         |
  | create_timeout      | 18000                                                                                                                                                                                                                                                                                                                      |
  | node_addresses      | ['10.240.127.141']                                                                                                                                                                                                                                                                                                         |
  | master_count        | 1                                                                                                                                                                                                                                                                                                                          |
  | container_version   | 1.9.1                                                                                                                                                                                                                                                                                                                      |
  | node_count          | 1                                                                                                                                                                                                                                                                                                                          |
  +---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

  nova-api logs attached

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