debugging first run of install hook is not straight forward
Bug #1278831 reported by
Michael Nelson
on 2014-02-11
This bug report is a duplicate of:
Bug #1221501: cmd/juju: debug-hooks cannot debug the install hook.
Edit
Remove
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| juju-core |
Low
|
Unassigned | |||
Bug Description
Steps to reproduce:
1) Deploy a service
2) Run `juju debug-hooks service-name/0`
Expected result:
* Eventually be dropped into the install hook on the unit
Actual result:
* ERROR unit "service-name/0" has no public address
Perhaps a --wait option to debug-hooks so current behaviour isn't modified, although I think it'd be nice as a default, with --no-wait being an option.
Currently to work around this, I typically bootstrap, add a number of machines and wait for their IP addresses to be available, deploy the service and run debug-hooks straight away. But it's still a race.
Curtis Hovey (sinzui)
on 2014-02-11
| tags: | added: debug-hooks |
| Changed in juju-core: | |
| status: | New → Triaged |
| importance: | Undecided → Low |
To post a comment you must log in.

