Hi everybody,
I just got "Security Group should be integer" issue with OpenStack. I noticed you fix that earlier, so it is back maybe.
Confirming: Using OpenStack (user: adam)
Confirming: Using address 10.0.0.2
Created security group ssh
-> opened ssh ports TCP 22..22 from IP range 0.0.0.0/0
Created security group dns_server
-> opened dns_server ports UDP 53..53 from IP range 0.0.0.0/0
Created security group bosh
-> opened bosh ports TCP 4222..4222 from IP range 0.0.0.0/0
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/middlewares/expects.rb:10:in response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest) response => #<Excon::Response:0x00000003b50998 @data={:body=>"{\"badRequest\": {\"message\": \"Security group id should be integer\", \"code\": 400}}", :headers=>{"Server"=>"nginx", "Date"=>"Thu, 03 Jul 2014 21:21:59 GMT", "Content-Type"=>"application/json; charset=UTF-8", "Transfer-Encoding"=>"", "Connection"=>"close", "X-Compute-Request-Id"=>"req-ade2e3ad-f4cd-4629-bbf4-38a04d254a3e"}, :status=>400, :remote_ip=>"185.22.97.130", :local_port=>39729, :local_address=>"10.0.0.4"}, @body="{\"badRequest\": {\"message\": \"Security group id should be integer\", \"code\": 400}}", @headers={"Server"=>"nginx", "Date"=>"Thu, 03 Jul 2014 21:21:59 GMT", "Content-Type"=>"application/json; charset=UTF-8", "Transfer-Encoding"=>"", "Connection"=>"close", "X-Compute-Request-Id"=>"req-ade2e3ad-f4cd-4629-bbf4-38a04d254a3e"}, @status=400, @remote_ip="185.22.97.130", @local_port=39729, @local_address="10.0.0.4"> from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/middlewares/response_parser.rb:26:inresponse_call'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/connection.rb:402:in response' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/connection.rb:272:inrequest'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-core-1.22.0/lib/fog/core/connection.rb:56:in request' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/compute.rb:341:inrequest'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/requests/compute/create_security_group_rule.rb:21:in create_security_group_rule' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/models/compute/security_group_rule.rb:19:insave'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-core-1.22.0/lib/fog/core/collection.rb:51:in create' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/openstack_provider_client.rb:84:inauthorize_port_range'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:148:in block (2 levels) in create_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:145:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:145:in block in create_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:143:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:143:in create_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/network_providers/openstack.rb:12:inperform'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/network.rb:15:in deploy' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:46:inselect_or_provision_public_networking'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:21:in perform' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/thor_cli.rb:11:indeploy'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/base.rb:440:instart'
from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/bin/bosh-bootstrap:13:in <top (required)>' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/bosh-bootstrap:23:inload'
from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/bosh-bootstrap:23:in <main>' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:ineval'
from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `'
Hi everybody, I just got "Security Group should be integer" issue with OpenStack. I noticed you fix that earlier, so it is back maybe.
Confirming: Using OpenStack (user: adam)
Confirming: Using address 10.0.0.2 Created security group ssh -> opened ssh ports TCP 22..22 from IP range 0.0.0.0/0 Created security group dns_server -> opened dns_server ports UDP 53..53 from IP range 0.0.0.0/0 Created security group bosh -> opened bosh ports TCP 4222..4222 from IP range 0.0.0.0/0 /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/middlewares/expects.rb:10:in'
response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest) response => #<Excon::Response:0x00000003b50998 @data={:body=>"{\"badRequest\": {\"message\": \"Security group id should be integer\", \"code\": 400}}", :headers=>{"Server"=>"nginx", "Date"=>"Thu, 03 Jul 2014 21:21:59 GMT", "Content-Type"=>"application/json; charset=UTF-8", "Transfer-Encoding"=>"", "Connection"=>"close", "X-Compute-Request-Id"=>"req-ade2e3ad-f4cd-4629-bbf4-38a04d254a3e"}, :status=>400, :remote_ip=>"185.22.97.130", :local_port=>39729, :local_address=>"10.0.0.4"}, @body="{\"badRequest\": {\"message\": \"Security group id should be integer\", \"code\": 400}}", @headers={"Server"=>"nginx", "Date"=>"Thu, 03 Jul 2014 21:21:59 GMT", "Content-Type"=>"application/json; charset=UTF-8", "Transfer-Encoding"=>"", "Connection"=>"close", "X-Compute-Request-Id"=>"req-ade2e3ad-f4cd-4629-bbf4-38a04d254a3e"}, @status=400, @remote_ip="185.22.97.130", @local_port=39729, @local_address="10.0.0.4"> from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/middlewares/response_parser.rb:26:in
response_call' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/connection.rb:402:inresponse' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/excon-0.37.0/lib/excon/connection.rb:272:in
request' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-core-1.22.0/lib/fog/core/connection.rb:56:inrequest' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/compute.rb:341:in
request' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/requests/compute/create_security_group_rule.rb:21:increate_security_group_rule' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-1.22.1/lib/fog/openstack/models/compute/security_group_rule.rb:19:in
save' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/fog-core-1.22.0/lib/fog/core/collection.rb:51:increate' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/openstack_provider_client.rb:84:in
authorize_port_range' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:148:inblock (2 levels) in create_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:145:in
each' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:145:inblock in create_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:143:in
each' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/cyoi-0.10.1/lib/cyoi/providers/clients/fog_provider_client.rb:143:increate_security_group' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/network_providers/openstack.rb:12:in
perform' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/network.rb:15:indeploy' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:46:in
select_or_provision_public_networking' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:21:inperform' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/thor_cli.rb:11:in
deploy' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/command.rb:27:inrun' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor.rb:359:indispatch' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/thor-0.19.1/lib/thor/base.rb:440:in
start' from /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bosh-bootstrap-0.13.2/bin/bosh-bootstrap:13:in<top (required)>' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/bosh-bootstrap:23:in
load' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/bosh-bootstrap:23:in<main>' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in
eval' from /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `