← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1635446] Re: DBError storing build_requests.instance with user_data too long

 

Reviewed:  https://review.openstack.org/390812
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fd7b3d64c70eeae34dcf38a847180c60fddfed5c
Submitter: Jenkins
Branch:    master

commit fd7b3d64c70eeae34dcf38a847180c60fddfed5c
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date:   Wed Oct 26 06:23:42 2016 -0400

    Make build_requests.instance MediumText
    
    The build_requests.instance column is a serialized
    instance object, and the instances.user_data column
    is MediumText, so the build_requests.instance column
    itself needs to be at least MediumText in size for MySQL.
    
    Change-Id: I7d65df37c02750593037744543ad15e5bc64e913
    Closes-Bug: #1635446


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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:
  DBError storing build_requests.instance with user_data too long

Status in Magnum:
  Invalid
Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) newton series:
  In Progress

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