[Openstack] multiple external networks mapped to the same l3 agent

2015-08-06 Thread ICHIBA Sara
hey there,

I'm trying to configure two external networks for openstack. I'm using the
same l3 agent. the first external network is connected to eth1 via br-eth1
and the second is connected to eth0 via br-ex.

 You can find below my configuration. My problem is that I can't ping the
external gateways from my routers



root@OScontroller ~(keystone_admin)]# ovs-vsctl show
9b3e4cc7-6761-483e-a538-1a132734d1a5
Bridge br-eth2
Port phy-br-eth2
Interface phy-br-eth2
type: patch
options: {peer=int-br-eth2}
Port eth2
Interface eth2
Port br-eth2
Interface br-eth2
type: internal
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port vxlan-c0a80523
Interface vxlan-c0a80523
type: vxlan
options: {df_default=true, in_key=flow,
local_ip=192.168.5.34, out_key=flow, remote_ip=192.168.5.35}
Bridge br-int
fail_mode: secure
Port tap61f76964-85
tag: 1
Interface tap61f76964-85
type: internal
Port tap599b2f77-21
tag: 4095
Interface tap599b2f77-21
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port qr-2b96e8b6-38
tag: 3
Interface qr-2b96e8b6-38
type: internal
Port qvo5cc221dc-e8
tag: 1
Interface qvo5cc221dc-e8
Port qg-6bfc1340-c6
tag: 4
Interface qg-6bfc1340-c6
type: internal
Port int-br-eth2
Interface int-br-eth2
type: patch
options: {peer=phy-br-eth2}
Port qr-047464e1-99
tag: 5
Interface qr-047464e1-99
type: internal
Port qg-7cbde2a0-f0
tag: 2
Interface qg-7cbde2a0-f0
type: internal
Port qr-9e50bd2e-fa
tag: 1
Interface qr-9e50bd2e-fa
type: internal
Port tapa383b7ae-99
tag: 3
Interface tapa383b7ae-99
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port eth0
Interface eth0
ovs_version: 2.3.1



[root@OScontroller openvswitch(keystone_admin)]# cat ovs_neutron_plugin.ini
| grep -v ^# | grep -v ^$
[ovs]
enable_tunneling = True
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip =192.168.5.34
network_vlan_ranges = physnet1,physnet2
bridge_mappings =physnet1:br-ex,physnet2:br-eth2
[agent]
polling_interval = 2
tunnel_types =vxlan
vxlan_udp_port =4789
l2_population = False
arp_responder = False
enable_distributed_routing = False
[securitygroup]
firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver




[root@OScontroller neutron(keystone_admin)]#  cat plugin.ini | grep -v ^# |
grep -v ^$
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =10:100
vxlan_group =224.0.0.1
[securitygroup]
enable_security_group = True





[root@OScontroller neutron(keystone_admin)]#  cat l3_agent.ini | grep -v ^#
| grep -v ^$
[DEFAULT]
debug = False
interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
handle_internal_only_routers = True
external_network_bridge = br-ex
metadata_port = 9697
send_arp_for_ha = 3
periodic_interval = 40
periodic_fuzzy_delay = 5
enable_metadata_proxy = True
router_delete_namespaces = False
agent_mode = legacy
allow_automatic_l3agent_failover=False
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[openstack-dev] multiple external networks mapped to the same l3 agent

2015-08-06 Thread ICHIBA Sara
hey there,

I'm trying to configure two external networks for openstack. I'm using the
same l3 agent. the first external network is connected to eth1 via br-eth1
and the second is connected to eth0 via br-ex.

 You can find below my configuration. My problem is that I can't ping the
external gateways from my routers



root@OScontroller ~(keystone_admin)]# ovs-vsctl show
9b3e4cc7-6761-483e-a538-1a132734d1a5
Bridge br-eth2
Port phy-br-eth2
Interface phy-br-eth2
type: patch
options: {peer=int-br-eth2}
Port eth2
Interface eth2
Port br-eth2
Interface br-eth2
type: internal
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port vxlan-c0a80523
Interface vxlan-c0a80523
type: vxlan
options: {df_default=true, in_key=flow,
local_ip=192.168.5.34, out_key=flow, remote_ip=192.168.5.35}
Bridge br-int
fail_mode: secure
Port tap61f76964-85
tag: 1
Interface tap61f76964-85
type: internal
Port tap599b2f77-21
tag: 4095
Interface tap599b2f77-21
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port qr-2b96e8b6-38
tag: 3
Interface qr-2b96e8b6-38
type: internal
Port qvo5cc221dc-e8
tag: 1
Interface qvo5cc221dc-e8
Port qg-6bfc1340-c6
tag: 4
Interface qg-6bfc1340-c6
type: internal
Port int-br-eth2
Interface int-br-eth2
type: patch
options: {peer=phy-br-eth2}
Port qr-047464e1-99
tag: 5
Interface qr-047464e1-99
type: internal
Port qg-7cbde2a0-f0
tag: 2
Interface qg-7cbde2a0-f0
type: internal
Port qr-9e50bd2e-fa
tag: 1
Interface qr-9e50bd2e-fa
type: internal
Port tapa383b7ae-99
tag: 3
Interface tapa383b7ae-99
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port eth0
Interface eth0
ovs_version: 2.3.1



