Ask Your Question

joe-topjian-v's profile - activity

2017-07-24 07:47:48 -0500 received badge  Popular Question (source)
2017-01-20 04:15:11 -0500 received badge  Popular Question (source)
2013-02-15 15:30:20 -0500 answered a question language translation of red buttons

Thanks, Julie! I will open a bug report.

2013-02-13 21:54:33 -0500 asked a question language translation of red buttons

Hello,

I'm trying to get a fully translated Horizon installation running, but I cannot figure out how to translate the text in red buttons. The red buttons provide Delete actions and are set up differently in the Horizon code.

For example:

Folsom: horizon/dashboards/nova/access_and_security/security_groups/tables.py, line 29 Grizzly/master: horizon/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py, line 30

The class that the above references is the Delete action for Security Groups, which I imagine is the red button "Delete Security Groups" when accessing http://localhost/project/access_and_security (http://localhost/project/access_and_s...) .

Does anyone know how these can be translated?

Thanks, Joe

2013-02-13 16:29:49 -0500 answered a question ugettext_lazy instead of ugettext for locale?

Sounds good. Thanks!

2013-02-11 22:05:10 -0500 answered a question ugettext_lazy instead of ugettext for locale?

On further review through the code, it looks like only a handful of files have ugettext instead of ugettext_lazy -- I'm going to assume this is a bug and that all occurrences should be changed?

2013-02-11 18:28:27 -0500 asked a question ugettext_lazy instead of ugettext for locale?

Hello,

I'm not sure if this is a bug, so I wanted to post here first to confirm.

We want to support a french locale in Horizon and reviewed/modified the PO file to make sure it had proper entries for all supported areas. However, when switching from English to French, we find that not all areas are translated even though they are marked translatable in the code ( _("Foobar")).

I was able to resolve this issue by changing

from django.utils.translation import ugettext as _ to from django.utils.translation import ugettext_lazy as _

