Re: [Openstack] live_migration only using 8 Mb speed

2018-08-23 Thread Matthew Thode
On 18-08-23 14:33:44, Satish Patel wrote:
> Matt,
> 
> I am going to override following in user_variable.yml file in that
> case do i need to run ./bootstrap-ansible.sh script?
> 
> ## Nova service
> nova_git_repo: https://git.openstack.org/openstack/nova
> nova_git_install_branch: a9c9285a5a68ab89a6543d143c364d90a01cd51c #
> HEAD of "stable/queens" as of 06.08.2018
> nova_git_project_group: nova_all
> 
> 
> 
> On Thu, Aug 23, 2018 at 7:18 AM, Satish Patel  wrote:
> > I'm testing this in lab, no load yet
> >
> > Sent from my iPhone
> >
> >> On Aug 23, 2018, at 2:30 AM, Matthew Thode  
> >> wrote:
> >>
> >>> On 18-08-22 23:04:57, Satish Patel wrote:
> >>> Mathew,
> >>>
> >>> I haven't applied any patch yet but i am noticing in cluster some host
> >>> migrating VM super fast and some host migrating very slow. Is this
> >>> known behavior?
> >>>
> >>> On Wed, Aug 22, 2018 at 11:28 AM, Matthew Thode
> >>>  wrote:
> >>>> On 18-08-22 10:58:48, Satish Patel wrote:
> >>>>> Matthew,
> >>>>>
> >>>>> I have two option looks like, correct me if i am wrong.
> >>>>>
> >>>>> 1. I have two option, upgrade minor release from 17.0.7-6-g9187bb1 to
> >>>>> 17.0.8-23-g0aff517  and upgrade full OSA
> >>>>>
> >>>>> 2. Just do override as you said "nova_git_install_branch:" in my
> >>>>> /etc/openstack_deploy/user_variables.yml  file, and run playbooks.
> >>>>>
> >>>>>
> >>>>> I think option [2] is safe to just touch specific component, also am i
> >>>>> correct about override in /etc/openstack_deploy/user_variables.yml
> >>>>> file?
> >>>>>
> >>>>> You mentioned "nova_git_install_branch:
> >>>>> dee99b1ed03de4b6ded94f3cf6d2ea7214bca93b" but i believe it should be
> >>>>> "a9c9285a5a68ab89a6543d143c364d90a01cd51c" am i correct?
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Aug 22, 2018 at 10:46 AM, Matthew Thode
> >>>>>  wrote:
> >>>>>> On 18-08-22 10:33:11, Satish Patel wrote:
> >>>>>>> Thanks Matthew,
> >>>>>>>
> >>>>>>> Can i put that sha in my OSA at
> >>>>>>> playbooks/defaults/repo_packages/openstack_services.yml by hand and
> >>>>>>> run playbooks [repo/nova] ?
> >>>>>>>
> >>>>>>> On Wed, Aug 22, 2018 at 10:24 AM, Matthew Thode
> >>>>>>>  wrote:
> >>>>>>>> On 18-08-22 08:35:09, Satish Patel wrote:
> >>>>>>>>> Currently in stable/queens i am seeing this sha
> >>>>>>>>> https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L112
> >>>>>>>>>
> >>>>>>>>> On Wed, Aug 22, 2018 at 2:02 AM, Matthew Thode
> >>>>>>>>>  wrote:
> >>>>>>>>>> On 18-08-22 01:57:17, Satish Patel wrote:
> >>>>>>>>>>> What I need to upgrade, any specific component?
> >>>>>>>>>>>
> >>>>>>>>>>> I have deployed openstack-ansible
> >>>>>>>>>>>
> >>>>>>>>>>> Sent from my iPhone
> >>>>>>>>>>>
> >>>>>>>>>>>>> On Aug 22, 2018, at 1:06 AM, Matthew Thode 
> >>>>>>>>>>>>>  wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 18-08-22 01:02:53, Satish Patel wrote:
> >>>>>>>>>>>>> Matthew,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Thanks for reply, Look like i don't have this patch
> >>>>>>>>>>>>> https://review.openstack.org/#/c/591761/
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> So i have to patch following 3 file manually?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> nova/tests/uni

Re: [Openstack] live_migration only using 8 Mb speed

