error validating data: found invalid field source for v1.Volume

Bug #1604766 reported by Vitaly Lopatkin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
murano-apps
Fix Released
High
Nikolay Makhotkin

Bug Description

MOS 8.0, MOS 9.0

Steps:
1. Create Environment
2. Add Kubernetes Cluster and Kubernetes Pod with defaults
3. Add Iron GoRunner (see package.zip from the attachment, fill CLUSTER_ID and CLUSTER_TOKEN with anything you like)
4. Press 'Deploy this environment'

Observed behaviour:
Deployment failed with
Error: {'errorCode': 100, 'message': u'Script updateReplicationController returned error code', 'extra': None, 'details': {u'stdout': None, u'stderr': u'W0720 00:16:05.398936 4268 cmd.go:258] update is DEPRECATED and will be removed in a future version. Use replace instead.\nerror validating "/tmp/controller.json": error validating data: found invalid field source for v1.Volume; if you choose to ignore these errors, turn validation off with --validate=false', u'exitCode': 1}, 'time': u'2016-07-20 00:16:07.474209'}

The issue starts appear in MOS 8.0 after fix provided in https://bugs.launchpad.net/murano-apps/+bug/1602979

Revision history for this message
Vitaly Lopatkin (vitaly-lopatkin) wrote :
Changed in murano-apps:
assignee: nobody → Nikolay Makhotkin (nmakhotkin)
status: New → Confirmed
Changed in murano-apps:
importance: Undecided → Medium
importance: Medium → Critical
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-apps (master)

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

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

Reviewed: https://review.openstack.org/358661
Committed: https://git.openstack.org/cgit/openstack/murano-apps/commit/?id=a717988918ea5f49999f9adc0d75aaa59f0b030b
Submitter: Jenkins
Branch: master

commit a717988918ea5f49999f9adc0d75aaa59f0b030b
Author: Nikolay Mahotkin <email address hidden>
Date: Mon Aug 22 13:50:42 2016 +0300

    Fixing volume entry definitions

     * According to
       http://kubernetes.io/docs/user-guide/volumes/#types-of-volumes
       and
       https://github.com/kubernetes/kubernetes/commit/a1b53250118bbfd462d7441833964d379e08802f
       there is hostPath volume type instead of hostDir;
       And there is no 'source' keyword anymore.

     * Replacing 'kubectl update' on 'kubectl replace':
       kubectl update is deprecated, need to use 'replace':
       https://github.com/kubernetes/kubernetes/commit/9b3d42c090aeab663bf42e38658a5f88fb4b5272

    Closes-Bug: #1604766

    Change-Id: I1029caeb2827fc9de271b457c7a61b043d0189cb

Changed in murano-apps:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-apps (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/361133

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-apps (stable/mitaka)

Reviewed: https://review.openstack.org/361133
Committed: https://git.openstack.org/cgit/openstack/murano-apps/commit/?id=2e80de69bb6fa0510304388a6cc5bdcb6cd208df
Submitter: Jenkins
Branch: stable/mitaka

commit 2e80de69bb6fa0510304388a6cc5bdcb6cd208df
Author: Nikolay Mahotkin <email address hidden>
Date: Mon Aug 22 13:50:42 2016 +0300

    Fixing volume entry definitions

     * According to
       http://kubernetes.io/docs/user-guide/volumes/#types-of-volumes
       and
       https://github.com/kubernetes/kubernetes/commit/a1b53250118bbfd462d7441833964d379e08802f
       there is hostPath volume type instead of hostDir;
       And there is no 'source' keyword anymore.

     * Replacing 'kubectl update' on 'kubectl replace':
       kubectl update is deprecated, need to use 'replace':
       https://github.com/kubernetes/kubernetes/commit/9b3d42c090aeab663bf42e38658a5f88fb4b5272

    Closes-Bug: #1604766

    Change-Id: I1029caeb2827fc9de271b457c7a61b043d0189cb

tags: added: in-stable-mitaka
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.