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

/root/.auth_ref.json caching can cause issue #212

Closed
BjoernT opened this issue Jun 2, 2015 · 6 comments
Closed

/root/.auth_ref.json caching can cause issue #212

BjoernT opened this issue Jun 2, 2015 · 6 comments

Comments

@BjoernT
Copy link
Contributor

BjoernT commented Jun 2, 2015

We had disks filling up on compute nodes and that caused maas to store corrupt service catalog cache files (took some time to find that). In such cases, I would like to add a parsing of file this file prior to actually using it and if the parser fails, rebuilt it or better storing it under /run which is mounted as tmpfs. So it would not be affected by disks filling up.

@aaronsegura
Copy link

If the file is empty nova_service and neutron_linuxbridge maas plugins fail with "status error No JSON object could be decoded". Please remove the file if it cannot be written to.

@mancdaz
Copy link
Contributor

mancdaz commented Nov 5, 2015

Since it seems that this issue would manifest in failing plugins (and hence getting alarms), I'm not sure there is anything that needs to be done here.

@mancdaz mancdaz closed this as completed Nov 5, 2015
@aaronsegura
Copy link

That's not an answer. This is something that can (and should) be handled automatically without human intervention.

@stevelle
Copy link
Contributor

maas checks should recover when any legitimate underlying condition (such as a full disk) is cleared.
This seems like a legitimate issue. I'd like to reopen it (even knowing that means I will end up being responsible for a fix, per @sigmavirus24).

@stevelle stevelle reopened this Nov 10, 2015
@BjoernT
Copy link
Contributor Author

BjoernT commented Nov 10, 2015

Yes agreed, this seems like a case of catching the authentication exception and removing the file. Should be a fairly simple hack inside the maas_common module

@git-harry
Copy link
Contributor

This repo is no longer actively maintained. If this issue is still valid please open a new issue at https://github.com/rcbops/rpc-openstack/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants