tombeynon / akash-deploy Goto Github PK
View Code? Open in Web Editor NEWAkash deploy UI and wallet management
Akash deploy UI and wallet management
Hey Tom! First of all, thank you for this awesome guide. It is truly amazing.
Would it be possible to deploy akash-deploy docker image with akash-deploy?
I tried and got this error:
Came from Deployments and clicked edit. This is the page i then got back:
errorpage-Action Controller_ Exception caught.pdf
This is the docker log:
Started GET "/deployments/1832854/edit" for 172.17.0.1 at 2021-07-18 14:05:26 +0000
Cannot render console from 172.17.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by DeploymentsController#edit as HTML
Parameters: {"id"=>"1832854"}
[fd38b3cf] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[fd38b3cf] akash1ygsrc9t4l6squvq25hlr9k26j7hp9f99u8h6ly
[fd38b3cf] Finished in 0.224 seconds with exit status 0 (successful)
[f0f19a72] Running curl -s https://raw.githubusercontent.com/ovrclk/net/master/mainnet/rpc-nodes.txt | sort -R | head -1
[f0f19a72] http://rpc.mainnet.akash.dual.systems:80
[f0f19a72] Finished in 0.112 seconds with exit status 0 (successful)
[0fe05bf6] Running akash query bank balances akash1ygsrc9t4l6squvq25hlr9k26j7hp9f99u8h6ly -o json --home /root/akash --node http://rpc.mainnet.akash.dual.systems:80
[0fe05bf6] {"balances":[{"denom":"uakt","amount":"4975000"}],"pagination":{"next_key":null,"total":"0"}}
[0fe05bf6] Finished in 0.828 seconds with exit status 0 (successful)
[9f0a8c86] Running akash query deployment list --owner akash1ygsrc9t4l6squvq25hlr9k26j7hp9f99u8h6ly --dseq 1832854 -o json --home /root/akash --node http://rpc.mainnet.akash.dual.systems:80
[9f0a8c86] Error: error unmarshalling: invalid character '<' looking for beginning of value
[9f0a8c86] Finished in 30.291 seconds with exit status 1 (failed)
Completed 500 Internal Server Error in 31504ms
TTY::Command::ExitError (Running `akash query deployment list --owner akash1ygsrc9t4l6squvq25hlr9k26j7hp9f99u8h6ly --dseq 1832854 -o json --home /root/akash --node http://rpc.mainnet.akash.dual.systems:80` failed with
exit status: 1
stdout: Nothing written
stderr: Error: error unmarshalling: invalid character '<' looking for beginning of value
):
lib/akash/cli.rb:58:in `run'
lib/akash/cli.rb:47:in `cmd'
lib/akash/cli.rb:42:in `cmd_json'
lib/akash/deployments.rb:42:in `get_deployments'
lib/akash/deployments.rb:11:in `find'
app/controllers/deployments_controller.rb:24:in `edit'
I edited the manifest and once I pressed update manifest, the docker logs gave an invalid manifest error, while the ui sent me to wallet page and displayed the "Deployment requires 5000000uakt escrow" error.
Logs from docker:
errorlog-akashdeployUI.pdf
When deleting wallet The docker logs displayed a lot of errors. It does end op at the right page with a notification that the wallet was deleted successfully. the logs are as follows:
Started DELETE "/wallet" for 172.17.0.1 at 2021-07-18 15:04:58 +0000
Cannot render console from 172.17.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by WalletsController#destroy as HTML
Parameters: {"authenticity_token"=>"PuqPtDao6sR8aMYnJj6JF/skqOkZxfy42SUjN2x+GwmDey/lJjRFX5sDzMxBNFKKz7CDqn66bgHQhupkfRKhuw=="}
[e22384f3] Running akash keys delete deploy -y --keyring-backend file --home /root/akash
[e22384f3] Key deleted forever (uh oh!)
[e22384f3] Finished in 0.292 seconds with exit status 0 (successful)
Redirected to http://localhost:8080/
Completed 302 Found in 300ms
Started GET "/" for 172.17.0.1 at 2021-07-18 15:04:58 +0000
Cannot render console from 172.17.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by DashboardController#show as HTML
[f813aa30] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[f813aa30] Error: deploy is not a valid name or address: decoding bech32 failed: invalid bech32 string length 6
[f813aa30] Finished in 0.121 seconds with exit status 1 (failed)
Rendering dashboard/show.html.erb within layouts/application
[62eeb486] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[62eeb486] Error: deploy is not a valid name or address: decoding bech32 failed: invalid bech32 string length 6
[62eeb486] Finished in 0.135 seconds with exit status 1 (failed)
[c571e866] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[c571e866] Error: deploy is not a valid name or address: decoding bech32 failed: invalid bech32 string length 6
[c571e866] Finished in 0.107 seconds with exit status 1 (failed)
Rendered dashboard/show.html.erb within layouts/application (253.3ms)
[1b126f34] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[1b126f34] Error: deploy is not a valid name or address: decoding bech32 failed: invalid bech32 string length 6
[1b126f34] Finished in 0.158 seconds with exit status 1 (failed)
[3535c9cc] Running akash keys show deploy -a --home /root/akash --keyring-backend file
[3535c9cc] Error: deploy is not a valid name or address: decoding bech32 failed: invalid bech32 string length 6
[3535c9cc] Finished in 0.144 seconds with exit status 1 (failed)
[b2ba46e4] Running curl -s https://raw.githubusercontent.com/ovrclk/net/master/mainnet/version.txt
[b2ba46e4] 0.12.1
[b2ba46e4] Finished in 0.404 seconds with exit status 0 (successful)
Hi there,
Thanks for this amazing tool. I've used it to create a deployment offer and I then tried to create a lease for the bid on it which resulted in an error, and whenever I try to view the list of deployments I get an error.
lib/akash/cli.rb:56:in run' lib/akash/cli.rb:45:in
cmd'
lib/akash/cli.rb:40:in cmd_json' lib/akash/lease.rb:110:in
status_data'
lib/akash/lease.rb:78:in services' lib/akash/lease.rb:68:in
uris'
lib/akash/deployment.rb:65:in uris' app/views/dashboard/show.html.erb:29:in
block in _app_views_dashboard_show_html_erb__3437874297774432222_69940740302820'
The code successfully calls akash query market lease list
It then runs
akash provider lease-status --from deploy --dseq 430388 --oseq 1 --gseq 1 --provider akash10cl5rm0cqnpj45knzakpa4cnvn5amzwp4lhcal --home /root/akash --keyring-backend file --node http://135.181.60.250:26657
Which gives an error of Error: Get "https://provider.sjc1p0.mainnet.akashian.io:8443/lease/430388/1/1/status": remote error: tls: bad certificate
Any ideas how I can resolve? Many thanks!
When I try and run the image i get the following output and it just exits.
I am running a M1 Mac with docker for that Arc, so maybe it's related to that.
=> Booting Puma
=> Rails 5.2.4.5 application starting in development
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
71: from bin/rails:4:in `<main>'
70: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
69: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
68: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
67: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
66: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
65: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands.rb:18:in `<top (required)>'
64: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/command.rb:46:in `invoke'
63: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/command/base.rb:69:in `perform'
62: from /usr/local/bundle/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
61: from /usr/local/bundle/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
60: from /usr/local/bundle/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
59: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:142:in `perform'
58: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:142:in `tap'
57: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:147:in `block in perform'
56: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:51:in `start'
55: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout'
54: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
53: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/commands/server/server_command.rb:27:in `app'
52: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
51: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
50: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
49: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
48: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
47: from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
46: from config.ru:3:in `block in <main>'
45: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
44: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
43: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
42: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
41: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
40: from /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
39: from /app/config/environment.rb:5:in `<top (required)>'
38: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/application.rb:361:in `initialize!'
37: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/initializable.rb:60:in `run_initializers'
36: from /usr/local/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
35: from /usr/local/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
34: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
33: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `call'
32: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `each'
31: from /usr/local/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
30: from /usr/local/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
29: from /usr/local/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
28: from /usr/local/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
27: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/initializable.rb:61:in `block in run_initializers'
26: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/initializable.rb:32:in `run'
25: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/initializable.rb:32:in `instance_exec'
24: from /usr/local/bundle/gems/railties-5.2.4.5/lib/rails/application/finisher.rb:75:in `block in <module:Finisher>'
23: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
22: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:51:in `each'
21: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
20: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
19: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
18: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
17: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/i18n_railtie.rb:19:in `block in <class:Railtie>'
16: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/i18n_railtie.rb:61:in `initialize_i18n'
15: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/i18n_railtie.rb:61:in `new'
14: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/evented_file_update_checker.rb:67:in `initialize'
13: from /usr/local/bundle/gems/activesupport-5.2.4.5/lib/active_support/evented_file_update_checker.rb:96:in `boot!'
12: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/listener.rb:91:in `start'
11: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/fsm.rb:57:in `transition'
10: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/fsm.rb:91:in `transition_with_callbacks!'
9: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/fsm.rb:121:in `call'
8: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/fsm.rb:121:in `instance_eval'
7: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/listener.rb:68:in `block in <class:Listener>'
6: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/base.rb:63:in `start'
5: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/base.rb:40:in `configure'
4: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/base.rb:40:in `each'
3: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/base.rb:45:in `block in configure'
2: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/linux.rb:31:in `_configure'
1: from /usr/local/bundle/gems/listen-3.1.5/lib/listen/adapter/linux.rb:31:in `new'
/usr/local/bundle/gems/rb-inotify-0.10.1/lib/rb-inotify/notifier.rb:69:in `initialize': Function not implemented - Failed to initialize inotify (Errno::ENOSYS)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.