Hello,
We have Grizzly Open Stack installed in 3 nodes: controller, network, and compute.
We have decided to use Cloud Foundry as an Open PaaS, and we are trying to install it on the controller node.
I have reviewed both the .fog & yml files and They are as follows:
///////////////////////////////////////////////////////////////////////////////////////////////////////
~/.fog
:openstack:
:openstack_auth_url: http://10.1.9.240:5000/v2.0/tokens
:openstack_api_key: admin_pass
:openstack_username: admin
:openstack_tenant: admin
:openstack_region:
///////////////////////////////////////////////////////////////////////////////////////////////////////
~/bosh-workspace/deployments/microbosh-openstack#micro_bosh.yml
name: microbosh-openstack
logging:
level: DEBUG
network:
type: manual
#vip: <allocated_floating_ip> # Optional
ip: 192.168.20.17
cloud_properties:
net_id: 5431f17e-a868-44cb-940f-b8b39890949f
#net_id: 8d07dab9-fee6-4b41-a2e7-7bb59461d870
resources:
persistent_disk: 2048
cloud_properties:
instance_type: m1.small
cloud:
plugin: openstack
properties:
openstack:
auth_url: http://10.1.9.240:5000/v2.0/tokens
username: admin
api_key: admin_pass
tenant: admin
region: # Optional
default_security_groups: ["ssh", "bosh"]
default_key_name: cf_key
private_key: ~/bosh-workspace/deployments/microbosh-openstack/
apply_spec:
properties:
director:
max_threads: 3
hm:
resurrector_enabled: true
ntp:
- 0.north-america.pool.ntp.org
- 1.north-america.pool.ntp.org
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
then we have deleted ~/.microbosh and execute the below steps:
root@cu-cont:/home/easi/bosh-bootstrap# rm -R ~/.microbosh/
root@cu-cont:/home/easi/bosh-bootstrap# ./bin/bosh-bootstrap deploy
Auto-detected infrastructure API credentials at ~/.fog (override with $FOG)
- OpenStack (openstack)
- Alternate credentials
Choose an auto-detected infrastructure: 1
Using provider OpenStack
OpenStack Region (optional):
Confirming: Using OpenStack (user: admin)
- (192.168.10.0/24)
- (10.1.9.249/24)
- (192.168.20.0/24)
- (192.168.2.0/24)
- SecondSubnet (192.168.22.0/24)
Choose a subnet: 3
Choose IP |192.168.20.2| 192.168.20.17
Confirming: Using address 192.168.20.17
Reusing security group ssh
-> no additional ports opened
Reusing security group dns_server
/var/lib/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/attributes.rb:180:in requires': parent_group_id is required for this operation (ArgumentError) from /var/lib/gems/1.9.1/gems/fog-1.20.0/lib/fog/openstack/models/compute/security_group_rule.rb:17:in
save'
from /var/lib/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:51:in create' from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/openstack_provider_client.rb:84:in
authorize_port_range'
from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/fog_provider_client.rb:121:in block (2 levels) in create_security_group' from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/fog_provider_client.rb:118:in
each'
from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/fog_provider_client.rb:118:in block in create_security_group' from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/fog_provider_client.rb:116:in
each'
from /var/lib/gems/1.9.1/gems/cyoi-0.8.3/lib/cyoi/providers/clients/fog_provider_client.rb:116:in create_security_group' from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/network_providers/openstack.rb:11:in
block in perform'
from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/network_providers/openstack.rb:10:in each' from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/network_providers/openstack.rb:10:in
perform'
from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/network.rb:15:in deploy' from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:46:in
select_or_provision_public_networking'
from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:21:in `perform'
from /home/easi/bosh-bootstrap/lib/bosh-bootstrap/thor_cli.rb:11:in `deploy'
from /usr/lib/ruby/vendor_ruby/thor/task.rb:27:in `run'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:120:in `invoke_task'
from /usr/lib/ruby/vendor_ruby/thor.rb:275:in `dispatch'
from /usr/lib/ruby/vendor_ruby/thor/base.rb:425:in `start'
from ./bin/bosh-bootstrap:9:in `<main>'
root@cu-cont:/home/easi/bosh-bootstrap#
Please advice.
Regards