Ask Your Question

Huaming's profile - activity

2015-07-03 01:10:10 -0500 received badge  Famous Question (source)
2015-05-22 01:05:01 -0500 received badge  Notable Question (source)
2015-05-22 01:05:01 -0500 received badge  Popular Question (source)
2015-05-22 00:41:46 -0500 received badge  Notable Question (source)
2015-03-21 08:50:29 -0500 asked a question neutron-plugin-openvswitch-agent cant be started on compute node

root@compute1:~# service neutron-plugin-openvswitch-agent start

neutron-plugin-openvswitch-agent start/running, process 3946

root@compute1:~# service neutron-plugin-openvswitch-agent status

neutron-plugin-openvswitch-agent stop/waiting

And there is no neutron-ovs-agent of compute node shows up when I run neutron agent-list on the controller. Neither log file created under /var/log/neutron/. Any idea to debug this issue, folks?

ml2_conf.ini

[ml2]
type_drivers =flat,gre
tenant_network_types =gre
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_id_ranges =1:1000
[ml2_type_vxlan]
[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[ovs]
local_ip =x.x.x.x
enable_tunneling =True
[agent]
tunnel_types =gre
2015-01-27 01:35:28 -0500 commented answer How to manage user tenants' instances as Admin with REST API

Cool, thanks Ranjit.

2015-01-22 11:24:36 -0500 received badge  Popular Question (source)
2015-01-22 08:21:34 -0500 asked a question How to manage user tenants' instances as Admin with REST API

Admin is able to see user tenants' instances details via CLI (nova show xxxx) after admin.rc is sourced.

But how to do it with REST API?

When generating a token, tenant name must be input. If I use admin as tenant name together with admin credential to generate a token, it cant be used to GET user tenants' instance detail.

{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "xxxx"}}} --> token is only for admin tenant.

If I use user tenant name together with admin credential, token cant be generated.

{"auth": {"tenantName": "user-tenant", "passwordCredentials": {"username": "admin", "password": "xxxx"}}} --> token fail.

2014-12-09 07:34:04 -0500 received badge  Enthusiast
2014-12-05 01:23:49 -0500 answered a question Failed to allocate the network(s), not rescheduling

I've encountered the same issue, no idea.

root@compute1:~# more /var/log/nova/nova-compute.log |grep ERR 2014-12-05 06:49:42.645 9310 ERROR nova.compute.manager [req-75358cd3-5fda-488d-b818-ebe0e07a276e None] [instance: 467e58d6-f8e0-4c01-9263-810c4b8286c9] Instance failed to spawn

2014-12-05 06:49:43.000 9310 ERROR nova.compute.manager [req-75358cd3-5fda-488d-b818-ebe0e07a276e None] [instance: 467e58d6-f8e0-4c01-9263-810c4b8286c9] Failed to allocate network(s)

2014-12-05 06:49:43.004 9310 ERROR nova.compute.manager [req-75358cd3-5fda-488d-b818-ebe0e07a276e None] [instance: 467e58d6-f8e0-4c01-9263-810c4b8286c9] Build of instance 467e58d6-f8e0-4c01-9263-810c4b8286c9 aborted: Failed to allocate the network(s), not rescheduling. root@compute1:~#

2014-12-01 03:43:25 -0500 commented question Private external network is visible to other tenant

it is probably issue of the DHCP server on external networks. I am thinking to assign dedicate ext network to dedicate tenant. How could I work this out?

2014-11-26 10:07:33 -0500 commented answer Private external network is visible to other tenant

Information was updated.

2014-11-25 16:32:15 -0500 received badge  Famous Question (source)
2014-11-24 03:55:29 -0500 received badge  Teacher (source)
2014-11-24 03:55:29 -0500 received badge  Self-Learner (source)
2014-11-19 01:57:13 -0500 received badge  Editor (source)
2014-11-19 01:31:08 -0500 commented answer Private external network is visible to other tenant

My current issue is that all tenants are able to see and set gateway on both of these 2 external networks. Based on the blueprint link, external network should be able to set to private for dedicate tenant.

2014-11-19 01:01:40 -0500 answered a question Private external network is visible to other tenant

root@network:~# ovs-vsctl show aacb4736-666f-4e3d-b3eb-7a002db35481 Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal Port "gre-c0a80207" Interface "gre-c0a80207" type: gre options: {df_default="true", in_key=flow, local_ip="192.168.2.6", out_key=flow, remote_ip="192.168.2.7"} Port "gre-c0a80205" Interface "gre-c0a80205" type: gre options: {df_default="true", in_key=flow, local_ip="192.168.2.6", out_key=flow, remote_ip="192.168.2.5"} Bridge "br-eth3" Port "br-eth3" Interface "br-eth3" type: internal Port "eth3" Interface "eth3" Port "phy-br-eth3" Interface "phy-br-eth3" type: patch options: {peer="int-br-eth3"} Bridge br-int fail_mode: secure Port int-br-ex Interface int-br-ex type: patch options: {peer=phy-br-ex} Port "int-br-eth3" Interface "int-br-eth3" type: patch options: {peer="phy-br-eth3"} Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-ex Port "eth2" Interface "eth2" Port br-ex Interface br-ex type: internal Port phy-br-ex Interface phy-br-ex type: patch options: {peer=int-br-ex} ovs_version: "2.0.2" root@network:~#

root@network:~# ifconfig br-eth3 Link encap:Ethernet HWaddr e6:c8:33:27:c5:46
inet6 addr: fe80::28bf:70ff:fe89:18f3/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:238 (238.0 B) TX bytes:648 (648.0 B)

br-ex Link encap:Ethernet HWaddr ba:60:05:be:8d:49
inet6 addr: fe80::2469:79ff:fea4:8625/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:1070 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:60570 (60.5 KB) TX bytes:648 (648.0 B)

br-int Link encap:Ethernet HWaddr be:a1:0f:63:15:40
inet6 addr: fe80::74e8:2cff:fe48:cd9f/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:71 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5542 (5.5 KB) TX bytes:648 (648.0 B)

br-tun Link encap:Ethernet HWaddr 7a:37:5e:0a:22:4b
inet6 addr: fe80::3470:24ff:fe47:5754/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)

eth0 Link encap:Ethernet HWaddr fa:16:3e:f2:c2:e3
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fef2:c2e3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:357933 errors:0 dropped:0 overruns:0 frame:0 TX packets:641835 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41160966 (41.1 MB) TX bytes:140611604 ...
(more)

2014-11-19 00:31:56 -0500 commented answer Private external network is visible to other tenant

Thanks dbaxps, I am about to create 2 external networks in my icehouse and juno. Just not able to map one of them to dedicate tenants. Do you have any idea about that?

2014-11-19 00:11:32 -0500 commented question Private external network is visible to other tenant

I am using Juno and Icehouse, with which one L3 agent should be able to handle multiple external networks by adding second br-ex2. And I leave external_network_bridge and gateway_external_network_id empty based on manual guidance.

2014-11-18 03:37:54 -0500 received badge  Notable Question (source)
2014-11-17 09:29:03 -0500 received badge  Popular Question (source)
2014-11-17 05:59:21 -0500 asked a question Private external network is visible to other tenant

I am trying to create an external network for a dedicate tenant. I have 2 external network created. One is created within admin tenant for all tenants usage. It works well. The 2nd is created like : neutron net-create ext_net2 --provider:network_type flat --provider:physical_network physnet2 --router:external=True --tenant-id 71caaafeaf9446acb134cd337d13d1d5

Per this link: https://wiki.openstack.org/wiki/Neutr... ext-net2 should be private to tenant 71caaafeaf9446acb134cd337d13d1d5, but all other tenants can create router and set gateway to this external network.

UPDATE 1
oot@network:~# ovs-vsctl show 
aacb4736-666f-4e3d-b3eb-7a002db35481
Bridge br-tun 
Port patch-int 
Interface patch-int 
type: patch 
options: {peer=patch-tun} 
Port br-tun 
Interface br-tun 
type:internal 
Port "gre-c0a80207" 
Interface "gre-c0a80207" 
type:gre 
options: {df_default="true", in_key=flow, local_ip="192.168.2.6", out_key=flow, remote_ip="192.168.2.7"} 
Port "gre-c0a80205" 
Interface "gre-c0a80205" 
type:gre 
options: {df_default="true", in_key=flow, local_ip="192.168.2.6", out_key=flow, remote_ip="192.168.2.5"} 
Bridge "br-eth3" 
Port "br-eth3" 
Interface "br-eth3" 
type: internal 
Port "eth3" 
Interface "eth3" 
Port "phy-br-eth3" 
Interface "phy-br-eth3" 
type: patch 
options: {peer="int-br-eth3"} 
Bridge br-int 
fail_mode: secure 
Port int-br-ex 
Interface int-br-ex 
type:patch 
options: {peer=phy-br-ex} 
Port "int-br-eth3" 
Interface "int-br-eth3" 
type: patch options: {peer="phy-br-eth3"} 
Port br-int 
Interface br-int 
type: internal 
Port patch-tun 
Interface patch-tun 
type: patch 
options: {peer=patch-int} 
Bridge br-ex 
Port "eth2" 
Interface "eth2" 
Port br-ex 
Interface br-ex 
type: internal 
Port phy-br-ex 
Interface phy-br-ex 
type: patch 
options: {peer=int-br-ex} 

ovs_version: "2.0.2"

Could anybody help me on this issue?

Thanks

UPDATE 1
root@network:~# ifconfig
br-eth3   Link encap:Ethernet  HWaddr e6:c8:33:27:c5:46  
      inet6 addr: fe80::28bf:70ff:fe89:18f3/64 Scope:Link
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:5 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:238 (238.0 B)  TX bytes:648 (648.0 B)

br-ex     Link encap:Ethernet  HWaddr ba:60:05:be:8d:49  
      inet6 addr: fe80::2469:79ff:fea4:8625/64 Scope:Link
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:1070 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:60570 (60.5 KB)  TX bytes:648 (648.0 B)

br-int    Link encap:Ethernet  HWaddr be:a1:0f:63:15:40  
      inet6 addr: fe80::74e8:2cff:fe48:cd9f/64 Scope:Link
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:71 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:5542 (5.5 KB)  TX bytes:648 (648.0 B)

br-tun    Link encap:Ethernet  HWaddr 7a:37:5e:0a:22:4b  
      inet6 addr: fe80::3470:24ff:fe47:5754/64 Scope:Link
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes ...
(more)
2014-11-17 05:53:23 -0500 received badge  Scholar (source)
2014-10-27 01:10:20 -0500 answered a question Deleting Network with Python httplib2 doesn't work?

Many thanks folks, I followed your ideas and made it go away. The problem is about body {} which isn't treated as None in httplib2.

2014-10-13 05:59:37 -0500 received badge  Nice Question (source)
2014-10-10 13:22:32 -0500 received badge  Notable Question (source)
2014-10-10 13:22:32 -0500 received badge  Famous Question (source)
2014-10-10 13:22:32 -0500 received badge  Popular Question (source)
2014-07-20 22:50:24 -0500 commented question Deleting Network with Python httplib2 doesn't work?

Any idea, folks?

2014-07-17 16:07:51 -0500 received badge  Student (source)