Ask Your Question

boidacarapreta's profile - activity

2016-05-26 07:03:15 -0500 received badge  Teacher (source)
2016-03-19 19:44:57 -0500 answered a question No vnc-console "Origin header does not match this host."

It happens to Nova, when a mismatch occurs in HTTP header "Host".

I used a workaround in my environment, using NGINX:

https://github.com/boidacarapreta/openstack-ifsc/commit/f74fcda5ada2c387d6f70adeb78f7dcf5c3e5cf5

NGINX changes the header line "Host":

https://github.com/boidacarapreta/openstack-ifsc/blob/f74fcda5ada2c387d6f70adeb78f7dcf5c3e5cf5/puppet/modules/nginx/files/nginx.conf#L75

Which Nova expects:

https://github.com/boidacarapreta/ope.../openstack-nova/files/nova.conf-openstack0#L25

Using Apache as a proxy, I think this can be a solution for you (and keeping your Nova configuration untouched): https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost

2015-08-18 22:51:36 -0500 answered a question Docker and tenant GRE network

As I remember, in Kilo you need to add:

[ovs]
...
bridge_mappings = external:br-ex

In my environment, br-ex is my external bridge. And:

[agent]
...
tunnel_types = gre

in ml2_conf.ini to work GRE network type.

Here's my file: https://github.com/boidacarapreta/openstack-ifsc/blob/master/puppet/modules/openstack-neutron/files/ml2_conf.ini-openstack0#L27 (https://github.com/boidacarapreta/ope...), which is based on http://docs.openstack.org/kilo/install-guide/install/apt/content/neutron-network-node.html (OpenStack Installation Guide).

2015-08-05 16:06:21 -0500 received badge  Enthusiast
2015-07-16 14:30:44 -0500 answered a question Documentation for Trove Kilo release on Ubuntu

There is documentation for http://docs.openstack.org/icehouse/install-guide/install/apt/content/trove-install.html (Icehouse) and http://docs.openstack.org/juno/install-guide/install/apt/content/trove-install.html (Juno). However, there wasn't official packages available for download in Icehouse nor Juno, only in Kilo.

You can follow Juno installation, and later http://docs.openstack.org/kilo/config-reference/content/trove-conf-changes-kilo.html (update your configuration) for Kilo.

2015-07-11 03:48:25 -0500 answered a question Kilo passwordCredentials

After read the OpenStack Installation Guide I've found the solution (for me): in http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_nova.html (Compute) and http://docs.openstack.org/kilo/install-guide/install/apt/content/section_neutron-networking.html (Networking) chapters.

Now, in nova.conf, there are configuration updates, such as:

[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = NOVA_PASS

and:

[neutron]
...
url = http://controller:9696
auth_strategy = keystone
admin_auth_url = http://controller:35357/v2.0
admin_tenant_name = service
admin_username = neutron
admin_password = NEUTRON_PASS

And in neutron.conf:

[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = NEUTRON_PASS

and:

[nova]
...
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = nova
password = NOVA_PASS

There's also an update inmetadata_agent.ini:

[DEFAULT]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_region = RegionOne
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = NEUTRON_PASS

I used all guide's configuration but auth_plugin lines. If you have only one nova region, it's OK to remove auth_region lines too.

That's my configuration running Kilo:

nova.conf:

...
[keystone_authtoken]
identity_uri = http://keystone.openstack.sj.ifsc.edu.br:35357
auth_url = http://keystone.openstack.sj.ifsc.edu.br:35357
admin_tenant_name = service
admin_user = nova
admin_password = nova
auth_uri = http://keystone.openstack.sj.ifsc.edu.br:5000
#auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
...
[neutron]
url = http://neutron-controller.openstack.sj.ifsc.edu.br:9696
admin_auth_url = http://keystone.openstack.sj.ifsc.edu.br:35357/v2.0
auth_strategy = keystone
admin_tenant_name = service
admin_username = neutron
admin_password = neutron

...

neutron.conf:

...
[keystone_authtoken]
identity_uri = http://keystone.openstack.sj.ifsc.edu.br:35357
auth_uri = http://keystone.openstack.sj.ifsc.edu.br:35357
admin_tenant_name = service
admin_user = neutron
admin_password = neutron
auth_uri = http://keystone.openstack.sj.ifsc.edu.br:5000
#auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = neutron
...
[nova]
auth_url = http://keystone.openstack.sj.ifsc.edu.br:35357
#auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = ifsc-sj
project_name = service
username = nova
password = nova
...

metadata_agent.ini:

[DEFAULT]
auth_uri = http://keystone.openstack.sj.ifsc.edu.br:5000
auth_url = http://keystone.openstack.sj.ifsc.edu.br:35357
auth_region = ifsc-sj
admin_tenant_name = service
project_name = service
admin_user = neutron
admin_password = neutron
project_domain_id = default
user_domain_id = default
username = neutron
password = neutron
nova_metadata_ip = neutron-controller.openstack.sj.ifsc.edu.br
...
2015-01-07 18:02:52 -0500 received badge  Supporter (source)