Re: [Openstack] Quantum -. Multi-Plugin and support for provisioning of other devices.

2012-09-09 Thread Tim Bell
 

There has been some load balancing discussion and more is due at the summit.
The various current activities are summarised in
http://wiki.openstack.org/Quantum/LBaaS

 

Can you explain what you mean by storage devices with respect to Quantum ?
The storage activities are underway as part of Cinder.

 

Tim

 

From: openstack-bounces+tim.bell=cern...@lists.launchpad.net
[mailto:openstack-bounces+tim.bell=cern...@lists.launchpad.net] On Behalf Of
Endre Karlson
Sent: 09 September 2012 19:57
To: openstack@lists.launchpad.net
Subject: [Openstack] Quantum -. Multi-Plugin and support for provisioning of
other devices.

 

Hi, I am wondering if there are any community plans to support to use
Quantum to provision up interfaces on other devices in areas of say
LoadBalancers, Storage devices etc and if there are plans to support
multi-active plugins in Quantum for this?

 

Is there a timeframe maybe?

 

Endre.



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] novnc for Ubuntu 12.04 and Folsom

2012-09-09 Thread Robert Garron

Hi Joe,

Thanks for the great and fast response!

Well nova-volume was not working because in the instructions it never 
stated to "start" the service in the first place!
So when it stated on page 20 to "restart" the services it failed because 
the service was never running in the first place.
I fixed this obviously very simply by typing "sudo start nova-volume" 
and then the "sudo restart etc etc etc was all working fine.
So it goes with documentation - steps, procedures, methodologies, and 
the details always count in computing.


Next --
root@yyy:/# sudo restart nova-volume
nova-volume start/running, process 20214

root@yyy:/# apt-cache search novnc
novnc - HTML5 VNC client
python-novnc - HTML5 VNC client - libraries

So the packages are there, but why did the command sudo apt-get install 
.. novnc  fail?
Should I run an update or upgrade or remove and reinstall on this to 
insure that the packages are completely and correctly installed?


Thanks for you help!!
Regards,
Robert

P.S.  How do I send a fix into the documentation group to have them add 
that one needs to start a service before you restart it OR is there a 
bug in the start/stop/restart script of nova-volume to sense that if not 
started it should be started?





On 9/9/12 6:09 PM, Joe Topjian wrote:

Hi Robert,

You are correct that novnc is not related to nova-volume not working. Check
/var/log/nova/nova-volume.log to see why nova-volume is not starting.

Regarding the novnc package, novnc is part of the regular ubuntu package
repository. If you do "apt-cache search novnc", do you see two results?

Thanks,
Joe


On Sun, Sep 9, 2012 at 3:43 PM, Robert Garron
wrote:


  Hi All:

  - I saw this e-mail message and I wanted to ask both and/or all of "You"
(as it appears you are in the thick of things and in the know) if within
Essex on Ubuntu, if there is available a novnc package?  As I am trying to
install Essex on Ubuntu 12.04 LTS using the "OpenStack Compute Starter
Guide" essex (May 4, 2012) page 18 and the command complains after trying
to download all of the packages that novnc does not exist?  Then proceeding
with the instructions (knowing that novnc was NOT downloaded and/or
installed) the command "sudo nova-manage service list" works but does NOT
show a working nova-volume ?

Any help in providing a pointer to the ubuntu package novnc would be of
great help!
Also, I am not sure if novnc is actually related to the issue of
nova-volume not being an enabled service -- I am still researching both of
these issues

Thanks in advance to anyone who responds - it is appreciated,
Robert Garron
Access3000, Inc.




On 9/9/12 5:23 PM, Joe Topjian wrote:

Hi Chuck,

Sounds good. Thank you for the quick reply!

Joe


On Sun, Sep 9, 2012 at 3:05 PM, Chuck Short  
wrote:


   Hi Joe,

Yes there will be one, I been working on it and it should be in the
archive soon.

chuck


On 12-09-09 04:18 PM, Joe Topjian wrote:

