Re: [Openstack] devstack and api-paste.ini

2012-03-07 Thread Dean Troyer
Since that file may be used in other places I don't make many assumptions about what is there, so the sed script in stack.sh is a bit defensive and able to handle a couple of variations that the sample api-paste.ini may present. Clear as mud? ;) dt -- Dean Troyer dtro...@gmail.com

Re: [Openstack] Ubuntu 12.04 B1, Keystone (redux) + Service Catalogs

2012-03-11 Thread Dean Troyer
vars. Actually, the environment variables (if set) are used for the default value of the command-line options, so the command-line option do in fact override the environment variables. https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/shell.py#L97 dt -- Dean Troy

Re: [Openstack] euca2ools: Failure communicating with keystone (Essex on Ubuntu 12.04 B1)

2012-03-16 Thread Dean Troyer
ng Keystone. These can easily be adapted to any Essex-4+ installation of OpenStack. I'm not certain this will fix your problem, but using the current auth config will help debugging it. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: htt

Re: [Openstack] python-glanceclient

2012-04-04 Thread Dean Troyer
old CLI that I don't see in the new one at a quick glance. Will do more study once it is in DevStack (see below). > 4) Integrate with DevStack It's on the roadmap now dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpa

Re: [Openstack] Client debugs??

2012-04-04 Thread Dean Troyer
Although it is hidden, --debug is a global option (defined in keystone/shell.py) just like --os_username and friends, which means it must appear before the command. All options that follow the command are command specific. dt -- Dean Troyer dt

Re: [Openstack] devstack stable/essex branch

2012-04-10 Thread Dean Troyer
he devstack trunk as of right now (b7748fbe44) + changing stackrc to point to stable/essex rather than master branches (fe08c5bfe4). dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.la

[Openstack] DevStack stable/essex branch

2012-04-11 Thread Dean Troyer
-- Dean Troyer dtro...@gmail.com ___ 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] Endpoints problems

2012-04-13 Thread Dean Troyer
00.142:8774/v2/s"; for the created > endpoint. > Am I doing something wrong ? You need to escape the '$'s in your URLs or change the double quotes around them to single quotes. The shell sees the $(tenant_id) and attempts to execute a command called tenant_id. dt

[Openstack] OpenStack Client Followup

2012-04-18 Thread Dean Troyer
ottom of the Etherpad about this as I am sure there are other opinions out there. Thanks dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://laun

Re: [Openstack] curl command

2012-04-19 Thread Dean Troyer
sier to use the keystone command rather than curl to get your token info. The equivalent command is: keystone --os_tenant_name=openstackDemo --os_username=openstackDemo --os_password=secretword --os_auth_url=http://192.168.206.130:35357/v2.0/tokens token-get And even bett

Re: [Openstack] New Mailing List for Python OpenStack Client

2012-04-30 Thread Dean Troyer
e sharing of behaviour among related community members. Roger that. It's deactivated. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchp

Re: [Openstack] [client] OpenStack Client Followup

2012-04-30 Thread Dean Troyer
  help text should be formatted - in particular that positional >     arguments are covered by the help text (e.g. keystone-manage does >     not currently give any info on positional arguments required >     until you specify too few). That's a good idea. I'd propose that it be c

Re: [Openstack] OpenStack Client Followup

2012-04-30 Thread Dean Troyer
anyway, and > then they are all consistent)? We should document that, I had just assumed it until now. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://

Re: [Openstack] OpenStack Client Followup

2012-04-30 Thread Dean Troyer
sn't like duplicated options in subparsers, nor subsets of names like we found in keystone with --tenant and --tenant_id, etc. IIRC none of the existing clients do that, they all rely on 'help command' to get command-specific help. dt -- Dean

Re: [Openstack] URL Scheme for deploying Openstack in HTTPD

2012-04-30 Thread Dean Troyer
ust mapping those API endpoints to specific URLs on a single server, right? I think this is a strong case for using the service names. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to

Re: [Openstack] OpenStack Client Followup

2012-05-01 Thread Dean Troyer
evant to any work on a unified CLI. Sounds like a blueprint waiting to be written... ;) dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchp

Re: [Openstack] [client] OpenStack Client Followup

2012-05-01 Thread Dean Troyer
e what the value add of arbitrary binaries being called is; the way I imagine it the binary would have to duplicate the token flow auth at a minimum, why not just call it directly? git has the advantage here of keeping its state in the filesystem. What little state we have is in memory. dt

Re: [Openstack] OpenStack Client Followup

2012-05-01 Thread Dean Troyer
once we get a command or two implemented with argument parsing we give it a shot? dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https:/

Re: [Openstack] [client] OpenStack Client Followup

2012-05-01 Thread Dean Troyer
x27;d expect the distros to pick it up at some point, too. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack Mor

Re: [Openstack] OpenStack Client Followup

2012-05-01 Thread Dean Troyer
I actually kind of liked the side effect of the old nova-manage in that it was self-enforcing for admin-ness since you needed to run it on the node itself. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post

[Openstack] [client] final openstackclient binary name

2012-05-02 Thread Dean Troyer
-3 I have proposed https://review.openstack.org/7024 to change it to 'openstack'. We'll wait a day or two for opinions/votes to collect in the review. Thanks dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchp

Re: [Openstack] [client] Where will client API libraries live?

2012-05-02 Thread Dean Troyer
tackclient, but that is not the immediate priority. I think we need a bit more thought about use cases for, say, glanceclient requiring openstackclient even in a stand-alone installation. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https:

Re: [Openstack] [client] creating blueprints for the unified CLI project

2012-05-02 Thread Dean Troyer
eview when it is closed. I did a quick prioritization pass on the blueprints just now. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://lau

Re: [Openstack] [client] creating blueprints for the unified CLI project

2012-05-02 Thread Dean Troyer
g as the change id in the log message doesn't change Gerrit does the Right Thing. See the bottom of http://wiki.openstack.org/GerritWorkflow for details. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/

Re: [Openstack] About openstack common client

2012-05-18 Thread Dean Troyer
ckclient has an advantage for scripted use in that it has an option for easily parsable output. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launc

Re: [Openstack] About openstack common client

2012-05-18 Thread Dean Troyer
mmon client, too. I expect the existing project-specific CLIs to be around fot some time. The bit that openstackclient replaces is actually pretty small code-wise so maintaining them isn't as much duplicated work as it might seem. dt -- Dean Troyer dtro...@gmail.com __

Re: [Openstack] devstack multi-node tutorial fails

2012-05-24 Thread Dean Troyer
at https://github.com/cloudbuilders/devstack/tree/gh-pages. Clone that, make your changes and send a pull request. Let us know you've done that, it's the only time that we use pull requests in that repo. dt -- Dean Troyer dtro...@gmail.com ___

Re: [Openstack] nova user management without the dashboard

2012-05-24 Thread Dean Troyer
ent, but you can get your ec2 creds form keystone like this: keystone ec2-credentials-create You should be able to use https://github.com/openstack-dev/devstack/blob/master/eucarc as a model for turning that into a novarc file. dt -- Dean Troy

Re: [Openstack] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Dean Troyer
", ] It is possible that the list can be pared down, I pulled that verbatim from http://fedoraproject.org/wiki/Quantum. dt -- Dean Troyer dtro...@gmail.com ___ 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] New layout of the OpenStack mailing lists

2012-05-25 Thread Dean Troyer
esult at all, neither do blogs or twitter/FB/G+ unless those accounts are functional equivalents to -announce, then its just a matter of remembering to go check them. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~opensta

Re: [Openstack] devstack installation failing

2012-05-25 Thread Dean Troyer
opt/stack; done” You can also put 'RECLONE=yes' in front of stack.sh on the command line or add it to localrc to force stack.sh to update all repositories. RECLONE=yes ./stack.sh dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: ht

Re: [Openstack] [devstack] Easing maintenance of list of distro packages to install

2012-06-20 Thread Dean Troyer
rt. As it is the Fedora lists still often lag unless I can catch a review and prompt the author to add the required entry in the rpms directory Support aside, anything that we might adopt will necessarily be kept simple, such as changing the packaging names (apts/rpms) to packager names (ubuntu,fed

Re: [Openstack] Devstack fedora 17 (issues)

2012-06-22 Thread Dean Troyer
uld be helpful to see your system configuration, please run tools/info.sh Also, what is the output of 'git log --oneline -2'? dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lis

Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Dean Troyer
27;ll see how it goes. dt -- Dean Troyer dtro...@gmail.com ___ 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] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Dean Troyer
g else I need to > do to ensure cinder is "on"? I use this to enable cinder: ENABLED_SERVICES=$(echo $ENABLED_SERVICES | sed 's/n-vol/c-api,c-sch,c-vol/') But the volume group should be created either way. The cinder patch did change its name from nova-volumes to s

[Openstack] [devstack] Recent updates

2012-06-27 Thread Dean Troyer
the log coloring is also disabled. dt -- Dean Troyer dtro...@gmail.com ___ 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] UnifiedCLI suggestion

2012-06-28 Thread Dean Troyer
prompt linking back to the keystone blueprint. That looks like a good solution. Thanks Ken dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https:/

Re: [Openstack] [Devstack]Keystone authentication problem when installing

2012-06-28 Thread Dean Troyer
ted? Specifically, I'd like to see the group of variable assignments immediately before keystone_data.sh is called. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net

Re: [Openstack] Command Argument Naming Style

2012-07-19 Thread Dean Troyer
maintaining the options containing '_' for compatibility and documenting them as deprecated, if at all, and to be removed sometime in the future (>6 months at least). FWIW, glance will never have the '_' option names because it is a

Re: [Openstack] devstack + exercise.sh failures

2012-08-09 Thread Dean Troyer
The commands to do that are in samples/local.sh in the devstack directory. dt -- Dean Troyer dtro...@gmail.com ___ 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] Setting Expectations

2012-08-14 Thread Dean Troyer
leadership and direction needed even if it stubs a few toes along the way. It kills me that the acronym for OpenStack Foundation is OSF. While I don't think we can really be the Linux of the cloud any time soon, we will have to really work

Re: [Openstack] Folsom on Oracle VirtualBox using qemu

2012-10-02 Thread Dean Troyer
' object > has no attribute LibvirtDriver > > # Virt driver > connection_type=libvirt Try removing connection_type and adding the following: compute_driver=libvirt.LibvirtDriver This changed between Essex and Folsom... dt --

Re: [Openstack] Could I restart devstack with old configuration?

2012-10-25 Thread Dean Troyer
ork at the end of stack.sh. There is an example in samples/local.sh. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack Mo

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Dean Troyer
sh again. Is this the best way? Is this documented somewhere? killall screen works well for me. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://l

Re: [Openstack] Remove Zones code - FFE

2012-02-18 Thread Dean Troyer
me vs KDE And my favorite (partly because it is only 4 characters!): bloc - a group with a common interest, sometimes in voting situations dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack

Re: [Openstack] XCP toolstack support for devstack

2012-02-21 Thread Dean Troyer
differences. It's probably time for me to rebase and propose it. It's working on F16 now. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : http

Re: [Openstack] devstack and stable/diablo

2012-02-21 Thread Dean Troyer
it is just not something that we spend any time on normally. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~open

[Openstack] DevStack and Fedora

2012-02-22 Thread Dean Troyer
work packaging for OpenVSwitch isn't in fedora's default repos (yet), need to be located: quantum and melange are untested dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@l

Re: [Openstack] devstack: excercises script other than shell scripts

2012-02-25 Thread Dean Troyer
like the shell scripts, easy to read and follow. You would need to re-word exercise.sh as it assumes .sh filenames. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Uns

Re: [Openstack] running Tempest continuously in the openstack project?

2012-02-27 Thread Dean Troyer
there is more that devstack needs to do to set up tempest. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More he

[Openstack] cfg.py-style config files

2012-03-05 Thread Dean Troyer
thout having to put --config-file on the command-line, i.e. skip the compatibility conversion on, say, /etc/nova/nova.conf. All of the default config file locations appear to be assumed to be flagfiles. Thanks dt -- Dean Troyer dtro...@gmail.com _

Re: [Openstack] Devstack.org website

2012-11-06 Thread Dean Troyer
ges site and is still pulled from the original DevStack repo at https://github.com/cloudbuilders/devstack. It is updated manually and we can in fact take pull requests there but only for the gh-pages branch. I merged that pull request. dt -- Dean Tro

Re: [Openstack] [devstack] Malformed Documentation on stack.sh script web site

2012-11-07 Thread Dean Troyer
n the comments of devstack scripts. In this particular case, the spinner string was being improperly recognized by shocco and it stopped formatting the output. This is a good excuse to do another periodic doc/formatting pass through stack.sh, I'll commit this fix t

Re: [Openstack] LVM over LVM is acceptable?

2012-11-26 Thread Dean Troyer
nly at SCSI disks for physical devices That last one will likely need adjusting for your local block device names. dt -- Dean Troyer dtro...@gmail.com ___ 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] LVM over LVM is acceptable?

2012-11-26 Thread Dean Troyer
too. Nested LVM can be tricky but if you are careful to keep the layers separated it can work. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https:/

Re: [Openstack] Stopping Devstack from running

2012-12-20 Thread Dean Troyer
hat would mean that stack.sh or rejoin-stack.sh is being run by a boot script and it shouldn't be. Oddly enough there are a number of people that wish DevStack would survive a reboot. We actively discourage that to keep it from being used for more than development. dt -- Dean Troyer dtr

Re: [Openstack] running devstack

2013-01-11 Thread Dean Troyer
. openrc admin admin keystone catalog --service identity # if that doesn't work try: keystone --debug catalog It is possible that the keystone database did not get initialized properly. If you are still having trouble, the output of tools/info.sh would also bee useful to see. dt -- Dean Tro

Re: [Openstack] keystone start fails due to mysql password mismatch running stack.sh

2013-01-11 Thread Dean Troyer
is $MYSQL_PASSWORD. And in fact that isn't an encoded password but an auto-generated one from the read_password function that creates a password if one is not entered using 'openssl rand -hex 10'. Something is stomping on your MYSQL_PASSWORD from localrc. Is that value diff

Re: [Openstack] Hardcoding of requests in client

2013-02-06 Thread Dean Troyer
on-keystoneclient not intsallable > on the same system on raring. Go for it, but you'll have to do all of the clients at the same time, which is the reason for the pinning. Lovely incompatible lib dependency changes in one project have that nice domino

Re: [Openstack] How to generate an API key

2013-02-08 Thread Dean Troyer
y pair used for instance logins. Those are also long-lived and generated on demand. However they are not related to controlling API acces, just to controlling login to running instances. They are controlled in the Compute API and can be seen with: nova help | grep key dt --

Re: [Openstack] openstack client question

2013-02-12 Thread Dean Troyer
week and possibly some recent API changes. dt -- Dean Troyer dtro...@gmail.com ___ 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] n-api installation problem with devstack (on Ubuntu )

2013-02-14 Thread Dean Troyer
localrc. Looking through lib/nova will help you find the variable names that are available for modification. You can set HOST_IP in localrc to force all of the services to bind to a specific IP. dt -- Dean Troyer dtro...@gmail.com ___ Ma

Re: [Openstack] Are the Python APIs public or internal?

2013-03-01 Thread Dean Troyer
ent marked abandoned? It is still under development, albiet at a slower pace than I'd like. It is meant to be a single CLI for OpenStack that leverages the libraries provided by the individual project clients. So it uses the keystoneclient python libs but not the cli/shell bits. dt --

Re: [Openstack] Unauthenticated service probe for OpenStack components

2013-03-14 Thread Dean Troyer
d curl's exit code is non-zero (7 I think?). We did the same thing in DevStack for checking api server responses. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net U

Re: [Openstack] [Glance][Image-Create][OZ]

2013-03-19 Thread Dean Troyer
t in /etc/default/grub: GRUB_TERMINAL=console GRUB_CMDLINE_LINUX=console=ttyS0 console=tty GRUB_CMDLINE_LINUX_DEFAULT=console=ttyS0 dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] Fwd: Nova API Keypairs

2013-04-25 Thread Dean Troyer
o the instance. In the first case (Nova generating the keypair) remember to tell ssh to use the private file with -i . dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.

Re: [Openstack] [OpenStack][DevStack] How to contribute?

2013-05-07 Thread Dean Troyer
elated bits that allows you to send reviews to Gerrit. dt [1] https://launchpad.net/~openstack -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https:/

Re: [Openstack] Devstack usage in Install Openstack

2013-05-11 Thread Dean Troyer
package sets if you want to operate your setup for any length of time or have plans to eventually open it up to other users, even just for testing. DevStack re-initializes everything from scratch every time you run stack.sh. dt -- Dean Troyer dtro.

Re: [Openstack] Keystone Identity API v3 interface

2013-06-25 Thread Dean Troyer
e API supporting the command that you are using...i.e: openstack ... --os-url http://169.254.169.200:9292/ server list will fail as you are sending a compute API command to the (presumably from the port) image API endpoint. dt -- Dean Troyer dtro...@gmail.com __

Re: [Openstack] Image prep. cloud-init user configuration help.

2013-07-23 Thread Dean Troyer
te a 'centos' user with sudo permissions to root. dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~opensta

Re: [Openstack] devstack issue related to Python-keystoneclient

2013-07-25 Thread Dean Troyer
lpful here) or rebase it if you are working on that one. This all assumes you're running trunk... dt -- Dean Troyer dtro...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : htt

Re: [Openstack] devstack issue related to Python-keystoneclient

2013-07-25 Thread Dean Troyer
On Thu, Jul 25, 2013 at 11:14 AM, Dean Troyer wrote: > This particular problem appears to be due to out-of-date source trees, > in this case an older horizon with an out of date requirements.txt. I should add...providing the output of tools/info.sh is extremely helpful in debugging these