Removing first instance breaks WP access
Bug #1381553 reported by
Jill Rouleau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wordpress (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
If site_url is not manually updated by the user after deployment the database will retain the IP of the first instance of wordpress. If another wordpress instance is deployed, then the original instance removed, site_url will still reflect the IP of the first instance in mysql.
To reproduce:
$ juju deploy wordpress
$ juju deploy mysql
$ juju add-relation wordpress mysql
Get the IP of wordpress/0, ex: 10.0.3.110
Access http://
$ juju deploy wordpress
IP of wordpress/1 is 10.0.3.21
Confirm can access wordpress site at 10.0.3.21
$ juju remove-unit wordpress/0
Access 10.0.3.
Logging in will redirect to 10.0.3.
To post a comment you must log in.