This change enabled previously untranslated areas to become translated. The reason for this is described and further linked here ( http://stackoverflow.com/questions/2694798/django-form-and-i18n (http://stackoverflow.com/questions/26...) ).

An example of this can be seen by doing the above fix to "dashboards/nova/instances/workflows.py" (Folsom).

Can anyone confirm if this is a known issue or if this is a newly discovered bug?

Thanks, Joe

2012-09-09 06:23:36 -0500 answered a question How to create tables into ovs_quantum database ?

Hi Emilien,

I had the same problem.

Question 207960 mentions that two config files are needed for each Quantum service. The problem is that the stock init script for quantum-server only has one config file specified.

I edited /etc/init/quantum-server.conf and added "--config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini" to the end of the start-stop-daemon line. Upon restarting the quantum-server service, the tables were created.

I would imagine that the Ubuntu packages need modified for a permanent fix.

Thanks, Joe

2012-08-18 02:10:10 -0500 answered a question KVM nested OpenStack issues

It looks like this is possible when the host OpenStack install is using Quantum and the guest OpenStack nodes are using FlatDHCP.

2012-08-07 05:08:09 -0500 asked a question KVM nested OpenStack issues

Hello,

I have a single large Ubuntu 12.04 server running Essex that I use for a variety of testing. I would like to run OpenStack inside of this OpenStack environment.

The "host" OpenStack server is a single all-in-one installation configured to use VlanManager.

The nested OpenStack environment is one controller node and two compute nodes. VlanManager is also being used.

virtio is used for the NIC driver for everything -- host and nested.

Everything works inside the nested OpenStack environment except I'm running into bridging problems:

Whether I'm trying multi_host or non-multi_host, the virtual NIC of the instance (vnetX) is attached to the bridge on the nested compute node it is hosted on, but other nested compute nodes are unable to see it.

Is there a way to fix this?

Thanks, Joe

2012-06-11 14:58:27 -0500 answered a question Inner-project Floating IP communication is not working

Hello,

For me, hairpin_mode is not set on any of the vlan interfaces but is set on some of the vnet interfaces (which I think are the KVM nics?):

$ for i in ls /sys/class/net/br1*/brif/*/hairpin_mode; do echo $i: cat $i; done /sys/class/net/br100/brif/vlan100/hairpin_mode: 0 /sys/class/net/br100/brif/vnet5/hairpin_mode: 1 /sys/class/net/br101/brif/vlan101/hairpin_mode: 0 /sys/class/net/br102/brif/vlan102/hairpin_mode: 0 /sys/class/net/br102/brif/vnet0/hairpin_mode: 0 /sys/class/net/br103/brif/vlan103/hairpin_mode: 0 /sys/class/net/br103/brif/vnet2/hairpin_mode: 0 /sys/class/net/br103/brif/vnet3/hairpin_mode: 0 /sys/class/net/br103/brif/vnet4/hairpin_mode: 1 /sys/class/net/br103/brif/vnet7/hairpin_mode: 1

Thanks, Joe

2012-06-09 16:30:38 -0500 answered a question Inner-project Floating IP communication is not working

I see the same as Koji: --routing_source_ip made no difference and ICMP is definitely enabled in the security groups -- ping would not work externally if it was not.

Below is my nova.conf:

--logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --root_helper=sudo nova-rootwrap --verbose=false --public_interface=vlan20 --fixed_range=10.0.0.0/8 --image_service=nova.image.glance.GlanceImageService --use_deprecated_auth=false --glance_api_servers=cloud.sandbox.cybera.ca:9292 --service_down_time=60 --rabbit_port=5672 --vlan_interface=bond0 --rabbit_virtual_host=/ --vlan_start=100 --sql_connection=mysql://nova:password@cloud.private.sandbox.cybera.ca/nova --bindir=/usr/bin --api_paste_config=/etc/nova/api-paste.ini --rabbit_password=password --rabbit_userid=nova --rabbit_host=cloud.sandbox.cybera.ca --floating_range=199.116.232.40/29 --auth_strategy=keystone --network_manager=nova.network.manager.VlanManager --novncproxy_port=6080 --novncproxy_host=0.0.0.0 --metadata_host=192.168.6.2

2012-05-29 15:07:33 -0500 answered a question Not able to start any of the nova services.

Hello,

What are the permissions of your /etc/nova directory?

ls -ld /etc/nova

For reference, mine are:

drwx------ 2 nova nova 4096 May 18 15:36 /etc/nova

ls -l /etc/nova/nova.conf:

-rw-r----- 1 nova nova 982 May 28 13:17 nova.conf

Thanks, Joe

2012-05-28 16:19:22 -0500 asked a question Inner-project Floating IP communication is not working

Hello,

I have Essex running in a multi-node configuration using VLAN network manager.

Instances in the same project are unable to communicate with each other (or themselves) via Floating IP. Fixed IP communication works fine. Floating IP communication works from the outside-in as well as between projects.

I read over Bug 933640 and see that the modified IPTables rule is in place, but hairpin_mode is not set on any of the vlan interfaces -- I'm not sure whether it should be or not.

Does anyone have any ideas on what the problem could be?

Please let me know if you'd like to see any config.

Thanks, Joe

2012-04-04 18:40:13 -0500 answered a question How to update a user`s tenant_id

Hello,

I have opened a bug report that is somewhat related to this question: Bug #973642.

Regarding managing a user's tenant membership, I would recommend not using the tenant_id argument when creating the user. Instead, create the user and then user user-role-add command to apply a role to a user in a tenant. This will add a user to the tenant's membership.

Thanks, Joe

2012-03-23 21:40:13 -0500 answered a question How to cleanly remove a user

Thanks Joseph Heck, that solved my question.

2012-03-23 21:40:07 -0500 answered a question How to cleanly remove a user

Perfect - thanks!

2012-03-22 18:07:37 -0500 asked a question How to cleanly remove a user

Hello,

How can a user cleanly be removed from Keystone? Maybe I am missing a step - and I apologize if so - but I'm running into the following issue:

keystone tenant-create --name=ProjectX keystone user-create --name=Foo --pass=password keystone user-role-add --user=$USER_ID --tenant_id=$TENANT_ID --role=$ADMIN_ROLE_ID

In the SQL database, I can now see entries under the user, tenant, user_tenant_membership, and metadata tables.

Now, if I do

keystone user-delete $USER_ID

The entry is removed from the user table, but no other tables.

If I do

keystone user-role-remove --user=$USER_ID --tenant_id=$TENANT_ID --role=$ADMIN_ROLE_ID

The entry is removed from user_tenant_membership, but not the metadata table.

keystone user-delete $USER_ID

removes the user from the user table, but still not metadata.

If I add the user to more than one role, the user will stay in the user_tenant_membership table until all roles have been removed, but there is still an entry in metadata.

Is this a bug or am I missing a step for cleanly removing a user?

Thanks, Joe