While deploy through CLI we need possibility for enable debug mode
Usually, using CLI, we deploy env by command
# fuel --env=N deploy
we need --debug option, that will do following:
* add "debug: true" to astute.yaml
* start puppet by mcollective with --debug key
Blueprint information
- Status:
- Complete
- Approver:
- Dmitry Pyzhov
- Priority:
- Low
- Drafter:
- Andrey Danin
- Direction:
- Approved
- Assignee:
- Andrey Danin
- Definition:
- Approved
- Series goal:
- Accepted for 4.0.x
- Implementation:
- Implemented
- Milestone target:
- 4.0
- Started by
- Andrey Danin
- Completed by
- Andrey Danin
Related branches
Related bugs
Sprints
Whiteboard
We already have the 'debug' flag on the 'OpenStack settings' tab on UI. This flag is propagated to astute.yaml direclty. I can use this flag to run puppet agent in debug mode.
To modify the flag by CLI you should:
# download environment settings
$ fuel settings --env 2 --download
# find and modify the flag in the donwloaded JSON file
# The value you should change is ['editable'
$vi /root/settings_
# upload the new settings
$ fuel settings --env 2 --upload
I made a pull request with fix for 4.0 https:/
PR for 3.2-fixes:
Gerrit topic: https:/
Addressed by: https:/
Run puppet in debug mode if 'debug' fact is set