发起问题

smaffulli 的档案 - activity

2018-06-24 19:16:19 -0500 修改问题 Why does my question still say "This post is awaiting moderation" after a day?

This is absurd, there is absolutely no way on this site to contact any Admins, how is someone supposed to raise an issue?

2017-10-18 10:57:40 -0500 修改回答 Keepalived on openstack vm is possible?

yes - see http://blog.aaronorosen.com/implement...

[edit: the original post disappeared. Here is the webarchive version] https://web.archive.org/web/201603042...

2017-08-31 08:33:14 -0500 评论问题 Horizon Dashboard Ocata is blocked by Parked Domain ?

Don't add comments, edit the original question instead to make it more readable.

2017-08-31 08:30:10 -0500 修改问题 Which version of OpenStack CLI is used for Certified Openstack Administrator exam

Recently I started preparing for Certified Openstack Administrator exam.

There is one question in my mind.. This exam will based on old openstack cli commands or the new version of openstack cli commands.

I am only focusing my preparation on new version of openstack cli commands.

For example to create new flavor :

Old command - nova flavor-create --is-public true m10.tiny auto 400 3 1

New command - openstack flavor create --disk 3 --vcpu 1 --public --ram 400 m10.tiny

Can someone please help me to understand the version of cli commands used in actual COA exam ?

2017-06-05 12:44:04 -0500 获得奖牌  好回答 (source)
2017-01-02 06:56:28 -0500 获得奖牌  好回答 (source)
2016-12-17 22:57:18 -0500 获得奖牌  专家 (source)
2016-12-17 22:57:18 -0500 获得奖牌  完美答案 (source)
2016-12-07 02:21:08 -0500 获得奖牌  优秀回答 (source)
2016-10-07 16:22:44 -0500 修改问题 Can i download videos and use them internaly in my organization?

Hi,

There is a video that I am interested in downloading OpenStack for Beginners can i get hold of it and use it internally in IBM for education?

2016-10-07 16:21:08 -0500 回答问题 Can i download videos and use them internaly in my organization?

I was assuming that all content produced by the OpenStack Foundation went under a Creative Commons Attribution license or Apache license but I was assuming wrong. Not only the pages on openstack.org/videos have no explicit license but the youtube video you linked is licensed under the 'Standard YouTube License'.

So the answer is you have to ask permission to the OpenStack Foundation for any use of that material.

2016-09-21 21:47:28 -0500 获得奖牌  收藏问题 (source)
2016-09-20 16:31:41 -0500 评论问题 I am looking for more information on HEAT,

This question has no unique answer: you should read the documentation and post here about specific issues, questions that can be answered objectively. Conversations should be had on the openstack mailing list. Read https://ask.openstack.org/faq

2016-09-02 17:27:45 -0500 回答问题 Login in to account using cloud init script

You should be able to automate most of that with a bash script. Even if the cloud-init process runs as root, you can create a user, install software, run ssh-keygen and move keys around and change ownership of files and directories... but that sounds to me very convoluted.

Maybe an ansible playbook would be simpler and it would also allow you to create the snapshot (things I believe you can't do with cloud-init).

The third and probably cleanest option, is to create a default image and upload it in Glance. Disk Image Builder is your friend here.

2016-09-01 13:08:21 -0500 评论问题 Login in to account using cloud init script

I have no idea how to execute commands as an unprivileged user with cloud-init, I'd use ansible for that. Maybe share your script in the question as maybe there are other approaches you could try with cloud-init.

2016-09-01 13:03:32 -0500 评论问题 How much time will it take to install openstack using Devstack??

This question has no possible answer. Read https://ask.openstack.org/en/faq/

2016-08-23 17:48:51 -0500 评论问题 unable to use neutron flavor commands on Mitaka using cli

question is too generic, lacks basic details to make it possible to give a meaningful answer.

2016-08-23 17:48:14 -0500 评论问题 Manila question

The question is too generic. https://wiki.openstack.org/wiki/Manila has the answer

2016-08-23 17:42:35 -0500 回答问题 openstacksdk: NotFoundException:

Make sure that keystone.reg1.abc.net really exists and try removing the /v3 in auth_url.

2016-08-23 17:41:03 -0500 修改问题 openstacksdk: NotFoundException:

Attempting to use the openstacksdk python APIs to list servers, and getting a 404 Not Found.

Here is my code:

```
from openstack import connection
from openstack import profile

self.profile = profile.Profile()
self.profile.set_region(self.profile.ALL, "reg1")
self.profile.set_version('identity', 3)

self.osconnection = connection.Connection(
profile=self.profile,
auth_url="https://keystone.reg1.abc.net:443/v3",
project_name="admin",
username="behzad",
password="mypass",
project_domain_name="default",
user_domain_name="Default",
tenant_name="admin")

for server in self.osconnection.compute.servers():
print "server: ", server

Exception :

```

ERROR: test_basic (osshell_ut.OSShellUt)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "osshell_ut.py", line 12, in test_basic
    res = resource.OSResource()
  File "/Users/behzad_dastur/CODE/osshellaug22/os-shell/osshell/resource.py", line 63, in __init__
    for server in self.osconnection.compute.servers():
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/resource2.py", line 709, in list
    params=query_params)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/keystoneauth1/session.py", line 668, in get
    retval = self.request(url, 'GET', **kwargs)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/session.py", line 39, in map_exceptions_wrapper
    return func(*args, **kwargs)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/session.py", line 248, in request
    return super(Session, self).request(*args, **kwargs)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/keystoneauth1/session.py", line 484, in request
    **endpoint_filter)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/session.py", line 237, in get_endpoint
    sc_endpoint)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/session.py", line 123, in _get_endpoint_versions
    response = self.get(root_endpoint)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/keystoneauth1/session.py", line 668, in get
    retval = self.request(url, 'GET', **kwargs)
  File "/Users/behzad_dastur/pyenvironments/osenv1/lib/python2.7/site-packages/openstack/session.py", line 46, in map_exceptions_wrapper
    http_status=e.http_status, cause=e)
NotFoundException: NotFoundException: Not Found, <html>
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />


 </body>
</html>

```

Not clear what am I missing. I can use the openstack CLI and get the server list successfully with the same rc credentials.

2016-08-23 17:39:05 -0500 修改问题 I don't see nova compute How to fix it

HI

i manage to set up nova but i have problem i don't see nova compute installed on other vm machine like here

https://www.dropbox.com/s/ku2d25zbs2o... on those vm are installed opensuse 42.1 Leap

i have connection beetween them but like i said i don't see nova compute on controller https://www.dropbox.com/s/khvskegtos9... , what im doing wrong?

I see on controller node irabbitmq-server is down i try restart him but that not work ;/ ok that is not it i fix it and i still don't see nova compute on compute node i got AMQP ON CONTROLLER NODE IS UNREACHABLE

2016-08-17 15:23:06 -0500 评论回答 Stop openstack from writing log to local disk

that's a bad idea if you want to ever be able to understand what is happening to your system :)

2016-08-15 12:06:48 -0500 修改回答 Stop openstack from writing log to local disk

Perhaps this document can help. It explains how to configure OpenStack logging.

To configure remote loggers, follow the link to Python documentation.

2016-08-15 12:03:14 -0500 修改问题 How to deploy images in different subnets with Ironic

hi i am trying bare metal deployment using ironic ... in my company we have multiple vlans and bootp is disabled in firewall

my Cloud controller 12.150.55.140 and baremetal is in same vlan means i can able to deploy os in the barematel server

but if i try to deployments in different network...example cc is 12.150.55.140 and baremetal in 12.150.72.x network

means i am not able to deploy the image in barematel ...but we have the communication between this two network using routing but dhcp is disabled ..please help me out with the configuration

2016-08-15 12:01:55 -0500 修改问题 How to solve this for God's sake

Seems we've got an error and no one in Devstack knows how to solve or lead us to a solution: I'm facing the same error and can't find a solution over there.

I'm tryuing to install Mitaka using Devstack with a very simple local.conf ( just netwirk and passwords). The instalations script is asking me password again so I think stack.sh is not reading the local.conf.

Anyway... I'm getting the infamous error:

Discovering versions from the identity service failed when creating the password plugin attempting to determine version from URL
Could not determine a suitable URL for the plugin

Me and the rest of the planet. I can't believe no one in the face of this planet know what is happening.:

https://ask.openstack.org/en/question/91893/keystone-could-not-determine-a-suitable-url-for-the-plugin-using-devstack/ (https://ask.openstack.org/en/question...)

https://ask.openstack.org/en/question/67118/openstack-could-not-determine-a-suitable-url-for-the-plugin/ (https://ask.openstack.org/en/question...)

https://ask.openstack.org/en/question/86071/devstack-installation-failure/ (https://ask.openstack.org/en/question...)

https://bugs.launchpad.net/devstack/+bug/1515352 (https://bugs.launchpad.net/devstack/+...)

https://bugs.launchpad.net/python-openstackclient/+bug/1447704 (https://bugs.launchpad.net/python-ope...)

https://bugs.launchpad.net/openstack-manuals/+bug/1454049 (https://bugs.launchpad.net/openstack-...)

Please reopen. Its duplicate indeed but its the one that have a valid solution.

2016-07-13 09:20:56 -0500 获得奖牌  复兴的问题 (source)
2016-07-03 17:42:09 -0500 修改回答 How to understand the bridge_mappings?

Each label must be mapped to a unique bridge. A given bridge is only good for a single flat network, since it is untagged traffic. Thus, if you want to have two flat networks you would need two different label/bridge mappings, and two different server interfaces - one in each bridge.

I just answered your other thread, but the answer should be the same:

Per host you can have:

  • 1x integration bridge where VMs connect
  • 1x tunnel bridge used for overlay (vxlan /gre) traffic
  • 1x or more provider bridges that connect to physical interfaces used for tagged (vlan) and untagged (flat) traffic

bridge_mappings defines the mapping of a label (or name) to an actual bridge. The label name is arbitrary, but must be mapped to an actual bridge on the host. The bridge should contain a physical server interface that likely connects to a physical switch, such as eth1. The OVS agent will connect the provider bridge to the integration bridge. When you create a provider or external network using the net-create command, you can specify the provider label to ensure traffic on that network utilizes the mapped bridge and respective interface.

You can have more than one provider bridge, each with its own physical interface or bonded interface. This is useful when you have, say, a 1G network and a 10G network:

bridge_mappings = slownet:br-eth1,fastnet:br-eth4

The br-eth1 bridge would contain eth1, a 1G interface. The br-eth4 bridge would contain eth4, a 10G interface. The labels must be consistent across all hosts, but the bridges they map to can be unique to that host. As a result, I would make the labels fairly generic and not identify some interface name that may not be consistent across hosts. Same goes for the bridge, too, if it may not always contain eth1 or eth4.

2016-07-03 17:42:09 -0500 修改问题 How to understand the bridge_mappings?
# Comma-separated list of <physical_network>:<bridge> tuples mapping physical
# network names to the agent's node-specific Open vSwitch bridge names to be
# used for flat and VLAN networks. The length of bridge names should be no more
# than 11. Each bridge must exist, and should have a physical network interface
# configured as a port. All physical networks configured on the server should
# have mappings to appropriate bridges on each agent. Note: If you remove a
# bridge from this mapping, make sure to disconnect it from the integration
# bridge as it won't be managed by the agent anymore. Deprecated for ofagent.
# (list value)
bridge_mappings =

I am trying to setup vlan type tenant network use ml2 + ovs. But the configure bridge_mappings confused me. Above said it is physical network names map to ovs bridge. But!!! What is a physical network name? The network you created with neutron net-create command? But that network should not be created yet at the time I edit this config.

Another guess here is that there is some predefined network names that neutron understand. But where I can find those predefined name if it is the case?

I am using ovs + ml2 to create vlan tenant network.

I try to create two tenant network net1 and net2, both with vlan type. Then try to create provider network external with flat type.

I want the net1 and net2 use ovs bridge called br-vlan and external use ovs-bridge called br-ex.

So I config the bridge_mappings to

bridge_mappings = net1:br-vlan, net2:br-vlan, external:br-ex

But this is wrong. The server said

Parsing bridge_mappings failed: Value br-vlan in mapping: 'vlan2:br-vlan' not unique. Agent terminated!

So how should I config?

2016-06-15 06:36:10 -0500 获得奖牌  热门的问题 (source)
2016-06-15 06:36:10 -0500 获得奖牌  著名问题 (source)
2016-06-15 06:36:05 -0500 获得奖牌  受欢迎的问题 (source)
2016-06-15 06:36:05 -0500 获得奖牌  著名问题 (source)
2016-06-15 06:36:05 -0500 获得奖牌  热门的问题 (source)
2016-06-15 06:36:05 -0500 获得奖牌  著名问题 (source)
2016-06-01 16:22:46 -0500 修改回答 compute node down, db error

I have the same problem!

2016-06-01 13:36:36 -0500 修改问题 compute node down, db error

I am trying to hook in a new compute node, but it is stuck in the "Down" state.

This error is showing up in the conductor logs -- any thoughts?

==> ./nova-conductor.log <==
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters [req-61230b63-1b37-496d-896d-dd9308860d21 - - - - -] DBAPIError exception wrapped from (pymysql.err.InternalError) (1241, u'Operand should contain 1 column(s)') [SQL: u'SELECT migrations.created_at AS migrations_created_at, migrations.updated_at AS migrations_updated_at, migrations.deleted_at AS migrations_deleted_at, migrations.deleted AS migrations_deleted, migrations.id AS migrations_id, migrations.source_compute AS migrations_source_compute, migrations.dest_compute AS migrations_dest_compute, migrations.source_node AS migrations_source_node, migrations.dest_node AS migrations_dest_node, migrations.dest_host AS migrations_dest_host, migrations.old_instance_type_id AS migrations_old_instance_type_id, migrations.new_instance_type_id AS migrations_new_instance_type_id, migrations.instance_uuid AS migrations_instance_uuid, migrations.status AS migrations_status, migrations.migration_type AS migrations_migration_type, migrations.hidden AS migrations_hidden \nFROM migrations \nWHERE migrations.deleted = %s AND migrations.status = %s AND migrations.source_compute = %s AND migrations.migration_type = %s'] [parameters: (0, [u'accepted', u'done'], u'os-kvm-compute02', u'evacuation')]
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     context)
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     cursor.execute(statement, parameters)
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 132, in execute
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     result = self._query(query)
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 271, in _query
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     conn.query(q)
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 726, in query
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     self._affected_rows = self._read_query_result(unbuffered=unbuffered)
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 861, in _read_query_result
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     result.read()
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1064, in read
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     first_packet = self.connection._read_packet()
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 826, in _read_packet
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     packet.check_error()
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 370, in check_error
2016-05-25 12:08:32.364 1582 ERROR oslo_db.sqlalchemy.exc_filters     raise_mysql_exception(self._data)
2016-05-25 12:08:32.364 ...
(more)
2016-06-01 13:35:56 -0500 评论问题 compute node down, db error

This question lacks important details to help debug it. How did you install openstack? what version? on which system? regurgitating a log without context is not helpful

2016-05-03 20:06:12 -0500 作最佳回答 How do I debug OpenStack?

I stumbled upon an error that I cannot decipher: where do I find OpenStack's logs and how do I debug the system?

2016-04-11 12:05:43 -0500 评论回答 openstack Could not determine a suitable URL for the plugin

if you don't have it in ~/.config/openstack/cloud.yaml you can create it. http://docs.openstack.org/developer/p...

2016-03-25 17:47:06 -0500 回答问题 openstack Could not determine a suitable URL for the plugin

I solved this issue by removing the path in the auth_url. My clouds.yaml file now looks like this:

 clouds:
   dream:
      profile: dreamhost
      auth:
          username: $username
          password: $password
          project_name: $project
          auth_url: https://iad2.dream.io:5000
      region_name: RegionOne

while before the auth_url was https://iad2.dream.io:5000/v2.0. I'm using openstack client version 2.2.0.

2016-03-25 17:43:48 -0500 评论回答 openstack Could not determine a suitable URL for the plugin

Why delete it? you should fix it instead

2016-03-21 13:21:40 -0500 评论问题 Openstack Installation Automation

maybe you should explain better what you mean by 'automation'. There are lots of projects, from puppet chef ansible to crowbar and more...

2016-03-16 19:00:31 -0500 回答问题 ephemeral storage backup

Ephemeral is ephemeral... and snapshots shouldn't be considered backups. You are probably better off redesigning your applications and use block storage instead and make sure that snapshots are enough for your use case.

2016-03-16 18:57:56 -0500 回答问题 which companies are using swift storage
2016-03-16 18:56:04 -0500 评论问题 My OpenStack stops working after reboot system just after install

you should also mention how you installed openstack. And don't forget to search this site because this may have been answered already.

2016-03-14 13:15:53 -0500 评论回答 How to get all ceilometer events both for admin as well as demo through one command?

keep in mind that specs are just design documents for features to be developed.