Ask Your Question

TheFutonEng's profile - activity

2015-02-12 09:32:45 -0500 received badge  Famous Question (source)
2015-01-14 06:07:07 -0500 received badge  Famous Question (source)
2014-12-03 14:20:40 -0500 received badge  Notable Question (source)
2014-12-02 16:57:54 -0500 received badge  Popular Question (source)
2014-12-02 13:00:22 -0500 commented answer glance bug or documenation error - Juno

I've created a bug report in the glance project as a starting point. If it's determined that the issue is actually in Keystone, I'll file another bug report there.

https://bugs.launchpad.net/glance/+bu...

Thanks again for the help!

2014-12-02 12:28:03 -0500 commented answer glance bug or documenation error - Juno

Thanks for the help @mpetason.

2014-12-02 12:28:02 -0500 received badge  Supporter (source)
2014-12-02 10:54:54 -0500 asked a question glance bug or documenation error - Juno

Hello everyone. Not sure where the proper place is to report this. I've run into an issue with glance building a new Juno install on Ubuntu 14.04.1.

I installed and configured glance as per the install instructions on the OpenStack website and received the following error when attempting to upload a cirros image:

[root@controller]# source ~/openstack-tools/admin-openrc.sh 
[root@controller]# glance image-create --name "cirros-0.3.3-x86_64" --file cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress
[=============================>] 100%
Request returned failure status.
Invalid OpenStack Identity credentials.

Keystone Logs:

2014-12-02 07:52:16.300 11159 INFO eventlet.wsgi.server [-] 192.168.122.11 - - [02/Dec/2014 07:52:16] "POST /v2.0/tokens HTTP/1.1" 200 1250 0.084692
127.0.0.1 - - [02/Dec/2014 07:52:16] code 400, message Bad request version ('b\x00\x00\x82\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')
127.0.0.1 - - [02/Dec/2014 07:52:16] "^V^C^A^A^\^A^@^A^X^C^C<DA>^M<FA><91><92>`^V<94><97>^Z^TPߕ<B9><A4><A8>^E<D3>G;<FA><AC>5^X"<9B><88> b^@^@<82><C0>0<C0>,<C0>(
<C0>$<C0>^T<C0>" 400 -
127.0.0.1 - - [02/Dec/2014 07:52:16] code 400, message Bad request syntax ('\x16\x03\x01\x01\x1c\x01\x00\x01\x18\x03\x03\xc7\xc2s\xdb\x97w\x94t\x84\xa4\xca.\x9c\x18\xa9\xd7\xd1\xf2\x94\xfb\xad\x1c\x04\xbc\x07\xcf!\xda5Z.\xa7\x00\x00\x82\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')
127.0.0.1 - - [02/Dec/2014 07:52:16] "^V^C^A^A^\^A^@^A^X^C^C<C7><C2>sۗw<94>t<84><A4><CA>.<9C>^X<A9><D7><D1><F2><94><FB><AD>^\^D<BC>^G<CF>!<DA>5Z.<A7>^@^@<82><C0>0
<C0>,<C0>(<C0>$<C0>^T<C0>" 400 -
127.0.0.1 - - [02/Dec/2014 07:52:17] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x01\x1c\x01\x00\x01\x18\x03\x03\xdf\xa1\x88\xb5)\x95\xd8L')
127.0.0.1 - - [02/Dec/2014 07:52:17] "^V^C^A^A^\^A^@^A^X^C^Cߡ<88><B5>)<95><D8>L 0<8E><B6>ܬqK<98><90><D8>^N<DF>F<CA>ܯ岼E|<B8>B^@^@<82><C0>0<C0>,<C0>(<C0>$<C0>^T
<C0>" 400 -
127.0.0.1 - - [02/Dec/2014 07:52:19] code 400, message Bad request syntax ('\x16\x03\x01\x01\x1c\x01\x00\x01\x18\x03\x03\x89\xc8\xa5\xea!\x8f\xad\x9d\xb1\xf86,X\xf1IC\xe1\x07\x95\x87Y\xa5\x8f\x05\xf9!d\xd97\x7f\xc1\xdf\x00\x00\x82\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')
127.0.0.1 - - [02/Dec/2014 07:52:19] "^V^C^A^A^\^A^@^A^X^C^C<89>ȥ<EA>!<8F><AD><9D><B1><F8>6,X<F1>IC<E1>^G<95><87>Y<A5 ...
(more)
2014-11-05 05:21:14 -0500 received badge  Notable Question (source)
2014-10-30 02:25:23 -0500 received badge  Popular Question (source)
2014-10-29 09:46:32 -0500 received badge  Self-Learner (source)
2014-10-29 09:46:32 -0500 received badge  Teacher (source)
2014-10-29 09:37:02 -0500 received badge  Editor (source)
2014-10-29 09:36:17 -0500 answered a question Unable to boot instance on new VXLAN network

@dbaxps, thanks for the suggestion. Got things working by breaking out the tunnel_types parameter into a separate stanza in the ml2_conf.ini file on the network node and all of the compute nodes.

[ovs]
local_ip = 10.0.1.21

[agent]
tunnel_types = gre,vxlan
enable_tunneling = True

Now both GRE and VXLAN tunnels are up:

[root@network]# ovs-vsctl show | egrep '(vxlan|gre)'
        Port "vxlan-0a00018c"
            Interface "vxlan-0a00018c"
                type: vxlan
        Port "gre-0a00018c"
            Interface "gre-0a00018c"
                type: gre
        Port "gre-0a00011f"
            Interface "gre-0a00011f"
                type: gre
        Port "gre-0a000182"
            Interface "gre-0a000182"
                type: gre
        Port "vxlan-0a000182"
            Interface "vxlan-0a000182"
                type: vxlan
        Port "vxlan-0a00011f"
            Interface "vxlan-0a00011f"
                type: vxlan

Documentation found here: http://docs.openstack.org/admin-guide-cloud/content/ml2_l2pop_ovs_scenarios.html (http://docs.openstack.org/admin-guide...)

2014-10-28 15:36:16 -0500 asked a question Unable to boot instance on new VXLAN network

Attempting to test VXLAN on an existing and working ICEHOUSE deployment which was previously only using GRE for tenant separation. Config files were updated to enable VXLAN and the openvswitch agent was reloaded on all nodes and the neutron-server on the controller node . A new tenant was created as was a network using VXLAN but no instances on this new tenant network will boot properly nor does 'ovs-vsctl show' display any VXLAN tunnels.

Running ICEHOUSE release on nested Ubuntu 14.04 KVM instances.

1 controller node

1 network node

3 compute nodes

Tenants:

demo1

demo2

Configuration files:

controller
##############################################################
[root@controller]# egrep -v '(^#|^$)' /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2]
type_drivers = gre,vxlan
tenant_network_types = gre,vxlan
mechanism_drivers = openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_id_ranges = 1:1000
[ml2_type_vxlan]
vni_ranges = 1001:1050
[securitygroup]
enable_security_group = True

##############################################################


network
##############################################################
[root@network]# egrep -v '(^#|^$)' /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2]
type_drivers = gre,vxlan
tenant_network_types = gre,vxlan
mechanism_drivers = openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_id_ranges = 1:1000
[ml2_type_vxlan]
vni_ranges = 1001:1050
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
[ovs]
local_ip = 10.0.1.21
tunnel_types = gre,vxlan
enable_tunneling = True


##############################################################


compute
##############################################################
[root@compute]# egrep -v '(^#|^$)' /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2]
type_drivers = gre,vxlan
tenant_network_types = gre,vxlan
mechanism_drivers = openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_id_ranges = 1:1000
[ml2_type_vxlan]
vni_ranges = 1001:1050
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
[ovs]
local_ip = 10.0.1.31
tunnel_types = gre,vxlan
enable_tunneling = True

##############################################################



Create tenant demo network using VXLAN and attach network to a router
##############################################################

[root@controller]# source admin-openrc.sh ; neutron net-create demo2-net --tenant-id 68734316175b4a28b6c82aebafe49605 --provider:network_type vxlan --provider:segmentation_id 1001
Created a new network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 75c76edd-ee79-4bbd-ae72-e31146ffff0b |
| name                      | demo2-net                            |
| provider:network_type     | vxlan                                |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1001                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tenant_id                 | 68734316175b4a28b6c82aebafe49605     |
+---------------------------+--------------------------------------+
[root@controller]# source demo2-openrc.sh
[root@controller]# neutron subnet-create demo2-net --name demo2-subnet --gateway 192.168.15.254 192.1               68.15.0/24
Created a new subnet:
+------------------+----------------------------------------------------+
| Field            | Value                                              |
+------------------+----------------------------------------------------+
| allocation_pools | {"start": "192.168.15.1", "end": "192.168.15.253"} |
| cidr             | 192.168.15.0/24                                    |
| dns_nameservers  |                                                    |
| enable_dhcp      | True                                               |
| gateway_ip       | 192.168.15.254                                     |
| host_routes      |                                                    |
| id               | dbb5bc5e-6a43-4077-b232-9cad10bd913b               |
| ip_version       | 4                                                  |
| name             | demo2-subnet                                       |
| network_id       | 75c76edd-ee79-4bbd-ae72-e31146ffff0b               |
| tenant_id        | 68734316175b4a28b6c82aebafe49605                   |
+------------------+----------------------------------------------------+

[root@controller]# neutron router-create demo2-router
Created a new router:
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| external_gateway_info |                                      |
| id                    | 2bea9d02-d489-4912-a295-b334cf363d9c |
| name                  | demo2-router                         |
| status                | ACTIVE                               |
| tenant_id             | 68734316175b4a28b6c82aebafe49605     |
+-----------------------+--------------------------------------+
[root@controller]# neutron router-interface-add demo2-router demo2-subnet
Added interface e4f462a4-1195-4572-94f4-e94b8cff0203 to router demo2-router.
[root@controller]# neutron router-gateway-set demo2-router public
Set gateway for router demo2-router
[root@controller]# neutron router-show demo2-router
+-----------------------+-----------------------------------------------------------------------------+
| Field                 | Value                                                                       |
+-----------------------+-----------------------------------------------------------------------------+
| admin_state_up        | True                                                                        |
| external_gateway_info | {"network_id": "b2fe0a7b-8175-45df-9daf-643b6f4cbc67", "enable_snat": true} |
| id                    | 2bea9d02-d489-4912-a295-b334cf363d9c                                        |
| name                  | demo2-router                                                                |
| routes                |                                                                             |
| status                | ACTIVE                                                                      |
| tenant_id             | 68734316175b4a28b6c82aebafe49605                                            |
+-----------------------+-----------------------------------------------------------------------------+

##############################################################

Attempt to boot host off of new VXLAN network

[root@controller]# nova boot --flavor 1 --image cirros-test --nic net-id=75c76edd-ee79-4bbd-ae72-e31146ffff0b --security-group default --key-name demo2-cloud-key --availability-zone nova:compute demo2-cirros11 ; date
+--------------------------------------+----------------------------------------------------+
| Property                             | Value                                              |
+--------------------------------------+----------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                             |
| OS-EXT-AZ:availability_zone          | nova                                               |
| OS-EXT-STS:power_state               | 0                                                  |
| OS-EXT-STS:task_state                | scheduling                                         |
| OS-EXT-STS:vm_state                  | building                                           |
| OS-SRV-USG:launched_at               | -                                                  |
| OS-SRV-USG:terminated_at             | -                                                  |
| accessIPv4                           |                                                    |
| accessIPv6                           |                                                    |
| adminPass                            | z6R7teL7K3Sg                                       |
| config_drive                         |                                                    |
| created                              | 2014-10-28T20:15:18Z                               |
| flavor                               | m1.tiny (1)                                        |
| hostId                               |                                                    |
| id                                   | cefcb18f-c795-48f8-8691-e763e2e50c68               |
| image                                | cirros-test (4fe7b3a3-9865-4c3f-9c2d-a5b601936e1b) |
| key_name                             | demo2-cloud-key                                    |
| metadata                             | {}                                                 |
| name                                 | demo2-cirros11                                     |
| os-extended-volumes:volumes_attached | []                                                 |
| progress                             | 0                                                  |
| security_groups                      | default                                            |
| status                               | BUILD ...
(more)
2014-10-28 15:23:58 -0500 commented answer LBaas, How do we assign floating IP to the VIP

Thanks!!!!

2014-10-28 08:30:04 -0500 received badge  Enthusiast
2014-10-15 11:37:23 -0500 commented answer LBaas, How do we assign floating IP to the VIP

I realize this is an old post but does anyone know offhand how to perform this association via the command line?