Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Fixes #1288450 - Adds confirmation dialogue to config file upload in the service inspector #191

Merged
merged 3 commits into from Mar 21, 2014

Conversation

hatched
Copy link
Contributor

@hatched hatched commented Mar 21, 2014

Notes

Create a config.yaml file with the following contents:

ceph:
  auth-supported: "foo"

To QA

Ghost Inspector

  • Drag and drop ceph from the charm browser
  • Click the config file upload button and select the config.yaml file.
  • The config options should disappear.
  • Click to remove the file
  • The config options should reappear.
  • Click the config file upload button and select the config.yaml file.
  • Deploy the charm.
  • Change to the settings tab and the auth-supported value should read foo.

Service Inspector

  • Deploy ceph
  • Click the settings tab and then click to upload the config.yaml file.
  • The config options should disappear.
  • Click to remove the file
  • The config options should reappear.
  • Click the config file upload button and select the config.yaml file.
  • Click save changes.
  • The auth-supported value should now read foo.

@jujugui
Copy link
Contributor

jujugui commented Mar 21, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/588/

@kadams54
Copy link
Contributor

When I upload in the ghost inspector and then deploy, the auth-supported value is still cephx. When I save the changes in the service inspector, auth-supported changes to foo, but cephx flashes briefly before it is set to the right value.

@hatched
Copy link
Contributor Author

hatched commented Mar 21, 2014

Good catch! Sorry I blanked that the config file upload functionality is not supported in the fakebackend (the juju simulator when running in sandbox mode). I just tested on a real ec2 env and it deploys with the appropriate configuration options.

@mitechie
Copy link
Contributor

👍 thanks for following through on the fix.

@hatched
Copy link
Contributor Author

hatched commented Mar 21, 2014

Thanks all for the reviews! :shipit:

@jujugui
Copy link
Contributor

jujugui commented Mar 21, 2014

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge

jujugui added a commit that referenced this pull request Mar 21, 2014
### Notes
Create a config.yaml file with the following contents:
```
ceph:
  auth-supported: "foo"
```
### To QA
__Ghost Inspector__
- Drag and drop `ceph` from the charm browser
- Click the config file upload button and select the `config.yaml` file.
- The config options should disappear.
- Click to remove the file
- The config options should reappear.
- Click the config file upload button and select the `config.yaml` file.
- Deploy the charm.
- Change to the `settings` tab and the `auth-supported` value should read `foo`.

__Service Inspector__
- Deploy ceph
- Click the `settings` tab and then click to upload the `config.yaml` file.
- The config options should disappear.
- Click to remove the file
- The config options should reappear.
- Click the config file upload button and select the `config.yaml` file.
- Click `save changes`.
- The `auth-supported` value should now read `foo`.
@jujugui jujugui merged commit 3906121 into juju:develop Mar 21, 2014
@hatched hatched deleted the upload-1288450 branch March 21, 2014 21:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants