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

Tools do not copy over JSON metadata file #20

Closed
shatterednirvana opened this issue Nov 6, 2012 · 2 comments
Closed

Tools do not copy over JSON metadata file #20

shatterednirvana opened this issue Nov 6, 2012 · 2 comments
Assignees
Milestone

Comments

@shatterednirvana
Copy link
Contributor

Right now the tools write both a YAML and JSON file that contain metadata about the cloud deployment, and should be copying these files to the head node in AppScale. We do copy the YAML file, but don't copy the JSON file, so we should copy it as well. Not copying the JSON file means that when the user tries to upload an app via the web UI, they get this error:

Message about your submission:
/usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:92:in `initialize': No such file or directory - /root/.appscale/locations-appscalecgb6.json (Errno::ENOENT) 
from /usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:92:in `open' 
from /usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:92:in `read_file' 
from /usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:800:in `read_nodes_json' 
from /usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:757:in `get_all_public_ips' 
from /usr/local/appscale-tools/bin/../lib/../lib/common_functions.rb:156:in `update_locations_file' 
from /usr/local/appscale-tools/bin/../lib/appscale_tools.rb:377:in `upload_app' 
from /usr/local/appscale-tools/bin/appscale-upload-app:12
@ghost ghost assigned shatterednirvana Nov 6, 2012
shatterednirvana added a commit to shatterednirvana/appscale-tools that referenced this issue Nov 12, 2012
@shatterednirvana
Copy link
Contributor Author

Fix tested and working on one node deployment - sending a pull request now.

@shatterednirvana
Copy link
Contributor Author

Fixed, tested, and released!

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

No branches or pull requests

1 participant