can't upload depends cookbooks

Bug #1300524 reported by zhiwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Medium
zhiwei

Bug Description

Because the depends condition format was wrong in some cookbooks, so I can't upload the depends cookbooks.

New mysql v5, it breaks compatibility with our ops-database code.
Common cookbook depends upon database and that has metadata with depends "mysql", ">= 1.3.0" so we get v5 of mysql.

Maybe we can add this to Common metadata? recommends 'mysql', '4.1.2' Or we need to add depends for mysql in Common metadata.

Changed in openstack-chef:
assignee: nobody → zhiwei (chenzhiwei)
status: New → In Progress
Revision history for this message
Justin Shepherd (jshepher) wrote :
Revision history for this message
Justin Shepherd (jshepher) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-ops-messaging (master)

Reviewed: https://review.openstack.org/84060
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-ops-messaging/commit/?id=981a447a85b358a7a323e85022f5b4f8d1269a2a
Submitter: Jenkins
Branch: master

commit 981a447a85b358a7a323e85022f5b4f8d1269a2a
Author: Chen Zhiwei <email address hidden>
Date: Mon Mar 31 02:00:40 2014 -0400

    Fix the depends cookbook version issue in metadata.rb

    The depends condition should be ether of below:
    depends 'cookbook-name', '>=x.y.z'
    depends 'cookbook-name', '~>x.y'

    Closes-bug: 1300524
    Change-Id: I09bbf98c275b3a8cff2c7ef75a93a7f111ae8f57

Changed in openstack-chef:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-dashboard (master)

Reviewed: https://review.openstack.org/84064
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-dashboard/commit/?id=ff1c6e207babf18763c2344c14e1feb9294d3315
Submitter: Jenkins
Branch: master

commit ff1c6e207babf18763c2344c14e1feb9294d3315
Author: Chen Zhiwei <email address hidden>
Date: Mon Mar 31 02:29:44 2014 -0400

    Fix the depends cookbook version issue in metadata.rb

    The depends condition should be ether of below:
    depends 'cookbook-name', '>=x.y.z'
    depends 'cookbook-name', '~>x.y'

    Closes-bug: 1300524
    Change-Id: I6fac601909a4c7bc9b253fd1ab49e24fb0929138

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-common (master)

Reviewed: https://review.openstack.org/84063
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-common/commit/?id=6e9795790c1b0ef1a0d06367f922d3a4efdfa45f
Submitter: Jenkins
Branch: master

commit 6e9795790c1b0ef1a0d06367f922d3a4efdfa45f
Author: Chen Zhiwei <email address hidden>
Date: Mon Mar 31 02:27:58 2014 -0400

    Fix the depends cookbook version issue in metadata.rb

    The depends condition should be ether of below:
    depends 'cookbook-name', '>=x.y.z'
    depends 'cookbook-name', '~>x.y'

    Closes-bug: 1300524
    Change-Id: I4aa5be314900ee4ec17ede70bdcbfaae0896cf75

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

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-block-storage (master)

Reviewed: https://review.openstack.org/84701
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-block-storage/commit/?id=f088dab88b8eb5ecf81f9fca1be7b40d8684d8e5
Submitter: Jenkins
Branch: master

commit f088dab88b8eb5ecf81f9fca1be7b40d8684d8e5
Author: Chen Zhiwei <email address hidden>
Date: Wed Apr 2 07:37:47 2014 -0400

    Fix the depends cookbook version issue in metadata.rb

    The depends condition should be ether of below:
    depends 'cookbook-name', '>=x.y.z'
    depends 'cookbook-name', '~>x.y'

    Closes-bug: 1300524
    Change-Id: I6e4d009b92161dc0746586af1da043bf85e38c15

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-object-storage (master)

Reviewed: https://review.openstack.org/84928
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-object-storage/commit/?id=ecac202ff5e5ef91204dce257f44f02752e28a42
Submitter: Jenkins
Branch: master

commit ecac202ff5e5ef91204dce257f44f02752e28a42
Author: Chen Zhiwei <email address hidden>
Date: Wed Apr 2 22:43:34 2014 -0400

    Fix the depends cookbook version issue in metadata.rb

    The depends condition should be ether of below:
    depends 'cookbook-name', '>=x.y.z'
    depends 'cookbook-name', '~>x.y'

    Change-Id: I1e60d3c2e5e7fadd45af6e75a74719992b4e4971
    Closes-bug: 1300524

Changed in openstack-chef:
importance: Undecided → Critical
importance: Critical → Medium
milestone: none → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to cookbook-openstack-ops-database (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/86359

description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/86952

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to cookbook-openstack-ops-database (master)

Reviewed: https://review.openstack.org/86952
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-ops-database/commit/?id=51b2005b0888dd45df274f293b8ae3b2faa761c6
Submitter: Jenkins
Branch: master

commit 51b2005b0888dd45df274f293b8ae3b2faa761c6
Author: Mark Vanderwiel <email address hidden>
Date: Fri Apr 11 11:34:31 2014 -0500

    fix metadata database depends

    database pulls in mysql, new mysql v5 is not backward compatible.
    Need to pull in mysql depends first at v4, then pull in database.

    Change-Id: Ib27c9c77e7eaf25b11a3f4fb7871a6b3a8acba62
    Related-Bug: #1300524

Changed in openstack-chef:
milestone: icehouse-rc1 → icehouse-stable
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-common ocata-eol

This issue was fixed in the openstack/cookbook-openstack-common ocata-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-dashboard ocata-eol

This issue was fixed in the openstack/cookbook-openstack-dashboard ocata-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-ops-messaging ocata-eol

This issue was fixed in the openstack/cookbook-openstack-ops-messaging ocata-eol release.

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.