Bug 861005
Summary: | [US2599][fork]Show exception when reloading application | ||
---|---|---|---|
Product: | OKD | Reporter: | Wei Sun <wsun> |
Component: | Master | Assignee: | Rajat Chopra <rchopra> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | cgole, ffranz, johnp, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-06 18:49:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wei Sun
2012-09-27 09:57:10 UTC
Move it to ON_QA to verify it with rhc built in fork_ami_US2597_US2599_US2813_US2817_US2872_173 Move it to ASSIGNED,because this bug is not fixed with rhc built in fork_ami_US2597_US2599_US2813_US2817_US2872_173 information: server:devenv_2248 client:rhc built in fork_ami_US2597_US2599_US2813_US2817_US2872_173 [sunwei@dhcp-8-229 ~]$ rhc app reload -a php1 -d Password: ***** D, [2012-09-28T15:45:49.145317 #31537] DEBUG -- : Connecting to https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/api D, [2012-09-28T15:45:50.822542 #31537] DEBUG -- : Getting all domains D, [2012-09-28T15:45:50.822864 #31537] DEBUG -- : Request: #<RestClient::Request:0x00000003239a08 @method="GET", @headers={:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, @url="https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains", @cookies={}, @payload="", @user=nil, @password=nil, @timeout=nil, @open_timeout=nil, @block_response=nil, @raw_response=false, @verify_ssl=false, @ssl_client_cert=nil, @ssl_client_key=nil, @ssl_ca_file=nil, @tf=nil, @max_redirects=10, @processed_headers={"Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)", "Content-Length"=>"0", "Content-Type"=>"application/x-www-form-urlencoded"}, @args={:url=>"https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains", :method=>"GET", :headers=>{:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, :payload=>{}, :timeout=>nil}> D, [2012-09-28T15:45:52.121436 #31537] DEBUG -- : Finding domain wsunfull D, [2012-09-28T15:45:52.121570 #31537] DEBUG -- : Getting all domains D, [2012-09-28T15:45:52.121798 #31537] DEBUG -- : Request: #<RestClient::Request:0x000000031634f8 @method="GET", @headers={:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, @url="https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains", @cookies={}, @payload="", @user=nil, @password=nil, @timeout=nil, @open_timeout=nil, @block_response=nil, @raw_response=false, @verify_ssl=false, @ssl_client_cert=nil, @ssl_client_key=nil, @ssl_ca_file=nil, @tf=nil, @max_redirects=10, @processed_headers={"Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)", "Content-Length"=>"0", "Content-Type"=>"application/x-www-form-urlencoded"}, @args={:url=>"https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains", :method=>"GET", :headers=>{:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, :payload=>{}, :timeout=>nil}> D, [2012-09-28T15:45:53.694149 #31537] DEBUG -- : Finding application :name => php1, :framework => D, [2012-09-28T15:45:53.694280 #31537] DEBUG -- : Getting all applications for domain wsunfull D, [2012-09-28T15:45:53.694823 #31537] DEBUG -- : Request: #<RestClient::Request:0x00000002605bb0 @method="GET", @headers={:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, @url="https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains/wsunfull/applications", @cookies={}, @payload="", @user=nil, @password=nil, @timeout=nil, @open_timeout=nil, @block_response=nil, @raw_response=false, @verify_ssl=false, @ssl_client_cert=nil, @ssl_client_key=nil, @ssl_ca_file=nil, @tf=nil, @max_redirects=10, @processed_headers={"Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)", "Content-Length"=>"0", "Content-Type"=>"application/x-www-form-urlencoded"}, @args={:url=>"https://ec2-23-22-148-197.compute-1.amazonaws.com/broker/rest/domains/wsunfull/applications", :method=>"GET", :headers=>{:accept=>:json, "Authorization"=>"Basic d3N1bkByZWRoYXQuY29tOnJlaGF0", "User-Agent"=>"rhc/0.99.3 (ruby 1.9.3; x86_64-linux)"}, :payload=>{}, :timeout=>nil}> D, [2012-09-28T15:45:55.904299 #31537] DEBUG -- : Reload application php1 /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/rest/base.rb:27:in `rest_method': undefined method `[]' for nil:NilClass (NoMethodError) from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/rest/application.rb:63:in `reload' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/commands/app.rb:244:in `app_action' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/commands/app.rb:191:in `reload' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/commands.rb:103:in `block (3 levels) in to_commander' from /usr/local/share/gems/gems/commander-4.1.2/lib/commander/command.rb:180:in `call' from /usr/local/share/gems/gems/commander-4.1.2/lib/commander/command.rb:180:in `call' from /usr/local/share/gems/gems/commander-4.1.2/lib/commander/command.rb:155:in `run' from /usr/local/share/gems/gems/commander-4.1.2/lib/commander/runner.rb:402:in `run_active_command' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/command_runner.rb:34:in `run!' from /usr/local/share/gems/gems/commander-4.1.2/lib/commander/delegates.rb:11:in `run!' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/lib/rhc/cli.rb:40:in `start' from /home/sunwei/.gem/ruby/1.9.1/gems/rhc-0.99.3/bin/rhc:21:in `<top (required)>' from /home/sunwei/bin/rhc:23:in `load' from /home/sunwei/bin/rhc:23:in `<main>' The Rest API is apparently missing to return the RELOAD action in the "links" list, which causes this NilClass exception on CLI. Please check. Assigning to rchopra. Fix merged in master with rev#96e4825 Tested it on master and it worked |