Re: [Openstack] BUG: soft lockup messages

2015-01-04 Thread Erhan Ekici
Hi Matej,

I am not sure but most of the soft lock-up messages generated due to I/O
issues.  From your log entries, I see mysqld issues as well as others:

Jan  3 10:41:44 postar kernel: [303154.352793] NMI watchdog: BUG: soft lockup
- CPU#3 stuck for 45s! [mysqld:4601]

Jan  3 10:44:00 postar kernel: [303290.052498] INFO: task mysqld:2290 blocked
for more than 120 seconds.
Jan  3 10:41:44 postar kernel: [303154.352958] CPU: 3 PID: 4601 Comm: mysqld
Not tainted 3.18.1-031801-generic #201412170637

Jan  3 10:44:00 postar kernel: [303290.052499]   Tainted: G L
3.18.1-031801-generic #201412170637
Jan  3 10:44:00 postar kernel: [303290.052499] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan  3 10:44:00 postar kernel: [303290.052502] mysqld  D
0002
   0  2290  1 0x

Can you post the output of the following command on both instance nodes OS
and compute node OS and memory of Compute node and instances?

[user@node] sudo sysctl -a | grep dirty

vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 10
vm.dirty_bytes = 0
vm.dirty_expire_centisecs = 3000
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500


Erhan,

On Sun, Jan 4, 2015 at 2:36 PM, Matej Mailing  wrote:

> 2015-01-03 17:56 GMT+01:00 John Griffith :
> > On Sat, Jan 3, 2015 at 5:05 AM, Matej Mailing  wrote:
> >> Hi,
> >>
> >> we are experiencing randomly-timed soft lockup messages in different
> >> instances (running CentOS, Ubuntu, etc.) with different processes and
> >> on different compute nodes. I suspect that access to the cinder
> >> storage via NFS could be the cause of issue, but then perhaps all the
> >> instances would trigger the error message on the same time? Currently
> >> they don't and no higher access loads are repoted on the NFS server
> >> itself, neither the load is higher at those times ...
> >> What are the best methods to debug this error? Any suggestions and
> >> expeiences on fixing it will be very welcome :-)
> >>
> >> Thanks,
> >> Matej
> >>
> >> ___
> >> 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
> >
> > Hi Matej,
> >
> > I'm assuming the kernel logs indicate NFS as the culprit here? What
> > sort of IO load are you seeing on the system when these are
> > encountered?
> >
> > A quick search on "soft lockup nfs" has a pretty lengthy list of
> > results including some setting recommendations etc.  Maybe start
> > there?
> >
> > Thanks,
> > John
>
> Hello John,
>
> thank you very much for your answer. I can't find anything at all in
> the compute node's logs and my NFS-idea is just a guess
> actually.Example entry from Ubuntu instances is like:
>
> Jan  3 10:41:44 postar kernel: [303154.352793] NMI watchdog: BUG: soft
> lockup - CPU#3 stuck for 45s! [mysqld:4601]
> Jan  3 10:41:44 postar kernel: [303154.352890] Modules linked in:
> xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT
> nf_reject_ipv4 xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4
> nf_defrag_ipv4 xt_state ip6table_filter ip6_tables nfsd nfs_acl
> auth_rpcgss nf_conntrack_netbios_ns
> nf_conntrack_broadcast nfs nf_nat_ftp nf_nat ppdev nf_conntrack_ftp
> nf_conntrack fscache parport_pc parport lockd joydev pvpanic
> iptable_filter cirrus ip_tables 8250_fintek ttm psmouse drm_kms_helper
> sunrpc x_tables serio_raw hid_generic drm grace mac_hid sysimgblt
> sysfillrect syscopyarea
> i2c_piix4 usbhid hid floppy
> Jan  3 10:41:44 postar kernel: [303154.352958] CPU: 3 PID: 4601 Comm:
> mysqld Not tainted 3.18.1-031801-generic #201412170637
> Jan  3 10:41:44 postar kernel: [303154.352961] Hardware name:
> OpenStack Foundation OpenStack Nova, BIOS Bochs 01/01/2011
> Jan  3 10:41:44 postar kernel: [303154.352964] task: 880231b63c00
> ti: 8801e6014000 task.ti: 8801e6014000
> Jan  3 10:41:44 postar kernel: [303154.352966] RIP:
> 0010:[]  []
> copy_user_generic_string+0x2c/0x40
> Jan  3 10:41:44 postar kernel: [303154.352979] RSP:
> 0018:8801e6017c90  EFLAGS: 00010246
> Jan  3 10:41:44 postar kernel: [303154.352981] RAX: a2418000
> RBX: 8801e6017ea0 RCX: 0200
> Jan  3 10:41:44 postar kernel: [303154.352983] RDX: 
> RSI: 8800a2418000 RDI: 7fd365b9
> Jan  3 10:41:44 postar kernel: [303154.352985] RBP: 8801e6017d08
> R08: ea000289061c R09: 8801e6017ca0
> Jan  3 10:41:44 postar kernel: [303154.352987] R10: 8800a5c1b258
> R11: 0293 R12: 
> Jan  3 10:41:44 postar kernel: [303154.352989] R13: 8801e6017ec8
> R14: 1000 R15: 7fd365b9
> Jan  3 10:41:44 postar kernel: [303154.352995] FS:
> 7fd36c28e700() GS:88023fd8()
> knlGS:
> Jan  3 10:41:44 postar kernel: [303154.352998] CS:  0010 DS:  ES:
>  CR0: 80050033

Re: [Openstack] BUG: soft lockup messages

2015-01-04 Thread Erhan Ekici
Hi Matej,

Can you change the values(both on compute and instance node) and see if
soft lock-ups generated again? There are two approaches; one decreasing and
the other increasing the cache.

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

If I/O & Cache is not the source of the problem, we should focus on CPU
settings or kernel.

For example, you can try to use a different kernel (before 3.18.1) and see
if it happens again?

Thanks,
Erhan

On Sun, Jan 4, 2015 at 8:39 PM, Matej Mailing  wrote:

> 2015-01-04 17:10 GMT+01:00 Erhan Ekici :
> > Hi Matej,
> >
> > I am not sure but most of the soft lock-up messages generated due to I/O
> > issues.  From your log entries, I see mysqld issues as well as others:
> >
> > Jan  3 10:41:44 postar kernel: [303154.352793] NMI watchdog: BUG: soft
> > lockup - CPU#3 stuck for 45s! [mysqld:4601]
> > 
> > Jan  3 10:44:00 postar kernel: [303290.052498] INFO: task mysqld:2290
> > blocked for more than 120 seconds.
> > Jan  3 10:41:44 postar kernel: [303154.352958] CPU: 3 PID: 4601 Comm:
> mysqld
> > Not tainted 3.18.1-031801-generic #201412170637
> > 
> > Jan  3 10:44:00 postar kernel: [303290.052499]   Tainted: G L
> > 3.18.1-031801-generic #201412170637
> > Jan  3 10:44:00 postar kernel: [303290.052499] "echo 0 >
> > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> > Jan  3 10:44:00 postar kernel: [303290.052502] mysqld  D
> > 0002 0  2290  1 0x
> >
> > Can you post the output of the following command on both instance nodes
> OS
> > and compute node OS and memory of Compute node and instances?
> >
> > [user@node] sudo sysctl -a | grep dirty
> >
> > vm.dirty_background_bytes = 0
> > vm.dirty_background_ratio = 10
> > vm.dirty_bytes = 0
> > vm.dirty_expire_centisecs = 3000
> > vm.dirty_ratio = 20
> > vm.dirty_writeback_centisecs = 500
> >
> >
> > Erhan,
>
> Hello Erhan,
>
> instance node output:
>
> error: permission denied on key 'net.ipv4.route.flush'
> error: permission denied on key 'net.ipv6.route.flush'
> error: permission denied on key 'vm.compact_memory'
> vm.dirty_background_bytes = 0
> vm.dirty_background_ratio = 10
> vm.dirty_bytes = 0
> vm.dirty_expire_centisecs = 3000
> vm.dirty_ratio = 20
> vm.dirty_writeback_centisecs = 500
>
> Mem:   8175996k total,  4105708k used,  4070288k free,   218552k buffers
>
>
> compute node output:
> vm.dirty_background_bytes = 0
> vm.dirty_background_ratio = 10
> vm.dirty_bytes = 0
> vm.dirty_expire_centisecs = 3000
> vm.dirty_ratio = 20
> vm.dirty_writeback_centisecs = 500
>
> KiB Mem:  16432492 total, 16254932 used,   177560 free, 9316 buffers
>
> Lock-ups happen with different processes, above-mentioned mysqld is
> just an example.
>
> Thanks,
> Matej
>
>
> >
> > On Sun, Jan 4, 2015 at 2:36 PM, Matej Mailing  wrote:
> >>
> >> 2015-01-03 17:56 GMT+01:00 John Griffith :
> >> > On Sat, Jan 3, 2015 at 5:05 AM, Matej Mailing  wrote:
> >> >> Hi,
> >> >>
> >> >> we are experiencing randomly-timed soft lockup messages in different
> >> >> instances (running CentOS, Ubuntu, etc.) with different processes and
> >> >> on different compute nodes. I suspect that access to the cinder
> >> >> storage via NFS could be the cause of issue, but then perhaps all the
> >> >> instances would trigger the error message on the same time? Currently
> >> >> they don't and no higher access loads are repoted on the NFS server
> >> >> itself, neither the load is higher at those times ...
> >> >> What are the best methods to debug this error? Any suggestions and
> >> >> expeiences on fixing it will be very welcome :-)
> >> >>
> >> >> Thanks,
> >> >> Matej
> >> >>
> >> >> ___
> >> >> 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
> >> >
> >> > Hi Matej,
> >> >
> >> > I'm assuming the kernel logs indicate NFS as the culprit here? What
> >> > sort of IO load are you seeing on the system when these are
> >> > encountered?
> >> >
> >> > A quick search on &q

Re: [Openstack] [Devstack][Neutron]Neutron with External DHCP server

2015-01-06 Thread Erhan Ekici
Hi,

As far as I know, there is a spec and feature for external dhcp server
configuration but *just for ironic project* (bare metal installation).
Btw, I have not tested it yet.

http://specs.openstack.org/openstack/ironic-specs/specs/juno/support-external-dhcp.html

Erhan,





On Tue, Jan 6, 2015 at 1:04 PM, foss geek  wrote:

> Dear All,
>
> Is it possible to configure neutron to take VM ip from external DHCP
> server?
>
> I am having All In One openstack env deployed using devstack icehouse. I
> am looking for an option to integrate it with external DHCP server.
>
> --
> Thanks & Regards
> E-Mail: thefossg...@gmail.com
> IRC: neophy
> Blog : http://lmohanphy.livejournal.com/
>
>
> ___
> 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
>
>
___
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


Re: [Openstack] Does security group in neutron be supported in windows 2012 (JUNO) ?

2015-01-09 Thread Erhan Ekici
Hi Livemoon,

I have not tried cloudbase nova client yet. However, I took a look at your
log file and followed the error messages in Juno release source code:

*From neutron/agent/securitygroups_rpc.py file:*

229def _update_security_group_info(self, security_groups,
230security_group_member_ips):
231   * LOG.debug("Update security group information")*
232for sg_id, sg_rules in security_groups.items():
233   * self.firewall.update_security_group_rules(sg_id, sg_rules)*
234for remote_sg_id, member_ips in
security_group_member_ips.items():
235self.firewall.update_security_group_members(
236remote_sg_id, member_ips)

*From neutron/agent/firewall.py*

112def update_security_group_rules(self, sg_id, rules):
113"""Update rules in a security group."""
114*raise NotImplementedError()*

I think it is clear that you got error message. You can take a look at
neutron juno release source code and trace your error messages in source
code.

https://github.com/openstack/neutron/blob/stable/juno/neutron/agent/firewall.py

Erhan,



On Fri, Jan 9, 2015 at 8:15 AM, livemoon  wrote:

>
> I install nova(cloudbase juno version) on windows 2012 (Hyper-V). I using
> flat mode in neutron.
> I found security_group is in config file and I set
> "enable_security_group=true" in neutron_hyperv_agent and set
> "security_group_api=neutron" in nova
>
> but in the neutron log file ,it said:
>
> 2015-01-09 13:53:43.303 3816 DEBUG
> neutron.plugins.hyperv.agent.security_groups_driver
> [req-23712714-abcf-44bd-9480-ce471f094330 None] Creating port 1 rules
> prepare_port_filter C:\Program Files (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\security_groups_driver.py:53
> 2015-01-09 13:53:43.303 3816 DEBUG neutron.agent.securitygroups_rpc
> [req-23712714-abcf-44bd-9480-ce471f094330 None] Update security group
> information for ports [u'cbab1deb-5a73-4c5d-bb80-ce733bfe22ac']
> prepare_devices_filter C:\Program Files (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py:225
> 2015-01-09 13:53:43.303 3816 DEBUG neutron.agent.securitygroups_rpc
> [req-23712714-abcf-44bd-9480-ce471f094330 None] Update security group
> information _update_security_group_info C:\Program Files (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py:231
> 2015-01-09 13:53:43.303 3816 ERROR
> neutron.plugins.hyperv.agent.hyperv_neutron_agent
> [req-23712714-abcf-44bd-9480-ce471f094330 None] Error in agent event loop:
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent Traceback (most recent
> call last):
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py",
> line 448, in daemon_loop
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent sync =
> self._process_network_ports(port_info)
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py",
> line 424, in _process_network_ports
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent resync_a =
> self._treat_devices_added(port_info['added'])
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py",
> line 392, in _treat_devices_added
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent
> self.sec_groups_agent.prepare_devices_filter([device])
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py",
> line 202, in decorated_function
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent return func(self,
> *args, **kwargs)
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py",
> line 227, in prepare_devices_filter
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent security_groups,
> security_group_member_ips)
> 2015-01-09 13:53:43.303 3816 TRACE
> neutron.plugins.hyperv.agent.hyperv_neutron_agent   File "C:\Program Files
> (x86)\Cloudbase
> Solutions\OpenStack\No

Re: [Openstack] Problem with nova image-create

2015-01-12 Thread Erhan Ekici
Hi Fiorenza,

Can you see any similarities with the following case:

https://bugs.launchpad.net/nova/+bug/1287047

Can you provide more information regarding your VM on which image create
fails?

Erhan,


On Fri, Jan 9, 2015 at 1:22 PM, Fiorenza Meini  wrote:

> Hi there,
> I'm experiencing a strange behaviour when I run nova image-create on a
> particular VM; this is the error I can find in nova-compute.log:
>
> 'libvirtError: block copy still active: domain has active block job\n'
>
> Even if I give the "shutdoff" command in Dashboard panel, the behaviour is
> the same.
>
> The Openstack version in Icehouse.
>
> Any suggestion, please ?
>
> Regards
> Fiorenza
>
> --
> Spazio Web S.r.l.
> V. Dante, 10
> 13900 Biella
> Tel.: +39 015 2431982
> Fax.: +39 015 2522600
> Numero d'Iscrizione al Registro Imprese presso CCIAA Biella, Cod.Fisc.e
> P.Iva: 02414430021
> Iscriz. REA: BI - 188936 Cap. Soc.: €. 30.000 i.v.
>
> ___
> 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
>
___
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


Re: [Openstack] specifying compute node in migration of instances

2015-01-14 Thread Erhan Ekici
Hi Priyanka,

Can you take a look at the following links:

Juno Spec: Enable cold migration with target host
http://specs.openstack.org/openstack/nova-specs/specs/juno/approved/cold-migration-with-target.html

https://review.openstack.org/#/c/66819/   (November 20, 2014 - Status:
Abandoned).

Read whole thread and review patch codes to understand how can you do that.

Erhan,



On Wed, Jan 14, 2015 at 4:02 PM, ppnaik  wrote:

> Hi All,
>
> I wanted to specify the compute node for normal migration. But it is only
> possible in live-migration. Sites suggest tweaking the nova source code.
> Can someone suggest how to do this.
>
> Thanks,
>
> Priyanka
>
> ___
> 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
>
___
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


Re: [Openstack] [Neutron][Horizon]Create Instance With a Subnet

2015-01-20 Thread Erhan Ekici
Hi Wilence,

(for Juno), DHCP agent uses one subnet for a given network. (even if you
have multiple --dhcp enabled subnets on the same network).

check "neutron net-list" command. First subnet in given network will be
used as ip pool and new instance will get its ip from that pool via dhcp.
If you need to change subnet in instance launch step, you should use fixed
-ip when you create a new instance.

I do not think that you can do much in dashboard when you want to transfer
an instance from subnet1 to subnet2. However, you can use nova client-cli
to attach/detach interfaces to your instance. (Be careful, you need to
manually configure the second fixed-ip in your instance since
interface-attach can not do anything to configure newly added interface.
Just newly added device will available but not configured).

Erhan,




On Thu, Jan 15, 2015 at 9:46 AM, Wilence Yao  wrote:

> Hi, All
>   I am new for openstack and focusing on networking. When I create a
> instance from dashboard, I can only chose a network for my instance. But
> in  my opinion, the instance should belong to one given subnet but not a
> network.
>   Then I read the nova manual. I found that a instance can boot with a
> fixed-ip from a nic. So , when my private network has two subnets(subnet1
> 10.0.0.0/24 and subnet2 10.0.1.0/24), the instance launched from
> dashboard was allocated to the  isubnet1 by default. How can I launch a
> instance and  allocatedit  to a subnet I chosen?  Should I allocate a fixed
> ip to the instance instead of dhcp?
> By the way, when I transfer a instance form subnet1 to subnet2, what can I
> do in dashboard?
> The test environment is devstack juno in ubuntu 14.04.
>
> Appreciate your help in advance.
>
> Thanks,
> Wilence
>
>
> ___
> 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
>
>
___
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


Re: [Openstack] [Neutron][OpenStack]How To Debug L3 Agent in DevStack

2015-01-20 Thread Erhan Ekici
Hi Wilence,

To enable debugging of neutron L3 agent;

edit l3_agent.ini file under the /etc/neutron directory and set debug to
True.

debug = True

then restart neutron-l3-agent service.

Erhan,


On Tue, Jan 20, 2015 at 8:15 AM, Wilence Yao  wrote:

> Hi all,
>
> As a OpenStack developer, I want to make out the working mechanism of L3
> Agent in nentron. Before that I have read some materials in wiki and docs
> of openstack.org. When I jump into the code, the nuetron code is so
> complex that I can't make it clear. Accodring to my previous exprience,
> debuging the code step by step may help improvement.
> Are there some docs and wiki that focus on neutron debug ?
> The developing environment is devstack stable/juno in one node.
>
> Thanks for any help.
>
> ___
> 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
>
>
___
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


Re: [Openstack] [Neutron][OpenStack]How To Debug L3 Agent in DevStack

2015-01-20 Thread Erhan Ekici
Hi Wilence,

just realized that you talk about code debug. Sorry! This may help:

https://wiki.openstack.org/wiki/NeutronDevelopment#How_to_debug_Neutron_.28and_other_OpenStack_projects_probably_.29

Erhan,



On Wed, Jan 21, 2015 at 12:54 AM, Erhan Ekici  wrote:

> Hi Wilence,
>
> To enable debugging of neutron L3 agent;
>
> edit l3_agent.ini file under the /etc/neutron directory and set debug to
> True.
>
> debug = True
>
> then restart neutron-l3-agent service.
>
> Erhan,
>
>
> On Tue, Jan 20, 2015 at 8:15 AM, Wilence Yao 
> wrote:
>
>> Hi all,
>>
>> As a OpenStack developer, I want to make out the working mechanism of L3
>> Agent in nentron. Before that I have read some materials in wiki and docs
>> of openstack.org. When I jump into the code, the nuetron code is so
>> complex that I can't make it clear. Accodring to my previous exprience,
>> debuging the code step by step may help improvement.
>> Are there some docs and wiki that focus on neutron debug ?
>> The developing environment is devstack stable/juno in one node.
>>
>> Thanks for any help.
>>
>> ___
>> 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
>>
>>
>
___
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


Re: [Openstack] [openstack][neutron] ipv6 DHCP state full issue

2015-01-23 Thread Erhan Ekici
Hi Ajay,

Can you share the following commands you run?

neutron net-create .?
neutron subnet-create ?
neutron router-interface-add ...?

and the output of the following command?

# ps -ef  | grep dnsmasq

Erhan,



On Sat, Jan 24, 2015 at 12:53 AM, Ajay Kalambur (akalambu) <
akala...@cisco.com> wrote:

> Hi
> I am using Openstack Juno release to test some basic ipv6. I created a
> ipv6 tenant network and subnet with ip6_ra_mode and ipv6_address_mode set
> to
> DHCPv6 stateful. The instance cannot get the DHCP ip address.
>
> Reason seems to be that the DHCP advertise message in response to the DHCP
> solicit message from the client says no address available
> 14:14:07.861197 IP6 (hlim 1, next-header UDP (17) payload length: 64)
> fe80::f816:3eff:fee2:25ef.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp
> sum ok] dhcp6 solicit (xid=172906 (client-ID hwaddr/time type 1 time
> 454713283 5254005cbf62) (option-request DNS-server DNS-search-list
> Client-FQDN SNTP-servers) (elapsed-time 295) (IA_NA IAID:1055008239
> T1:3600 T2:5400))
> 14:14:07.862505 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload
> length: 92) fe80::f816:3eff:fe58:88c7.dhcpv6-server >
> fe80::f816:3eff:fee2:25ef.dhcpv6-client: [udp sum ok] dhcp6 advertise
> (xid=172906 (client-ID hwaddr/time type 1 time 454713283 5254005cbf62)
> (server-ID hwaddr/time type 1 time 475357091 fa163e5888c7) (IA_NA
> IAID:1055008239 T1:4294967295 T2:4294967295) (status-code no addresses))
>
>
>
>
> Dnsmasq is launched fine and the hosts file on dhcp seems to be fine
> fa:16:3e:e2:25:ef,host-2001-50--6.openstacklocal,[2001:50::6]
>
> But somehow the DHCP advertise message shows no addresses
>
> Ajay
>
>
>
> ___
> 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
>
___
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