[root@OScontroller openvswitch(keystone_admin)]# cat ovs_neutron_plugin.ini
| grep -v ^# | grep -v ^$
[ovs]
enable_tunneling = True
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip =192.168.5.34
network_vlan_ranges = physnet1,physnet2
bridge_mappings =physnet1:br-ex,physnet2:br-eth2
[agent]
polling_interval = 2
tunnel_types =vxlan
vxlan_udp_port =4789
l2_population = False
arp_responder = False
enable_distributed_routing = False
[securitygroup]
firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver




[root@OScontroller neutron(keystone_admin)]#  cat plugin.ini | grep -v ^# |
grep -v ^$
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =10:100
vxlan_group =224.0.0.1
[securitygroup]
enable_security_group = True





[root@OScontroller neutron(keystone_admin)]#  cat l3_agent.ini | grep -v ^#
| grep -v ^$
[DEFAULT]
debug = False
interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
handle_internal_only_routers = True
external_network_bridge = br-ex
metadata_port = 9697
send_arp_for_ha = 3
periodic_interval = 40
periodic_fuzzy_delay = 5
enable_metadata_proxy = True
router_delete_namespaces = False
agent_mode = legacy
allow_automatic_l3agent_failover=False
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [Openstack-operators] No route to host

2015-07-08 Thread ICHIBA Sara
hey,

It's probably because you forgot to open the port 22 of your instance using
the security groups.
your ssh command says that it couldn't reach the host 10.x.x.x . are you
trying to ssh into your machine B using its private IP ? if so try to
assign a floating IP to your machine B and then try again with this FIP
instead.

Cheers,
Sara

2015-07-08 7:55 GMT+02:00 aishwarya.adyanth...@accenture.com:

  Hi,



 I’m having trouble while trying to deploy a package from ‘machine-A’
 outside openstack to the ‘machine-B’(instance) inside openstack which is
 created through the dashboard.



 This is the error I get when I try to deploy it:

 ssh: connect to host 10.x.x.x port 22: No route to host



 Could anyone point out what I have to do to fix it.



 Thank you,

 Aishwarya Adyanthaya

 --

 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise confidential information. If you have
 received it in error, please notify the sender immediately and delete the
 original. Any other use of the e-mail by you is prohibited. Where allowed
 by local law, electronic communications with Accenture and its affiliates,
 including e-mail and instant messaging (including content), may be scanned
 by our systems for the purposes of information security and assessment of
 internal compliance with Accenture policy.

 __

 www.accenture.com

 ___
 OpenStack-operators mailing list
 OpenStack-operators@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


[Openstack] Fwd: [Heat]error while parsing template.yaml

2015-05-12 Thread ICHIBA Sara
hello people,

I wrote a simple  template in order to scale a VM in the basis of cpu
utilisation. When I try to execute the heat template. I got this error:

Error parsing template file:///root/simple.yaml while parsing a block
mapping
  in unicode string, line 38, column 3
did not find expected key
  in unicode string, line 117, column 4
I checked my template over and over to see if I missed a space somwhere in
those two line. But couldn't see anything. You can find my  template
attached. Can you plz tell me if there's something wrong with it?

In advance, thanks for responding,
Sara


autoscaling.yaml
Description: Binary data


environment.yaml
Description: Binary data
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[openstack-dev] [heat][ceilometer] autoscaling

2015-05-06 Thread ICHIBA Sara
hey there,

Please I wanna know if their is anyway I can have cpu, ram and network
meters for each VM returned by ceilometer to heat for autoscaling tasks?

In advance, thank you for your response,
Sara
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [heat]: stack stays interminably under the status create in progress

2015-05-05 Thread ICHIBA Sara
Hello there,

I started a project where I need to deploy stacks and orchastrate them
using heat (autoscaling and so on..). I just started playing with heat and
the creation of my first stack is never complete. It stays in the status
create in progress. My log files don't say much. For my template i'm using
a veery simple one to launch a small instance.

Any ideas what that might be?

In advance, thank you for your response.
sara,
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev