[Openstack] Error while booting VM

2014-02-06 Thread Narayanan, Krishnaprasad
Hallo all, Can I seek help for the problem described below? I have a VM running Ubuntu 12.04 in my OpenStack cloud and when it boots, I get an error message that says "Error: invalid magic number, error: You need to load the kernel first. Press any key to continue". Can I know how to make the

Re: [Openstack] Error while booting VM

2014-02-06 Thread Jacob Godin
Is it a custom image? What format are you using? On Thu, Feb 6, 2014 at 8:19 AM, Narayanan, Krishnaprasad < [email protected]> wrote: > Hallo all, > > > > Can I seek help for the problem described below? > > > > I have a VM running Ubuntu 12.04 in my OpenStack cloud and when it boots, > I g

[Openstack] token request with pki

2014-02-06 Thread Emanuel Marzini
Hi, if I use a certificate to communicate with keystone, Can I request a token? How? Emanuel ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack

Re: [Openstack] token request with pki

2014-02-06 Thread Rob Crittenden
Emanuel Marzini wrote: Hi, if I use a certificate to communicate with keystone, Can I request a token? How? Upstream is working on external authentication methods at http://docs.openstack.org/developer/keystone/external-auth.html It shows how to configure keystone for X.509 but not how to co

[Openstack] Fwd: Error while booting VM

2014-02-06 Thread Aryeh Friedman
-- Forwarded message -- From: Aryeh Friedman Date: Thu, Feb 6, 2014 at 7:55 AM Subject: Re: [Openstack] Error while booting VM To: "Narayanan, Krishnaprasad" On Thu, Feb 6, 2014 at 7:19 AM, Narayanan, Krishnaprasad < [email protected]> wrote: > Hallo all, > > > > Can I

Re: [Openstack] Error while booting VM

2014-02-06 Thread Bhattacharjee, Arindam (Arindam)
Probably you need to create qcow2 image out of iso image and then use that qcow2 to create VMs from Openstack. Follow the instructions similar to this: http://docs.openstack.org/image-guide/content/ubuntu-image.html From: Narayanan, Krishnaprasad [mailto:[email protected]] Sent: Thursday, Fe

Re: [Openstack] port on openvswitch not tagged upon VM launch

2014-02-06 Thread DeadManMoving
Hi list, in case it can be of any help to someone who stumble upon my post, i finally was able to fix my problem. It was an iptables problem that was preventing the neutron ovs agent to complete its configuration tasks on my compute node. Thus, the iptables-restore error messages in the neutron a

Re: [Openstack] Error while booting VM

2014-02-06 Thread Aryeh Friedman
qcow2 is almost certainly the worst choice here because if the hypervisor for some reason becomes unusable then the data is unreadable by some hypervisors... raw is much more portabls On Thu, Feb 6, 2014 at 9:19 AM, Bhattacharjee, Arindam (Arindam) < [email protected]> wrot

Re: [Openstack] Error while booting VM

2014-02-06 Thread Remo Mattei
sounds like it maybe corrupted. I would try to download a test image from this location: http://docs.openstack.org/image-guide/content/ch_obtaining_images.html if you want to use some tools to build your images I would look at http://docs.openstack.org/image-guide/content/ch_creating_images_autom

Re: [Openstack] Error while booting VM

2014-02-06 Thread Narayanan, Krishnaprasad
Thanks for all the responses. I found that during the disk clean up, the ephemeral disk associated to the instance has been deleted. Can I know how to recover, associate and boot the VM once again? Regards, Krishnaprasad From: Remo Mattei [mailto:[email protected]] Sent: Donnerstag, 6. Februar 201

[Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
Hey all, I've run into an issue with a Havana Keystone install on CentOS 6.3. When I issue a command such as: keystone user-list I get in response: Unable to authorize user This happens with service-list, endpoint-list, role-list, etc. Oddly, it does NOT happen with tenant-list; I ge

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Remo Mattei
Seems a permissions issue did you try a different user? Remo On Feb 6, 2014, at 10:09, Daniel Ellison wrote: > Hey all, > > I've run into an issue with a Havana Keystone install on CentOS 6.3. When I > issue a command such as: > >keystone user-list > > I get in response: > >Unable

Re: [Openstack] Error while booting VM

2014-02-06 Thread Aryeh Friedman
Oh forgot to mention depending on hypervisor qcow2 is *KNOWN* to have current (i.e. in the latest version) security flaws... see the qemu-developers list for detail https://lists.nongnu.org/mailman/listinfo/qemu-devel On Thu, Feb 6, 2014 at 9:50 AM, Aryeh Friedman wrote: > qcow2 is almost certai

Re: [Openstack] Error while booting VM

2014-02-06 Thread Aryeh Friedman
Depends on your needs... if your only need is to save space then your right use qcow2 but if you have any need for stability or robustness use raw (qcow2 for example is much susceptible to the kinds of results like the one the original poster reported and later confirmed in the event of a unschedul

Re: [Openstack] How to achieve HA and Scalability for Neutron

2014-02-06 Thread Nick Ma
On 12/27/2013 3:36 AM, Jay Pipes wrote: 1) Apply this patch to Neutron: https://gist.github.com/jaypipes/8135839 Hi jay, The patch you provided cannot be directly applied for havana release (at least for RDO havana deployment). Here's my modification: https://gist.github.com/li-ma/8726625

Re: [Openstack] Error while booting VM

2014-02-06 Thread Remo Mattei
Yes but raw data keeps the entire space so if you have a 40gb drive and only use 1gb you are stuck with 40gb. Whereas, qcow2 does not. Ciao Remo On Feb 6, 2014, at 9:50, Aryeh Friedman wrote: > qcow2 is almost certainly the worst choice here because if the hypervisor for > some reason become

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
On Feb 6, 2014, at 10:19 AM, Remo Mattei wrote: > Seems a permissions issue did you try a different user? I just defined a new user with OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT set (because that DOES work) and when I tried to get a user list as that new user it gave me the same error. +Dan __

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
On Feb 6, 2014, at 10:53 AM, Daniel Ellison wrote: > On Feb 6, 2014, at 10:19 AM, Remo Mattei wrote: >> Seems a permissions issue did you try a different user? > > I just defined a new user with OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT set > (because that DOES work) and when I tried to get a us

Re: [Openstack] Error while booting VM

2014-02-06 Thread Remo Mattei
I am not disagreeing here I am just point an option out. Ciao Remo On Feb 6, 2014, at 10:41, Aryeh Friedman wrote: > Depends on your needs... if your only need is to save space then your right > use qcow2 but if you have any need for stability or robustness use raw (qcow2 > for example is m

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Remo Mattei
Can you try to execute it as an admin from the CLI using the following variable: #Paste the following: export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin export OS_AUTH_URL="http://192.168.100.254:5000/v2.0/"; using your ip here Bye Remo On Feb 6, 2014, at 10:53, Dani

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Craig Jellick
If you're using the default policy.json file, this seems to be the expected behavior. The "list_user_projects" method has an access rule of "admin_or_owner". All the other calls you mentioned have a rule of "admin_required". So, I'd say that most likely the user you are using does not have the rol

Re: [Openstack] How to achieve HA and Scalability for Neutron

2014-02-06 Thread Nick Ma
On 1/8/2014 3:35 AM, Jay Pipes wrote: Unless something has changed recently, I believe the default behavior of Neutron is to start a dnsmasq process within the tenant's network namespace on only *one* DHCP agent. Right now, multiple DHCP agents can serve one network when you set "dhcp_agents_

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Remo Mattei
I agree that’s why I was saying to try a different user. If you add a user it will not be part of the admin anyhow, by default. Remo On Feb 6, 2014, at 11:09, Craig Jellick wrote: > If you're using the default policy.json file, this seems to be the > expected behavior. > The "list_user_projec

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
On Feb 6, 2014, at 11:09 AM, Craig Jellick wrote: > If you're using the default policy.json file, this seems to be the > expected behavior. > The "list_user_projects" method has an access rule of "admin_or_owner". > All the other calls you mentioned have a rule of "admin_required". > > So, I'd sa

[Openstack] Developing new python-whateverclient

2014-02-06 Thread Andriy Yurchuk
Hi! I want to develop my own python-client for my service. I was searching for some developer guide on this but did not find anything. Is there any? If not then which of the existing clients is best to use as the reference? From the first glance it looks like all of them use slightly different

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
On Feb 6, 2014, at 11:31 AM, Daniel Ellison wrote: > Also, these are the variables which are set on login: > >export OS_USERNAME=admin >export OS_TENANT_NAME=admin >export OS_PASSWORD= >export OS_AUTH_URL=http://:5000/v2.0/ I just reset admin's password to that which is in the en

[Openstack] Problem in Nova trying to take data from keystone using v3

2014-02-06 Thread Vinod Kumar Boppanna
Dear All, I was trying to get the list of project for a domain in nova by connecting to the keystone using V3 auth tokens, but i am facing problem. project_list = [] auth_url = "http://:35357/v3/" keystone = client.Client(token=context.auth_token, auth_url=auth_u

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
As expected, it was user error. The Keystone endpoint URLs had been defined incorrectly. The public URL had been set to the admin URL and the admin URL was blank. Mystery solved. Thanks for your input! +Dan ___ Mailing list: http://lists.openstack.org

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Remo Mattei
Is this a production a dev devstack packstack that me help a little as well Thanks Inviato da iPhone () > Il giorno Feb 6, 2014, alle ore 8:53, Daniel Ellison ha > scritto: > >> On Feb 6, 2014, at 11:31 AM, Daniel Ellison wrote: >> Also, these are the variables which are set on login: >> >

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Adam Young
On 02/06/2014 10:53 AM, Daniel Ellison wrote: On Feb 6, 2014, at 10:19 AM, Remo Mattei wrote: Seems a permissions issue did you try a different user? I just defined a new user with OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT set (because that DOES work) and when I tried to get a user list as tha

Re: [Openstack] Odd Keystone Behaviour

2014-02-06 Thread Daniel Ellison
On Feb 6, 2014, at 1:48 PM, Adam Young wrote: > Those are for initializing the Keystone server. Create a user with the admin > roles, then you disable the ADMIN_TOKEN in the conf file, and use a real > user with a real token to do all other work. SERVICE_TOKEN is not a long term > setting for

Re: [Openstack] token request with pki

2014-02-06 Thread Adam Young
On 02/06/2014 09:10 AM, Rob Crittenden wrote: Emanuel Marzini wrote: Hi, if I use a certificate to communicate with keystone, Can I request a token? How? Upstream is working on external authentication methods at http://docs.openstack.org/developer/keystone/external-auth.html It shows how t

Re: [Openstack] Problem in Nova trying to take data from keystone using v3

2014-02-06 Thread Qiu Yu
Keystoneclient isn't doing very well regarding version negotiation. So my guess on the problem you met is that there're multiple identity service defined in your deployment, and keystoneclient falls back to use default v2.0 for management url. To fix it, configure only one identity service for v3.

[Openstack] Deleted admin tenant by mistake

2014-02-06 Thread Nagaraj Mandya
Hello, I am using OpenStack Grizzly and my services are configured with an admin tenant named "service" (in admin_tenant_name). However, by mistake, I deleted that tenant. Is there some way I can recreate that project? All my services are now failing. Thanks. -- Regards, Nagaraj _

[Openstack] [openstack-user] About Installing Command line tools

2014-02-06 Thread Mayur Patil
Hi All, I want to install python-PROJECTclient tools on CentOS machine but it is already having Eucalyptus i.e. (Euca2ools & Node controller) installed on it. Then is it feasible to install Openstack Command line tools over it? Seeking for guidance, Thanks !! *-- * *Cheers

Re: [Openstack] [openstack-user] About Installing Command line tools

2014-02-06 Thread Aryeh Friedman
Yes it is and with the next week or so I will be posting a set of tutorials that cover just this (this topic will be first of 8 or 9 parts). Remember if your not using datacenter based machines to do your development work (and in many cases even if you are) then it likely you will need to repeate