Hello,

  According to this bug report (https://bugs.launchpad.net/nova/+bug/1021836), 
novnc was updated to
account for a change in the rpc module.

  However, there does not seem to be an updated package in the Ubuntu
Folsom repository (
https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages
 
)
nor at the novnc launchpad page (
https://launchpad.net/ubuntu/+source/novnc).

  Does anyone know if there will be a proper novnc package for Ubuntu
12.04 and Folsom?

  Thanks,
Joe

  --
Joe Topjian
Systems Administrator
Cybera Inc.

  www.cybera.ca


  Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012

  Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



Hi Chuck,

  Sounds good. Thank you for the quick reply!

  Joe


On Sun, Sep 9, 2012 at 3:05 PM, Chuck Short wrote:


  Hi Joe,

Yes there will be one, I been working on it and it should be in the
archive soon.

chuck


On 12-09-09 04:18 PM, Joe Topjian wrote:

  Hello,

  According to this bug report (
https://bugs.launchpad.net/nova/+bug/1021836), novnc was updated to
account for a change in the rpc module.

  However, there does not seem to be an updated package in the Ubuntu
Folsom repository (
https://launchpad.net/~o

Re: [Openstack] Cannot submit topic for Summit.

2012-09-09 Thread Adam Young

On 09/09/2012 01:14 AM, Dugger, Donald D wrote:

Adam-

Completely random thought, do you have cookies enabled (I was able to propose a 
topic with no problems).

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786


-Original Message-
From: openstack-bounces+donald.d.dugger=intel@lists.launchpad.net 
[mailto:openstack-bounces+donald.d.dugger=intel@lists.launchpad.net] On 
Behalf Of Adam Young
Sent: Saturday, September 08, 2012 6:53 PM
To: openstack
Subject: [Openstack] Cannot submit topic for Summit.

I've been through the sequence to submit a topic proposal for the summit
a handful of times.  I submit, and it says "You are not logged in."

And yes, I logged back in afterwards.



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
Yes, and the OpenID mechanism works fine for me elsewhere in the 
Openstack Ecosystem.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

2012-09-09 Thread Jiang, Yunhong
According to followed code, seems there is no instance_id?

class InstanceTypeExtraSpecs(BASE, NovaBase):
"""Represents additional specs as key/value pairs for an instance_type"""
__tablename__ = 'instance_type_extra_specs'
id = Column(Integer, primary_key=True)
key = Column(String(255))
value = Column(String(255))
instance_type_id = Column(Integer, ForeignKey('instance_types.id'),
  nullable=False)
instance_type = relationship(InstanceTypes, backref="extra_specs",
 foreign_keys=instance_type_id,
 primaryjoin='and_('
 'InstanceTypeExtraSpecs.instance_type_id == InstanceTypes.id,'
 'InstanceTypeExtraSpecs.deleted == False)')

Thanks
--jyh

From: Vinay Bannai [mailto:vban...@gmail.com]
Sent: Monday, September 10, 2012 6:56 AM
To: Jiang, Yunhong
Cc: Dugger, Donald D; Patrick Petit; openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

I am talking about the "instance_type_extra_specs" table. The instance_id and 
the flavor_id seem a little confusing. I saw an email thread from you from 
couple of weeks ago and you seem raise the same issue.
On Sun, Sep 9, 2012 at 7:31 AM, Jiang, Yunhong 
mailto:yunhong.ji...@intel.com>> wrote:
Glad that the patch works for you.

For the instance_id and flavor_id, I'm not sure which table are you talking 
about. But I think flavor_id is same as "instance_type_id", while instance_id 
is purely an id for an instance, which is usually created based on an 
instance_type (or, flavor).

Thanks
--jyh

From: Vinay Bannai [mailto:vban...@gmail.com]
Sent: Sunday, September 09, 2012 6:26 AM
To: Jiang, Yunhong
Cc: Dugger, Donald D; Patrick Petit; 
openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)

Subject: Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

Sorry Yunhong, it was my mistake. I was able to get it to work with your 
changes.
I am a little confused by the terminology of "instance_id" and "flavor_id" in 
the tables. Either their meaning is crossed or I am not reading it right.

Vinay

On Sat, Sep 8, 2012 at 12:02 PM, Vinay Bannai 
mailto:vban...@gmail.com>> wrote:
Thanks Yunhong,

I picked your changes for flavors.py from your review to give it a try in my 
setup. I wrote a little python script to create a flavor id and set_key using 
the new RESTful apis that you defined. After creating the flavor, when I try to 
set the key I am getting error message from the nova side.
Do I need pick to any changes from nova side to make it work? I can send you my 
sample code and error message privately or put it on the mailing list if that 
helps.

Vinay

On Sat, Sep 8, 2012 at 6:42 AM, Jiang, Yunhong 
mailto:yunhong.ji...@intel.com>> wrote:
The extra_specs do have the RESTful interface as 
"/flavors/flavor_type/os-extra_specs". You can refer to 
https://review.openstack.org/#/c/10768/ for some changes. (I didn't update the 
patch because I'm recently busy on another task, and will restore that patch 
when I finish current task).

Thanks
--jyh

From: Dugger, Donald D
Sent: Saturday, September 08, 2012 4:28 AM
To: Vinay Bannai; Patrick Petit; Jiang, Yunhong
Cc: openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: RE: [Openstack] [Nova] Instance Type Extra Specs clarifications

Well, Yunhong added the API to allow you to update the extra specs table so he 
should be able to give you the details on that (he's in China, he might not get 
back to you until next week).

Also, make sure you add a scope (where scope is a string followed by a `:' at 
the beginning of the key) to whatever key you are adding to the extra specs 
table, otherwise your key will create problems with some of the scheduler 
filters.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786

From: Vinay Bannai [mailto:vban...@gmail.com]
Sent: Friday, September 07, 2012 2:20 PM
To: Patrick Petit
Cc: Dugger, Donald D; 
openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

Hello all,

I am part of the SF south bay meetup group and trying to add a Disk I/O QoS 
feature which is based on the blkiotune in libvirt.
We would like to add flavor types in which we specify the blkiotune in the 
create flavor screen. After reviewing the discussions and some emails it 
appears that it makes sense to use the "instance_type_extra_specs" to add the 
blkiotune as a key/value pair instead of extending the "instance_type" table in 
nova db.

I am able to use nova-manage to create instance type and use "set_key

Re: [Openstack] One potential issue on the normalize_time() in timeutils

2012-09-09 Thread Jiang, Yunhong
Rob, thanks for comments.
I totally agree with you that aware datetime object is better than naive one. 
The key thing is, utcnow() will return naive object, that means in some time, 
we have to use naive object to compare with utcnow(), and we need a conversion 
function to convert from aware to naive. The normalize_time() is the best 
candidate for this purpose, but it will fail to convert to naive datetime 
object in some situation. That's why I send the mail. I just want to change the 
normalize_time() to make sure it will always return naive object.

Thanks
--jyh

> -Original Message-
> From: Robert Collins [mailto:robe...@robertcollins.net]
> Sent: Monday, September 10, 2012 3:25 AM
> To: Jiang, Yunhong
> Cc: egl...@redhat.com; openstack@lists.launchpad.net
> Subject: Re: [Openstack] One potential issue on the normalize_time() in
> timeutils
> 
> On Mon, Sep 10, 2012 at 3:09 AM, Jiang, Yunhong 
> wrote:
> > Hi, Eoghan and all,
> >
> > When I implement an enhancement to trusted_filter, I need utilize
> timeutils() to parse ISO time. However, I suspect there is one potential 
> issue in
> normalize_time() and want to get some input from your side.
> >
> > In normalize_time(), if the parameter "timestamp" is an aware
> object (http://docs.python.org/library/datetime.html) , it's output will vary
> depends on the input. If the timestamp is UTC time, it will be return as is
> without convention, i.e still an aware object. However, if it's not an UTC 
> time, it
> will be converted to be a naive object.
> > This mean that the function will return different type depends on
> input, that's not so good IMHO.
> >
> > The worse is, any compare/substract between naïve object and
> > aware object will fail. Because the timeutils.utcnow() and
> > datetime.datetime.now() returns naive object, so compare/substract
> > between the uctnow() and normalize_time() may fail, or not, depends on
> > input from the API user. I'm a bit surprised that changes-since works
> > on such situation :)
> >
> > I suspect this is caused by the "if offset". When timestamp is
> naïve object, the offset is None. Thus check "if offset" will avoid operation 
> type
> exception. However, if the timestamp is UTC time, the offset will be
> date.timeslot(0), which will return false also for "if offset".
> >
> > Are there any special reason that we need keep aware object if
> input is at UTC time already? Can I changes the function to always return 
> naive
> object? If yes, I can create a patch for it.
> 
> You are probably better off creating an aware datetime object, and using them
> pervasively across the codebase, than using naive objects.
> As you note, they are not interoperable, and I've seen countless bugs where
> folk try to mix and match. If we want to show local date time to users
> *anywhere*, we'll need TZ aware objects, which is why that variation is the
> one to standardise on. Otherwise, you end up with multiple conversion points,
> and you can guarantee that at least one will get it wrong.
> 
> -Rob

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

2012-09-09 Thread Vinay Bannai
I am talking about the "instance_type_extra_specs" table. The instance_id
and the flavor_id seem a little confusing. I saw an email thread from you
from couple of weeks ago and you seem raise the same issue.

On Sun, Sep 9, 2012 at 7:31 AM, Jiang, Yunhong wrote:

>  Glad that the patch works for you.
>
> ** **
>
> For the instance_id and flavor_id, I’m not sure which table are you
> talking about. But I think flavor_id is same as “instance_type_id”, while
> instance_id is purely an id for an instance, which is usually created based
> on an instance_type (or, flavor).
>
> ** **
>
> Thanks
>
> --jyh
>
> ** **
>
> *From:* Vinay Bannai [mailto:vban...@gmail.com]
> *Sent:* Sunday, September 09, 2012 6:26 AM
> *To:* Jiang, Yunhong
> *Cc:* Dugger, Donald D; Patrick Petit; openstack@lists.launchpad.net (
> openstack@lists.launchpad.net)
>
> *Subject:* Re: [Openstack] [Nova] Instance Type Extra Specs clarifications
> 
>
>  ** **
>
> Sorry Yunhong, it was my mistake. I was able to get it to work with your
> changes. 
>
> I am a little confused by the terminology of "instance_id" and "flavor_id"
> in the tables. Either their meaning is crossed or I am not reading it
> right. 
>
> ** **
>
> Vinay
>  
>
> On Sat, Sep 8, 2012 at 12:02 PM, Vinay Bannai  wrote:**
> **
>
> Thanks Yunhong,
>
> ** **
>
> I picked your changes for flavors.py from your review to give it a try in
> my setup. I wrote a little python script to create a flavor id and set_key
> using the new RESTful apis that you defined. After creating the flavor,
> when I try to set the key I am getting error message from the nova side. *
> ***
>
> Do I need pick to any changes from nova side to make it work? I can send
> you my sample code and error message privately or put it on the mailing
> list if that helps. 
>
> ** **
>
> Vinay
>
> ** **
>
> On Sat, Sep 8, 2012 at 6:42 AM, Jiang, Yunhong 
> wrote:
>
> The extra_specs do have the RESTful interface as
> “/flavors/flavor_type/os-extra_specs”. You can refer to
> https://review.openstack.org/#/c/10768/ for some changes. (I didn’t
> update the patch because I’m recently busy on another task, and will
> restore that patch when I finish current task).
>
>  
>
> Thanks
>
> --jyh
>
>  
>
> *From:* Dugger, Donald D
> *Sent:* Saturday, September 08, 2012 4:28 AM
> *To:* Vinay Bannai; Patrick Petit; Jiang, Yunhong
> *Cc:* openstack@lists.launchpad.net (openstack@lists.launchpad.net)
> *Subject:* RE: [Openstack] [Nova] Instance Type Extra Specs clarifications
> 
>
>  
>
> Well, Yunhong added the API to allow you to update the extra specs table
> so he should be able to give you the details on that (he’s in China, he
> might not get back to you until next week).
>
>  
>
> Also, make sure you add a scope (where scope is a string followed by a `:’
> at the beginning of the key) to whatever key you are adding to the extra
> specs table, otherwise your key will create problems with some of the
> scheduler filters.
>
>  
>
> --
>
> Don Dugger
>
> "Censeo Toto nos in Kansa esse decisse." - D. Gale
>
> Ph: 303/443-3786
>
>  
>
> *From:* Vinay Bannai [mailto:vban...@gmail.com]
> *Sent:* Friday, September 07, 2012 2:20 PM
> *To:* Patrick Petit
> *Cc:* Dugger, Donald D; openstack@lists.launchpad.net (
> openstack@lists.launchpad.net)
> *Subject:* Re: [Openstack] [Nova] Instance Type Extra Specs clarifications
> 
>
>  
>
> Hello all,
>
>  
>
> I am part of the SF south bay meetup group and trying to add a Disk I/O
> QoS feature which is based on the blkiotune in libvirt. 
>
> We would like to add flavor types in which we specify the blkiotune in the
> create flavor screen. After reviewing the discussions and some emails it
> appears that it makes sense to use the "instance_type_extra_specs" to add
> the blkiotune as a key/value pair instead of extending the "instance_type"
> table in nova db. 
>
>  
>
> I am able to use nova-manage to create instance type and use "set_key" to
> add extra specs. The set_key seems to make a direct call to the db to
> insert the keys whereas the instance_type create takes the more traditional
> path through the flavomanage controller. However I notice that there is no
> documentation on how to add the extra_specs keys using a RESTful api. Is
> this something still in discussions? 
>
>  
>
> Thanks
>
> Vinay
>
>  
>
> On Tue, Aug 28, 2012 at 8:02 AM, Patrick Petit <
> patrick.michel.pe...@gmail.com> wrote:
>
> Hi Don,
>
>  
>
> I added a comment in https://bugs.launchpad.net/nova/+bug/1039386regarding 
> your point.
> 
>
> Best regards,
>
> Patrick
>
> 2012/8/24 Dugger, Donald D 
>
>  
>
> Patrick-
>
>  
>
> We’ve enhanced `nova-manage’ to manipulate the `extra_specs’ entries, c.f.
> https://blueprints.launchpad.net/nova/+spec/update-flavor-key-value,
>   You can add an `extra_specs’ key/value pair to a fl

Re: [Openstack] novnc for Ubuntu 12.04 and Folsom

2012-09-09 Thread Robert Garron

Hi All:

 - I saw this e-mail message and I wanted to ask both and/or all of 
"You" (as it appears you are in the thick of things and in the know) if 
within  Essex on Ubuntu, if there is available a novnc package?  As I am 
trying to install Essex on Ubuntu 12.04 LTS using the "OpenStack Compute 
Starter Guide" essex (May 4, 2012) page 18 and the command complains 
after trying to download all of the packages that novnc does not exist?  
Then proceeding with the instructions (knowing that novnc was NOT 
downloaded and/or installed) the command "sudo nova-manage service list" 
works but does NOT show a working nova-volume ?


Any help in providing a pointer to the ubuntu package novnc would be of 
great help!
Also, I am not sure if novnc is actually related to the issue of 
nova-volume not being an enabled service -- I am still researching both 
of these issues


Thanks in advance to anyone who responds - it is appreciated,
Robert Garron
Access3000, Inc.



On 9/9/12 5:23 PM, Joe Topjian wrote:

Hi Chuck,

Sounds good. Thank you for the quick reply!

Joe


On Sun, Sep 9, 2012 at 3:05 PM, Chuck Short wrote:


  Hi Joe,

Yes there will be one, I been working on it and it should be in the
archive soon.

chuck


On 12-09-09 04:18 PM, Joe Topjian wrote:

Hello,

  According to this bug report (
https://bugs.launchpad.net/nova/+bug/1021836), novnc was updated to
account for a change in the rpc module.

  However, there does not seem to be an updated package in the Ubuntu
Folsom repository (
https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages)
nor at the novnc launchpad page (
https://launchpad.net/ubuntu/+source/novnc).

  Does anyone know if there will be a proper novnc package for Ubuntu
12.04 and Folsom?

  Thanks,
Joe

  --
Joe Topjian
Systems Administrator
Cybera Inc.

  www.cybera.ca

  Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012

  Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp






Hi Chuck,

Sounds good. Thank you for the quick reply!

Joe


On Sun, Sep 9, 2012 at 3:05 PM, Chuck Short > wrote:


Hi Joe,

Yes there will be one, I been working on it and it should be in
the archive soon.

chuck


On 12-09-09 04:18 PM, Joe Topjian wrote:

Hello,

According to this bug report
(https://bugs.launchpad.net/nova/+bug/1021836), novnc was updated
to account for a change in the rpc module.

However, there does not seem to be an updated package in the
Ubuntu Folsom repository

(https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages

)
nor at the novnc launchpad page
(https://launchpad.net/ubuntu/+source/novnc).

Does anyone know if there will be a proper novnc package for
Ubuntu 12.04 and Folsom?

Thanks,
Joe

-- 
Joe Topjian

Systems Administrator
Cybera Inc.

www.cybera.ca 

Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012 

Cybera is a not-for-profit organization that works to spur and
support innovation, for the economic benefit of Alberta, through
the use of cyberinfrastructure.



___
Mailing list:https://launchpad.net/~openstack  

Post to :openstack@lists.launchpad.net  

Unsubscribe :https://launchpad.net/~openstack  

More help   :https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack

Post to : openstack@lists.launchpad.net

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp




--
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca 

Big data is coming

Re: [Openstack] novnc for Ubuntu 12.04 and Folsom

2012-09-09 Thread Joe Topjian
Hi Chuck,

Sounds good. Thank you for the quick reply!

Joe


On Sun, Sep 9, 2012 at 3:05 PM, Chuck Short wrote:

>  Hi Joe,
>
> Yes there will be one, I been working on it and it should be in the
> archive soon.
>
> chuck
>
>
> On 12-09-09 04:18 PM, Joe Topjian wrote:
>
> Hello,
>
>  According to this bug report (
> https://bugs.launchpad.net/nova/+bug/1021836), novnc was updated to
> account for a change in the rpc module.
>
>  However, there does not seem to be an updated package in the Ubuntu
> Folsom repository (
> https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages)
> nor at the novnc launchpad page (
> https://launchpad.net/ubuntu/+source/novnc).
>
>  Does anyone know if there will be a proper novnc package for Ubuntu
> 12.04 and Folsom?
>
>  Thanks,
> Joe
>
>  --
> Joe Topjian
> Systems Administrator
> Cybera Inc.
>
>  www.cybera.ca
>
>  Big data is coming to Canada. Join the welcome wagon.
> *Cyber Summit 2012*
> October 1-3, Banff
> www.cybera.ca/summit2012
>
>  Cybera is a not-for-profit organization that works to spur and support
> innovation, for the economic benefit of Alberta, through the use
> of cyberinfrastructure.
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca

Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012

Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] novnc for Ubuntu 12.04 and Folsom

2012-09-09 Thread Chuck Short

Hi Joe,

Yes there will be one, I been working on it and it should be in the 
archive soon.


chuck

On 12-09-09 04:18 PM, Joe Topjian wrote:

Hello,

According to this bug report 
(https://bugs.launchpad.net/nova/+bug/1021836), novnc was updated to 
account for a change in the rpc module.


However, there does not seem to be an updated package in the Ubuntu 
Folsom repository 
(https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages 
) 
nor at the novnc launchpad page 
(https://launchpad.net/ubuntu/+source/novnc).


Does anyone know if there will be a proper novnc package for Ubuntu 
12.04 and Folsom?


Thanks,
Joe

--
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca 

Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012 

Cybera is a not-for-profit organization that works to spur and support 
innovation, for the economic benefit of Alberta, through the use 
of cyberinfrastructure.




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] novnc for Ubuntu 12.04 and Folsom

2012-09-09 Thread Joe Topjian
Hello,

According to this bug report (https://bugs.launchpad.net/nova/+bug/1021836),
novnc was updated to account for a change in the rpc module.

However, there does not seem to be an updated package in the Ubuntu Folsom
repository (
https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing/+packages)
nor at the novnc launchpad page (https://launchpad.net/ubuntu/+source/novnc
).

Does anyone know if there will be a proper novnc package for Ubuntu 12.04
and Folsom?

Thanks,
Joe

-- 
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca

Big data is coming to Canada. Join the welcome wagon.
*Cyber Summit 2012*
October 1-3, Banff
www.cybera.ca/summit2012

Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] One potential issue on the normalize_time() in timeutils

2012-09-09 Thread Robert Collins
On Mon, Sep 10, 2012 at 3:09 AM, Jiang, Yunhong  wrote:
> Hi, Eoghan and all,
>
> When I implement an enhancement to trusted_filter, I need utilize 
> timeutils() to parse ISO time. However, I suspect there is one potential 
> issue in normalize_time() and want to get some input from your side.
>
> In normalize_time(), if the parameter "timestamp" is an aware object 
> (http://docs.python.org/library/datetime.html) , it's output will vary 
> depends on the input. If the timestamp is UTC time, it will be return as is 
> without convention, i.e still an aware object. However, if it's not an UTC 
> time, it will be converted to be a naive object.
> This mean that the function will return different type depends on 
> input, that's not so good IMHO.
>
> The worse is, any compare/substract between naïve object and aware 
> object will fail. Because the timeutils.utcnow() and datetime.datetime.now() 
> returns naive object, so compare/substract between the uctnow() and 
> normalize_time() may fail, or not, depends on input from the API user. I'm a 
> bit surprised that changes-since works on such situation :)
>
> I suspect this is caused by the "if offset". When timestamp is naïve 
> object, the offset is None. Thus check "if offset" will avoid operation type 
> exception. However, if the timestamp is UTC time, the offset will be 
> date.timeslot(0), which will return false also for "if offset".
>
> Are there any special reason that we need keep aware object if input 
> is at UTC time already? Can I changes the function to always return naive 
> object? If yes, I can create a patch for it.

You are probably better off creating an aware datetime object, and
using them pervasively across the codebase, than using naive objects.
As you note, they are not interoperable, and I've seen countless bugs
where folk try to mix and match. If we want to show local date time to
users *anywhere*, we'll need TZ aware objects, which is why that
variation is the one to standardise on. Otherwise, you end up with
multiple conversion points, and you can guarantee that at least one
will get it wrong.

-Rob

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Quantum -. Multi-Plugin and support for provisioning of other devices.

2012-09-09 Thread Endre Karlson
Hi, I am wondering if there are any community plans to support to use
Quantum to provision up interfaces on other devices in areas of say
LoadBalancers, Storage devices etc and if there are plans to support
multi-active plugins in Quantum for this?

Is there a timeframe maybe?

Endre.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] One potential issue on the normalize_time() in timeutils

2012-09-09 Thread Jiang, Yunhong
Hi, Eoghan and all, 

When I implement an enhancement to trusted_filter, I need utilize 
timeutils() to parse ISO time. However, I suspect there is one potential issue 
in normalize_time() and want to get some input from your side.

In normalize_time(), if the parameter "timestamp" is an aware object 
(http://docs.python.org/library/datetime.html) , it's output will vary depends 
on the input. If the timestamp is UTC time, it will be return as is without 
convention, i.e still an aware object. However, if it's not an UTC time, it 
will be converted to be a naive object.
This mean that the function will return different type depends on 
input, that's not so good IMHO.

The worse is, any compare/substract between naïve object and aware 
object will fail. Because the timeutils.utcnow() and datetime.datetime.now() 
returns naive object, so compare/substract between the uctnow() and 
normalize_time() may fail, or not, depends on input from the API user. I'm a 
bit surprised that changes-since works on such situation :)

I suspect this is caused by the "if offset". When timestamp is naïve 
object, the offset is None. Thus check "if offset" will avoid operation type 
exception. However, if the timestamp is UTC time, the offset will be 
date.timeslot(0), which will return false also for "if offset". 

Are there any special reason that we need keep aware object if input is 
at UTC time already? Can I changes the function to always return naive object? 
If yes, I can create a patch for it.

Thanks
--jyh

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

2012-09-09 Thread Jiang, Yunhong
Glad that the patch works for you.

For the instance_id and flavor_id, I'm not sure which table are you talking 
about. But I think flavor_id is same as "instance_type_id", while instance_id 
is purely an id for an instance, which is usually created based on an 
instance_type (or, flavor).

Thanks
--jyh

From: Vinay Bannai [mailto:vban...@gmail.com]
Sent: Sunday, September 09, 2012 6:26 AM
To: Jiang, Yunhong
Cc: Dugger, Donald D; Patrick Petit; openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

Sorry Yunhong, it was my mistake. I was able to get it to work with your 
changes.
I am a little confused by the terminology of "instance_id" and "flavor_id" in 
the tables. Either their meaning is crossed or I am not reading it right.

Vinay

On Sat, Sep 8, 2012 at 12:02 PM, Vinay Bannai 
mailto:vban...@gmail.com>> wrote:
Thanks Yunhong,

I picked your changes for flavors.py from your review to give it a try in my 
setup. I wrote a little python script to create a flavor id and set_key using 
the new RESTful apis that you defined. After creating the flavor, when I try to 
set the key I am getting error message from the nova side.
Do I need pick to any changes from nova side to make it work? I can send you my 
sample code and error message privately or put it on the mailing list if that 
helps.

Vinay

On Sat, Sep 8, 2012 at 6:42 AM, Jiang, Yunhong 
mailto:yunhong.ji...@intel.com>> wrote:
The extra_specs do have the RESTful interface as 
"/flavors/flavor_type/os-extra_specs". You can refer to 
https://review.openstack.org/#/c/10768/ for some changes. (I didn't update the 
patch because I'm recently busy on another task, and will restore that patch 
when I finish current task).

Thanks
--jyh

From: Dugger, Donald D
Sent: Saturday, September 08, 2012 4:28 AM
To: Vinay Bannai; Patrick Petit; Jiang, Yunhong
Cc: openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: RE: [Openstack] [Nova] Instance Type Extra Specs clarifications

Well, Yunhong added the API to allow you to update the extra specs table so he 
should be able to give you the details on that (he's in China, he might not get 
back to you until next week).

Also, make sure you add a scope (where scope is a string followed by a `:' at 
the beginning of the key) to whatever key you are adding to the extra specs 
table, otherwise your key will create problems with some of the scheduler 
filters.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786

From: Vinay Bannai [mailto:vban...@gmail.com]
Sent: Friday, September 07, 2012 2:20 PM
To: Patrick Petit
Cc: Dugger, Donald D; 
openstack@lists.launchpad.net 
(openstack@lists.launchpad.net)
Subject: Re: [Openstack] [Nova] Instance Type Extra Specs clarifications

Hello all,

I am part of the SF south bay meetup group and trying to add a Disk I/O QoS 
feature which is based on the blkiotune in libvirt.
We would like to add flavor types in which we specify the blkiotune in the 
create flavor screen. After reviewing the discussions and some emails it 
appears that it makes sense to use the "instance_type_extra_specs" to add the 
blkiotune as a key/value pair instead of extending the "instance_type" table in 
nova db.

I am able to use nova-manage to create instance type and use "set_key" to add 
extra specs. The set_key seems to make a direct call to the db to insert the 
keys whereas the instance_type create takes the more traditional path through 
the flavomanage controller. However I notice that there is no documentation on 
how to add the extra_specs keys using a RESTful api. Is this something still in 
discussions?

Thanks
Vinay

On Tue, Aug 28, 2012 at 8:02 AM, Patrick Petit 
mailto:patrick.michel.pe...@gmail.com>> wrote:
Hi Don,

I added a comment in https://bugs.launchpad.net/nova/+bug/1039386 regarding 
your point.
Best regards,
Patrick
2012/8/24 Dugger, Donald D 
mailto:donald.d.dug...@intel.com>>

Patrick-

We've enhanced `nova-manage' to manipulate the `extra_specs' entries, c.f. 
https://blueprints.launchpad.net/nova/+spec/update-flavor-key-value,   You can 
add an `extra_specs' key/value pair to a flavor with the command:

nova-manage instance_type add_key m1.humongous cpu_type itanium

And delete a key/value pair with the command:

nova-manage instance_type del_key m1.humongous cpu_type

We're in the process of enhancing `python-novaclient' and Horizon with similar 
capabilities and hope to have them ready for the Folsom release.

Currently, there's no hook to set `extra_specs' through the `nova.conf' file, 
the mechanism is to dynamically add the `extra_specs' key/values after the 
administrator has created a flavor.

Currently, the keys are completely free fo

Re: [Openstack] DHCP and kernel > 3.2

2012-09-09 Thread Alessandro Tagliapietra
2012/9/5 andi abes 

> I've heard of folks having issues with UDP checksum not being
> generated correctly, and having success by running the command below
> on the nova compute nodes.
>
> iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM
> --checksum-fill
>

Yeah, I've seen the checksum issue on > 3.2 kernels, but it's there also on
3.2 which works fine. Maybe they've added a more strict check.
A temp workaround is to put the interface in promiscous mode which some
guys reported it to work.

Ale


>
>
> I'm not sure if this affects the versions you're working with.
>
> On Wed, Sep 5, 2012 at 10:41 AM, Anton Haldin 
> wrote:
> > I have the same issue  ( kernel 3.5 , guest vm cannot get response from
> > dnsmasq )
> >
> >
> > On Fri, Aug 10, 2012 at 7:08 AM, Lorin Hochstein <
> lo...@nimbisservices.com>
> > wrote:
> >>
> >>
> >> On Aug 9, 2012, at 3:22 AM, Alessandro Tagliapietra
> >>  wrote:
> >>
> >> > Hello guys,
> >> >
> >> > i've just installed kernel 3.4 from Ubuntu kernel PPA archive and
> after
> >> > this upgrade VM aren't able to get the DHCP address but with tcpdump
> i see
> >> > the request and offer on the network.
> >> > Someone else experienced this? I've tried also with 3.3, same story.
> >> > Rolling back to 3.2 and everything works fine.
> >> >
> >>
> >>
> >> When I had a similar problem the issue turned out to be that I needed to
> >> configure the NIC on the compute host to be in promiscuous mode,
> otherwise
> >> the DHCP response wouldn't make it to the VM.
> >>
> >> Lorin
> >>
> >> Sent from my iPad
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~openstack
> >> Post to : openstack@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~openstack
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp