[murano-cfapi] Some packages in apps.openstack.org can not be used in CF due to large description

Bug #1540843 reported by Victor Ryzhenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Nikolay Starodubtsev

Bug Description

1. Upload app-servers bundle into OS environment.
2. Use cf CLI tool to register murano service broker in cf: 'cf create-service-broker murano admin admin <url>'

Expected:
Service broker successfully connected

Observed:
Code 500 from CF database.

Error:

"Mysql2::Error: Data too long for column 'description' at row 1: INSERT INTO `services` (`service_broker_id`, `unique_id`, `label`, `description`, `bindable`, `extra`, `
active`, `plan_updateable`, `tags`, `requires`, `created_at`, `guid`) VALUES (11, 'd2b28df301c5481eb959d525e89aa5d1', 'Apache HTTP Server', 'The Apache HTTP Server Project is an effort to develop and maintain an
\\nopen-source HTTP server for modern operating systems including UNIX and\\nWindows NT. The goal of this project is to provide a secure, efficient and\\nextensible server that provides HTTP services in sync wit
h the current HTTP\\nstandards.\\nApache httpd has been the most popular web server on the Internet since\\nApril 1996, and celebrated its 17th birthday as a project this February.\\n', 1, NULL, 1, 0, '[\\\"HTTP
\\\",\\\"Server\\\",\\\"WebServer\\\",\\\"HTML\\\",\\\"Apache\\\"]', '[]', CURRENT_TIMESTAMP, '783d4b8d-56e9-4f2b-bf69-d8383f1c0caa')","log_level":"error"

Incomplete list of unsupported apps:
Apache HTTP Server
Docker Standalone Host

This list is incomplete, and can be extended.

Changed in murano:
status: New → Confirmed
importance: Undecided → High
milestone: none → mitaka-3
Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :

Needed to say that this bug related to Pivotal Cloud Foundry and OpsManager

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/276148

Changed in murano:
assignee: nobody → Nikolay Starodubtsev (starodubcevna)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/276148
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=c493781208fdf1e59103be27d71221ebadeb70e7
Submitter: Jenkins
Branch: master

commit c493781208fdf1e59103be27d71221ebadeb70e7
Author: Nikolai Starodubtsev <email address hidden>
Date: Thu Feb 4 13:44:34 2016 +0300

    Skip description from service transformation

    Previously we transforms murano package description to Cloud Foundry
    service description and never check it length. It cause error on one
    of the CF implementations because it has restriction for the table
    length.

    Change-Id: Ia5d4e71af19c11033d86873574f17a0d3a15b0c4
    Closes-Bug: #1540843

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 2.0.0.0b3

This issue was fixed in the openstack/murano 2.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.