2018-08-22 Thread Matthew Thode
On 18-08-22 23:04:57, Satish Patel wrote:
> Mathew,
> 
> I haven't applied any patch yet but i am noticing in cluster some host
> migrating VM super fast and some host migrating very slow. Is this
> known behavior?
> 
> On Wed, Aug 22, 2018 at 11:28 AM, Matthew Thode
>  wrote:
> > On 18-08-22 10:58:48, Satish Patel wrote:
> >> Matthew,
> >>
> >> I have two option looks like, correct me if i am wrong.
> >>
> >> 1. I have two option, upgrade minor release from 17.0.7-6-g9187bb1 to
> >> 17.0.8-23-g0aff517  and upgrade full OSA
> >>
> >> 2. Just do override as you said "nova_git_install_branch:" in my
> >> /etc/openstack_deploy/user_variables.yml  file, and run playbooks.
> >>
> >>
> >> I think option [2] is safe to just touch specific component, also am i
> >> correct about override in /etc/openstack_deploy/user_variables.yml
> >> file?
> >>
> >> You mentioned "nova_git_install_branch:
> >> dee99b1ed03de4b6ded94f3cf6d2ea7214bca93b" but i believe it should be
> >> "a9c9285a5a68ab89a6543d143c364d90a01cd51c" am i correct?
> >>
> >>
> >>
> >> On Wed, Aug 22, 2018 at 10:46 AM, Matthew Thode
> >>  wrote:
> >> > On 18-08-22 10:33:11, Satish Patel wrote:
> >> >> Thanks Matthew,
> >> >>
> >> >> Can i put that sha in my OSA at
> >> >> playbooks/defaults/repo_packages/openstack_services.yml by hand and
> >> >> run playbooks [repo/nova] ?
> >> >>
> >> >> On Wed, Aug 22, 2018 at 10:24 AM, Matthew Thode
> >> >>  wrote:
> >> >> > On 18-08-22 08:35:09, Satish Patel wrote:
> >> >> >> Currently in stable/queens i am seeing this sha
> >> >> >> https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L112
> >> >> >>
> >> >> >> On Wed, Aug 22, 2018 at 2:02 AM, Matthew Thode
> >> >> >>  wrote:
> >> >> >> > On 18-08-22 01:57:17, Satish Patel wrote:
> >> >> >> >> What I need to upgrade, any specific component?
> >> >> >> >>
> >> >> >> >> I have deployed openstack-ansible
> >> >> >> >>
> >> >> >> >> Sent from my iPhone
> >> >> >> >>
> >> >> >> >> > On Aug 22, 2018, at 1:06 AM, Matthew Thode 
> >> >> >> >> >  wrote:
> >> >> >> >> >
> >> >> >> >> >> On 18-08-22 01:02:53, Satish Patel wrote:
> >> >> >> >> >> Matthew,
> >> >> >> >> >>
> >> >> >> >> >> Thanks for reply, Look like i don't have this patch
> >> >> >> >> >> https://review.openstack.org/#/c/591761/
> >> >> >> >> >>
> >> >> >> >> >> So i have to patch following 3 file manually?
> >> >> >> >> >>
> >> >> >> >> >> nova/tests/unit/virt/libvirt/test_driver.py213
> >> >> >> >> >> nova/tests/unit/virt/test_virt_drivers.py2
> >> >> >> >> >> nova/virt/libvirt/driver.py
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
> >> >> >> >> >>  wrote:
> >> >> >> >> >>> On 18-08-22 00:27:08, Satish Patel wrote:
> >> >> >> >> >>>> Folks,
> >> >> >> >> >>>>
> >> >> >> >> >>>> I am running openstack queens and hypervisor is kvm, my live 
> >> >> >> >> >>>> migration
> >> >> >> >> >>>> working fine. but somehow it stuck to 8 Mb network speed and 
> >> >> >> >> >>>> taking
> >> >> >> >> >>>> long time to migrate 1G instance.  I have 10Gbps network and 
> >> >> >> >> >>>> i have
> >> >> >> >> >>>> tried to copy 10G file between two compute node and it did 
> >> >> >> >> >>>> copy in 2
> >> >> >>

Re: [Openstack] live_migration only using 8 Mb speed

2018-08-22 Thread Matthew Thode
On 18-08-22 10:58:48, Satish Patel wrote:
> Matthew,
> 
> I have two option looks like, correct me if i am wrong.
> 
> 1. I have two option, upgrade minor release from 17.0.7-6-g9187bb1 to
> 17.0.8-23-g0aff517  and upgrade full OSA
> 
> 2. Just do override as you said "nova_git_install_branch:" in my
> /etc/openstack_deploy/user_variables.yml  file, and run playbooks.
> 
> 
> I think option [2] is safe to just touch specific component, also am i
> correct about override in /etc/openstack_deploy/user_variables.yml
> file?
> 
> You mentioned "nova_git_install_branch:
> dee99b1ed03de4b6ded94f3cf6d2ea7214bca93b" but i believe it should be
> "a9c9285a5a68ab89a6543d143c364d90a01cd51c" am i correct?
> 
> 
> 
> On Wed, Aug 22, 2018 at 10:46 AM, Matthew Thode
>  wrote:
> > On 18-08-22 10:33:11, Satish Patel wrote:
> >> Thanks Matthew,
> >>
> >> Can i put that sha in my OSA at
> >> playbooks/defaults/repo_packages/openstack_services.yml by hand and
> >> run playbooks [repo/nova] ?
> >>
> >> On Wed, Aug 22, 2018 at 10:24 AM, Matthew Thode
> >>  wrote:
> >> > On 18-08-22 08:35:09, Satish Patel wrote:
> >> >> Currently in stable/queens i am seeing this sha
> >> >> https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L112
> >> >>
> >> >> On Wed, Aug 22, 2018 at 2:02 AM, Matthew Thode
> >> >>  wrote:
> >> >> > On 18-08-22 01:57:17, Satish Patel wrote:
> >> >> >> What I need to upgrade, any specific component?
> >> >> >>
> >> >> >> I have deployed openstack-ansible
> >> >> >>
> >> >> >> Sent from my iPhone
> >> >> >>
> >> >> >> > On Aug 22, 2018, at 1:06 AM, Matthew Thode 
> >> >> >> >  wrote:
> >> >> >> >
> >> >> >> >> On 18-08-22 01:02:53, Satish Patel wrote:
> >> >> >> >> Matthew,
> >> >> >> >>
> >> >> >> >> Thanks for reply, Look like i don't have this patch
> >> >> >> >> https://review.openstack.org/#/c/591761/
> >> >> >> >>
> >> >> >> >> So i have to patch following 3 file manually?
> >> >> >> >>
> >> >> >> >> nova/tests/unit/virt/libvirt/test_driver.py213
> >> >> >> >> nova/tests/unit/virt/test_virt_drivers.py2
> >> >> >> >> nova/virt/libvirt/driver.py
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
> >> >> >> >>  wrote:
> >> >> >> >>> On 18-08-22 00:27:08, Satish Patel wrote:
> >> >> >> >>>> Folks,
> >> >> >> >>>>
> >> >> >> >>>> I am running openstack queens and hypervisor is kvm, my live 
> >> >> >> >>>> migration
> >> >> >> >>>> working fine. but somehow it stuck to 8 Mb network speed and 
> >> >> >> >>>> taking
> >> >> >> >>>> long time to migrate 1G instance.  I have 10Gbps network and i 
> >> >> >> >>>> have
> >> >> >> >>>> tried to copy 10G file between two compute node and it did copy 
> >> >> >> >>>> in 2
> >> >> >> >>>> minute, so i am not seeing any network issue also.
> >> >> >> >>>>
> >> >> >> >>>> it seem live_migration has some bandwidth limit, I have tried
> >> >> >> >>>> following option in nova.conf but it didn't work
> >> >> >> >>>>
> >> >> >> >>>> live_migration_bandwidth = 500
> >> >> >> >>>>
> >> >> >> >>>> My nova.conf look like following:
> >> >> >> >>>>
> >> >> >> >>>> live_migration_uri =
> >> >> >> >>>> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> >> >> >> >>>> live_migration_tunnelled = True
> >> >> >> >>>&

Re: [Openstack] live_migration only using 8 Mb speed

2018-08-22 Thread Matthew Thode
On 18-08-22 10:33:11, Satish Patel wrote:
> Thanks Matthew,
> 
> Can i put that sha in my OSA at
> playbooks/defaults/repo_packages/openstack_services.yml by hand and
> run playbooks [repo/nova] ?
> 
> On Wed, Aug 22, 2018 at 10:24 AM, Matthew Thode
>  wrote:
> > On 18-08-22 08:35:09, Satish Patel wrote:
> >> Currently in stable/queens i am seeing this sha
> >> https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L112
> >>
> >> On Wed, Aug 22, 2018 at 2:02 AM, Matthew Thode
> >>  wrote:
> >> > On 18-08-22 01:57:17, Satish Patel wrote:
> >> >> What I need to upgrade, any specific component?
> >> >>
> >> >> I have deployed openstack-ansible
> >> >>
> >> >> Sent from my iPhone
> >> >>
> >> >> > On Aug 22, 2018, at 1:06 AM, Matthew Thode 
> >> >> >  wrote:
> >> >> >
> >> >> >> On 18-08-22 01:02:53, Satish Patel wrote:
> >> >> >> Matthew,
> >> >> >>
> >> >> >> Thanks for reply, Look like i don't have this patch
> >> >> >> https://review.openstack.org/#/c/591761/
> >> >> >>
> >> >> >> So i have to patch following 3 file manually?
> >> >> >>
> >> >> >> nova/tests/unit/virt/libvirt/test_driver.py213
> >> >> >> nova/tests/unit/virt/test_virt_drivers.py2
> >> >> >> nova/virt/libvirt/driver.py
> >> >> >>
> >> >> >>
> >> >> >> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
> >> >> >>  wrote:
> >> >> >>> On 18-08-22 00:27:08, Satish Patel wrote:
> >> >> >>>> Folks,
> >> >> >>>>
> >> >> >>>> I am running openstack queens and hypervisor is kvm, my live 
> >> >> >>>> migration
> >> >> >>>> working fine. but somehow it stuck to 8 Mb network speed and taking
> >> >> >>>> long time to migrate 1G instance.  I have 10Gbps network and i have
> >> >> >>>> tried to copy 10G file between two compute node and it did copy in 
> >> >> >>>> 2
> >> >> >>>> minute, so i am not seeing any network issue also.
> >> >> >>>>
> >> >> >>>> it seem live_migration has some bandwidth limit, I have tried
> >> >> >>>> following option in nova.conf but it didn't work
> >> >> >>>>
> >> >> >>>> live_migration_bandwidth = 500
> >> >> >>>>
> >> >> >>>> My nova.conf look like following:
> >> >> >>>>
> >> >> >>>> live_migration_uri =
> >> >> >>>> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> >> >> >>>> live_migration_tunnelled = True
> >> >> >>>> live_migration_bandwidth = 500
> >> >> >>>> hw_disk_discard = unmap
> >> >> >>>> disk_cachemodes = network=writeback
> >> >> >>>>
> >> >> >>>
> >> >> >>> Do you have a this patch (and a couple of patches up to it)?
> >> >> >>> https://bugs.launchpad.net/nova/+bug/1786346
> >> >> >>>
> >> >> >
> >> >> > I don't know if that would cleanly apply (there are other patches that
> >> >> > changed those functions within the last month and a half.  It'd be 
> >> >> > best
> >> >> > to upgrade and not do just one patch (which would be an untested
> >> >> > process).
> >> >> >
> >> >
> >> > The sha for nova has not been updated yet (next update is 24-48 hours
> >> > away iirc), once that's done you can use the head of stable/queens from
> >> > OSA and run a inter-series upgrade (but the minimal thing to do would be
> >> > to run repo-build and os-nova plays).  I'm not sure when that sha bump
> >> > will be tagged in a full release if you would rather wait on that.
> >
> > it's this sha that needs updating.
> > https://github.com/openstack/openstack-ansible/blob/stable/queens/playbooks/defaults/repo_packages/openstack_services.yml#L173
> >

I'm not sure how you are doing overrides, but set the following as an
override, then rerun the repo-build playbook (to rebuild the nova venv)
then rerun the nova playbook to install it.

nova_git_install_branch: dee99b1ed03de4b6ded94f3cf6d2ea7214bca93b

-- 
Matthew Thode (prometheanfire)


signature.asc
Description: PGP signature
___
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] live_migration only using 8 Mb speed

2018-08-22 Thread Matthew Thode
On 18-08-22 08:35:09, Satish Patel wrote:
> Currently in stable/queens i am seeing this sha
> https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L112
> 
> On Wed, Aug 22, 2018 at 2:02 AM, Matthew Thode
>  wrote:
> > On 18-08-22 01:57:17, Satish Patel wrote:
> >> What I need to upgrade, any specific component?
> >>
> >> I have deployed openstack-ansible
> >>
> >> Sent from my iPhone
> >>
> >> > On Aug 22, 2018, at 1:06 AM, Matthew Thode  
> >> > wrote:
> >> >
> >> >> On 18-08-22 01:02:53, Satish Patel wrote:
> >> >> Matthew,
> >> >>
> >> >> Thanks for reply, Look like i don't have this patch
> >> >> https://review.openstack.org/#/c/591761/
> >> >>
> >> >> So i have to patch following 3 file manually?
> >> >>
> >> >> nova/tests/unit/virt/libvirt/test_driver.py213
> >> >> nova/tests/unit/virt/test_virt_drivers.py2
> >> >> nova/virt/libvirt/driver.py
> >> >>
> >> >>
> >> >> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
> >> >>  wrote:
> >> >>> On 18-08-22 00:27:08, Satish Patel wrote:
> >> >>>> Folks,
> >> >>>>
> >> >>>> I am running openstack queens and hypervisor is kvm, my live migration
> >> >>>> working fine. but somehow it stuck to 8 Mb network speed and taking
> >> >>>> long time to migrate 1G instance.  I have 10Gbps network and i have
> >> >>>> tried to copy 10G file between two compute node and it did copy in 2
> >> >>>> minute, so i am not seeing any network issue also.
> >> >>>>
> >> >>>> it seem live_migration has some bandwidth limit, I have tried
> >> >>>> following option in nova.conf but it didn't work
> >> >>>>
> >> >>>> live_migration_bandwidth = 500
> >> >>>>
> >> >>>> My nova.conf look like following:
> >> >>>>
> >> >>>> live_migration_uri =
> >> >>>> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> >> >>>> live_migration_tunnelled = True
> >> >>>> live_migration_bandwidth = 500
> >> >>>> hw_disk_discard = unmap
> >> >>>> disk_cachemodes = network=writeback
> >> >>>>
> >> >>>
> >> >>> Do you have a this patch (and a couple of patches up to it)?
> >> >>> https://bugs.launchpad.net/nova/+bug/1786346
> >> >>>
> >> >
> >> > I don't know if that would cleanly apply (there are other patches that
> >> > changed those functions within the last month and a half.  It'd be best
> >> > to upgrade and not do just one patch (which would be an untested
> >> > process).
> >> >
> >
> > The sha for nova has not been updated yet (next update is 24-48 hours
> > away iirc), once that's done you can use the head of stable/queens from
> > OSA and run a inter-series upgrade (but the minimal thing to do would be
> > to run repo-build and os-nova plays).  I'm not sure when that sha bump
> > will be tagged in a full release if you would rather wait on that.

it's this sha that needs updating.
https://github.com/openstack/openstack-ansible/blob/stable/queens/playbooks/defaults/repo_packages/openstack_services.yml#L173

-- 
Matthew Thode (prometheanfire)


signature.asc
Description: PGP signature
___
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] live_migration only using 8 Mb speed

2018-08-21 Thread Matthew Thode
On 18-08-22 01:57:17, Satish Patel wrote:
> What I need to upgrade, any specific component? 
> 
> I have deployed openstack-ansible 
> 
> Sent from my iPhone
> 
> > On Aug 22, 2018, at 1:06 AM, Matthew Thode  
> > wrote:
> > 
> >> On 18-08-22 01:02:53, Satish Patel wrote:
> >> Matthew,
> >> 
> >> Thanks for reply, Look like i don't have this patch
> >> https://review.openstack.org/#/c/591761/
> >> 
> >> So i have to patch following 3 file manually?
> >> 
> >> nova/tests/unit/virt/libvirt/test_driver.py213
> >> nova/tests/unit/virt/test_virt_drivers.py2
> >> nova/virt/libvirt/driver.py
> >> 
> >> 
> >> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
> >>  wrote:
> >>> On 18-08-22 00:27:08, Satish Patel wrote:
> >>>> Folks,
> >>>> 
> >>>> I am running openstack queens and hypervisor is kvm, my live migration
> >>>> working fine. but somehow it stuck to 8 Mb network speed and taking
> >>>> long time to migrate 1G instance.  I have 10Gbps network and i have
> >>>> tried to copy 10G file between two compute node and it did copy in 2
> >>>> minute, so i am not seeing any network issue also.
> >>>> 
> >>>> it seem live_migration has some bandwidth limit, I have tried
> >>>> following option in nova.conf but it didn't work
> >>>> 
> >>>> live_migration_bandwidth = 500
> >>>> 
> >>>> My nova.conf look like following:
> >>>> 
> >>>> live_migration_uri =
> >>>> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> >>>> live_migration_tunnelled = True
> >>>> live_migration_bandwidth = 500
> >>>> hw_disk_discard = unmap
> >>>> disk_cachemodes = network=writeback
> >>>> 
> >>> 
> >>> Do you have a this patch (and a couple of patches up to it)?
> >>> https://bugs.launchpad.net/nova/+bug/1786346
> >>> 
> > 
> > I don't know if that would cleanly apply (there are other patches that
> > changed those functions within the last month and a half.  It'd be best
> > to upgrade and not do just one patch (which would be an untested
> > process).
> > 

The sha for nova has not been updated yet (next update is 24-48 hours
away iirc), once that's done you can use the head of stable/queens from
OSA and run a inter-series upgrade (but the minimal thing to do would be
to run repo-build and os-nova plays).  I'm not sure when that sha bump
will be tagged in a full release if you would rather wait on that.

-- 
Matthew Thode (prometheanfire)


signature.asc
Description: PGP signature
___
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] live_migration only using 8 Mb speed

2018-08-21 Thread Matthew Thode
On 18-08-22 01:02:53, Satish Patel wrote:
> Matthew,
> 
> Thanks for reply, Look like i don't have this patch
> https://review.openstack.org/#/c/591761/
> 
> So i have to patch following 3 file manually?
> 
> nova/tests/unit/virt/libvirt/test_driver.py213
> nova/tests/unit/virt/test_virt_drivers.py2
> nova/virt/libvirt/driver.py
> 
> 
> On Wed, Aug 22, 2018 at 12:42 AM, Matthew Thode
>  wrote:
> > On 18-08-22 00:27:08, Satish Patel wrote:
> >> Folks,
> >>
> >> I am running openstack queens and hypervisor is kvm, my live migration
> >> working fine. but somehow it stuck to 8 Mb network speed and taking
> >> long time to migrate 1G instance.  I have 10Gbps network and i have
> >> tried to copy 10G file between two compute node and it did copy in 2
> >> minute, so i am not seeing any network issue also.
> >>
> >> it seem live_migration has some bandwidth limit, I have tried
> >> following option in nova.conf but it didn't work
> >>
> >> live_migration_bandwidth = 500
> >>
> >> My nova.conf look like following:
> >>
> >> live_migration_uri =
> >> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> >> live_migration_tunnelled = True
> >> live_migration_bandwidth = 500
> >> hw_disk_discard = unmap
> >> disk_cachemodes = network=writeback
> >>
> >
> > Do you have a this patch (and a couple of patches up to it)?
> > https://bugs.launchpad.net/nova/+bug/1786346
> >

I don't know if that would cleanly apply (there are other patches that
changed those functions within the last month and a half.  It'd be best
to upgrade and not do just one patch (which would be an untested
process).

-- 
Matthew Thode (prometheanfire)


signature.asc
Description: PGP signature
___
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] live_migration only using 8 Mb speed

2018-08-21 Thread Matthew Thode
On 18-08-22 00:27:08, Satish Patel wrote:
> Folks,
> 
> I am running openstack queens and hypervisor is kvm, my live migration
> working fine. but somehow it stuck to 8 Mb network speed and taking
> long time to migrate 1G instance.  I have 10Gbps network and i have
> tried to copy 10G file between two compute node and it did copy in 2
> minute, so i am not seeing any network issue also.
> 
> it seem live_migration has some bandwidth limit, I have tried
> following option in nova.conf but it didn't work
> 
> live_migration_bandwidth = 500
> 
> My nova.conf look like following:
> 
> live_migration_uri =
> "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
> live_migration_tunnelled = True
> live_migration_bandwidth = 500
> hw_disk_discard = unmap
> disk_cachemodes = network=writeback
> 

Do you have a this patch (and a couple of patches up to it)?
https://bugs.launchpad.net/nova/+bug/1786346

-- 
Matthew Thode (prometheanfire)


signature.asc
Description: PGP signature
___
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] [OSSA-2018-002] GET /v3/OS-FEDERATION/projects leaks project information (CVE-2018-14432)

2018-07-25 Thread Matthew Thode
===
OSSA-2018-002: GET /v3/OS-FEDERATION/projects leaks project information
===

:Date: July 25, 2018
:CVE: CVE-2018-14432


Affects
~~~
- Keystone: <11.0.4, ==12.0.0, ==13.0.0


Description
~~~
Kristi Nikolla with Boston University reported a vulnerability in
Keystone federation. By doing GET /v3/OS-FEDERATION/projects an
authenticated user may discover projects they have no authority to
access, leaking all projects in the deployment and their attributes.
Only Keystone with the /v3/OS-FEDERATION endpoint enabled via
policy.json is affected.


Patches
~~~
- https://review.openstack.org/585802 (Ocata)
- https://review.openstack.org/585792 (Pike)
- https://review.openstack.org/585788 (Queens)
- https://review.openstack.org/585782 (Rocky)


Credits
~~~
- Kristi Nikolla from Boston University (CVE-2018-14432)


References
~~
- https://launchpad.net/bugs/1779205
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14432


signature.asc
Description: PGP signature
___
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] no force_config_drive option?

2016-04-04 Thread Matthew Thode
On 04/04/2016 09:45 AM, yang sheng wrote:
> Hi All
> 
> I deployed openstack with 4 nodes (2 controllers and 2 compute nodes).
> Based on the neutron deployment scenario documentation
> (http://docs.openstack.org/liberty/networking-guide/scenario-provider-lb.html),
> i used provider networks with linux bridge. It mentioned that I should
> use the config drive instead of metadata service.
> 
> However, after I configure the nova.conf in compute node, adding
> "force_config_drive=ture"
> (http://docs.openstack.org/user-guide/cli_config_drive.html),
> openstack-nova-compute service couldn't start.
> 
> I checked log file and it says:
> 2016-04-04 10:31:26.066 30361 ERROR nova   File
> "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 281, in
> wait
> 2016-04-04 10:31:26.066 30361 ERROR nova status, signo =
> self._wait_for_exit_or_signal(ready_callback)
> 2016-04-04 10:31:26.066 30361 ERROR nova   File
> "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 254, in
> _wait_for_exit_or_signal
> 2016-04-04 10:31:26.066 30361 ERROR nova
> self.conf.log_opt_values(LOG, logging.DEBUG)
> 2016-04-04 10:31:26.066 30361 ERROR nova   File
> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2229, in
> log_opt_values
> 2016-04-04 10:31:26.066 30361 ERROR nova _sanitize(opt,
> getattr(self, opt_name)))
> 2016-04-04 10:31:26.066 30361 ERROR nova   File
> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1906, in
> __getattr__
> 2016-04-04 10:31:26.066 30361 ERROR nova raise NoSuchOptError(name)
> 2016-04-04 10:31:26.066 30361 ERROR nova NoSuchOptError: no such option:
> force_config_drive
> 2016-04-04 10:31:26.066 30361 ERROR nova 
> 
> so how should I enable the config drive in nova? 
> 
> thanks for any advice!
> 
> 
> 
> 
> 
> ___
> 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
> 
From the release notes.

The force_config_drive configuration option provided an always value
which was deprecated in the previous release. That always value is now
no longer accepted and deployments using that value have to change it to
True before upgrading.

http://docs.openstack.org/releasenotes/nova/mitaka.html

-- 
-- Matthew Thode (prometheanfire)



signature.asc
Description: OpenPGP digital signature
___
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 2015.1.0 ("Kilo") is released !

2015-04-30 Thread Matthew Thode
On 04/30/2015 09:15 AM, Thierry Carrez wrote:
> Hello everyone,
> 
> I'm delighted to announce the final release of OpenStack 2015.1.0,
> code-named "Kilo". This concludes the 6-month Kilo development cycle,
> which saw the completion of more than 400 features and the fixing
> of more than 3300 bugs (only considering the 12 projects that make up
> this release !).
> 
> In the name of all the contributors to this release, the OpenStack
> Technical Committee would like to dedicate it to the loving memory of
> Chris Yeoh, who passed away from cancer earlier this month. Chris was a
> long time and prolific open source developer, most recently with IBM. He
> contributed significantly to the OpenStack project, most notably in the
> Nova project team. His community spirit, technical contributions and
> friendship will be missed.
> 
> You can find source tarballs, together with complete lists of features
> and bugfixes for each project, at the following links:
> 
> Compute (Nova):   https://launchpad.net/nova/kilo/2015.1.0
> Object Storage (Swift):   https://launchpad.net/swift/kilo/2.3.0
> Image Service (Glance):   https://launchpad.net/glance/kilo/2015.1.0
> Networking (Neutron): https://launchpad.net/neutron/kilo/2015.1.0
> Block Storage (Cinder):   https://launchpad.net/cinder/kilo/2015.1.0
> Identity (Keystone):  https://launchpad.net/keystone/kilo/2015.1.0
> Dashboard (Horizon):  https://launchpad.net/horizon/kilo/2015.1.0
> Telemetry (Ceilometer):   https://launchpad.net/ceilometer/kilo/2015.1.0
> Orchestration (Heat): https://launchpad.net/heat/kilo/2015.1.0
> Database Service (Trove): https://launchpad.net/trove/kilo/2015.1.0
> Data Processing (Sahara): https://launchpad.net/sahara/kilo/2015.1.0
> Bare metal (Ironic):  https://launchpad.net/ironic/kilo/2015.1.0
> 
> The Kilo Release Notes wikipage contains an overview of the key
> features, as well as upgrade notes and current lists of known issues.
> You can access them at:
> 
> https://wiki.openstack.org/wiki/ReleaseNotes/Kilo
> 
> Thanks again to all the individuals who contributed to this development
> cycle and helped in making this release a success !
> 

All packaged in gentoo now :D

-- 
-- Matthew Thode (prometheanfire)



signature.asc
Description: OpenPGP digital signature
___
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] [OSSA 2014-005] Missing SSL certificate check in Python Swift client (CVE-2013-6396)

2014-03-03 Thread Matthew Thode
On 03/03/2014 02:23 PM, Sean Dague wrote:
> On 03/03/2014 12:56 PM, Tristan Cacqueray wrote:
>> On 02/28/2014 07:52 PM, david.co...@oracle.com wrote:
>>>> OpenStack Security Advisory: 2014-005
>>>> CVE: CVE-2013-6396
>>>> Date: February 17, 2014
>>>> Title: Missing SSL certificate check in Python Swift client
>>>> Reporter: Thomas Leaman (HP)
>>>> Products: python-swiftclient
>>>> Versions: 1.0 version up to 1.9.0
>>>
>>>> python-swiftclient fix (included in 2.0 release):
>>>> https://review.openstack.org/#/c/69187
>>>
>>> I understand why the fix is specific to the 2.x branch
>>> (https://bugs.launchpad.net/python-swiftclient/+bug/1199783/comments/21)
>>> but does anyone know how compatible this version of python-swiftclient
>>> is with Grizzly?  In particular, both Glance and Horizon from Grizzly
>>> strictly specify python-swiftclient>=1.2,<2 but I know in Havana and
>>> later the upper-bound was removed.
>>
>> Hi David,
>>
>> the bump to 2.x included some API changes (in method parameters and CLI
>> options), and "may" works for grizzly.
>>
>> For the record, I just tested 2.x branch against grizzly, and basics
>> commands worked as expected (list, upload, download).
>>
>> Best regards,
>> Tristan
> 
> 2.x isn't grizzly compatible, we ran into substantial issues with the
> swift cli which made us dump a bunch of the swift tests in the gate to
> stop blocking stable/havana code from moving forward.
> 
>   -Sean
> 
> 
> 
> ___
> 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
> 
are you relying on us (packagers) to change the version requirements to
<= 2.0 instead of < 2.0?  I would like to get this fixed for grizzly in
Gentoo as well.

-- 
-- Matthew Thode (prometheanfire)



signature.asc
Description: OpenPGP digital signature
___
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] [OSSA 2014-003] Live migration can leak root disk into ephemeral storage (CVE-2013-7130)

2014-01-23 Thread Matthew Thode
On 01/23/2014 10:38 AM, Grant Murphy wrote:
> OpenStack Security Advisory: 2014-003
> CVE: CVE-2013-7130
> Date: January 23, 2014
> 
> Title: Live migration can leak root disk into ephemeral storage
> Reporter: Loganathan Parthipan (HP)
> Products: Nova
> Affects: All supported versions
> 
> Description:
> Loganathan Parthipan from Hewlett Packard reported a vulnerability in
> the Nova libvirt driver. By spawning a server with the same flavor as
> another user's migrated virtual machine, an authenticated user can
> potentially access that user's snapshot content resulting in information
> leakage. Only setups using KVM live block migration are affected.
> 
> 
> Icehouse (development branch) fix:
> https://review.openstack.org/#/c/68658/
> 
> Havana (development branch) fix:
> https://review.openstack.org/#/c/68659/
> 
> Grizzly fix:
> https://review.openstack.org/#/c/68660/
> 
> 
> References:
> http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7130
> https://bugs.launchpad.net/nova/+bug/1251590
> 
> 
> 
> ___
> 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
> 
already fixed in gentoo.

=sys-cluster/nova-2013.1.4-r4
=sys-cluster/nova-nova-2013.2.1-r2

The versions from git will be fixed as soon as it's in git

=sys-cluster/nova-2013.1.
=sys-cluster/nova-2013.2.
=sys-cluster/nova-

-- 
-- Matthew Thode (prometheanfire)



signature.asc
Description: OpenPGP digital signature
___
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