Extend/Design the "deploy.py" script to be more useful

Bug #1519134 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-mesos
Confirmed
Medium
Unassigned

Bug Description

ATM it's sole aim is to write the needed config to zookeeper and post the apps to marathon.

What might a user want to do?

1. deploy
2. view the current zookeeper config (tree and each item)
3. destroy (delete the openstack apps and delete stuff from zookeeper)
4. diagnosis - commands to get at the systems logs and drill down to apps that are failed.
    "kolla-mesos whats-wrong"
5. (this can remain TODO for now) update the deployment
6. tweak individual options (like turn on debug in one service)

Some ideas:

kolla-mesos deploy
kolla-mesos update
kolla-mesos destroy

kolla-mesos config show
kolla-mesos config get <item>
kolla-mesos config set <item>

kolla-mesos logs <filtering/depth options> (one might be "kolla-mesos logs --failed-apps")

Angus Salkeld (asalkeld)
Changed in kolla-mesos:
status: New → Confirmed
importance: Undecided → High
Angus Salkeld (asalkeld)
Changed in kolla-mesos:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla-mesos (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla-mesos (master)

Reviewed: https://review.openstack.org/271422
Committed: https://git.openstack.org/cgit/openstack/kolla-mesos/commit/?id=34cc93ed55c698a2679760ec482bca6cb61409dd
Submitter: Jenkins
Branch: master

commit 34cc93ed55c698a2679760ec482bca6cb61409dd
Author: Steve Noyes <email address hidden>
Date: Thu Feb 11 09:59:24 2016 -0500

    Add state info to commands

    Related-Bug: 1519134

    Debugging failed deployments can be difficult. Adding states
    to the commands in zookeeper makes it easier to see the current
    state of affairs in a deployment.

    Changes:
    - in zookeeper, replace .done node with node data that contains the
    state of a command
    - states are: None, running, waiting, error, retry, done
    - updates to the show_tasks script to use the new state info
    - some additional logging
    - update of tests

    Change-Id: Ie86da7a397dc333c4b0ee396eb20c7ff6a7a04a3

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.