Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove juju-mongo in manual clean-up #6675

Merged
merged 1 commit into from Dec 8, 2016

Conversation

macgreagoir
Copy link

In the manual provider bootstrap instance clean-up script, remove all
juju-mongo packages after juju-db has been stopped.

QA steps:

  • bootstrap with the manual provider
  • destroy-controller
  • On the bootstrap instance
    • dpkg -l juju-mongo* to see that none of the juju-mongo packages is still installed
    • grep jujud.*stopped /var/log/syslog to see some new logger output (hopefully the success case)

In the manual provider bootstrap instance clean-up script, remove all
juju-mongo packages after juju-db has been stopped.
@mitechie
Copy link
Contributor

mitechie commented Dec 8, 2016

ping @bz2 for peeking at this please and thank you

Copy link
Contributor

@bz2 bz2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, one commen about introduction of a bashism.

@@ -242,12 +242,13 @@ touch %s
# If jujud is running, we then wait for a while for it to stop.
stopped=0
if pkill -%d jujud; then
for i in ` + "`seq 1 30`" + `; do
for i in {1..30}; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we confident this is always bash?

:~$ dash
$ for i in {0..10}; do                          
> 	echo $i
> done
{0..10}
$ for i in `seq 1 10`; do
> 	echo $i
> done
1
2
...
`

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are; /bin/bash is passed in to the ssh command to run this script.

@macgreagoir
Copy link
Author

!!build!!

@macgreagoir
Copy link
Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Dec 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 8e42445 into juju:develop Dec 8, 2016
@macgreagoir macgreagoir deleted the manual-clean-mongo branch December 8, 2016 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants