Ask Your Question

generalkalbasa's profile - activity

2017-02-01 14:56:08 -0600 received badge  Student (source)
2017-01-13 08:02:38 -0600 commented question Access to Openstack CLI from the inside of a tenant

be it external or internal.

as for external - it is possible with proxies, etc. But how do you connect instance internal network directly to management?

2017-01-12 11:44:47 -0600 commented answer Openstack: Could not load neutron.agent.linux.interface.OVSInterfaceDriver

have the same problem, would be awesome if you post your solution

2017-01-12 11:21:31 -0600 commented question Could not load neutron.agent.linux.interface.BridgeInterfaceDriver

Have you managed to figure out what is causing this? having the same issue with new Openstack newton install

2016-11-15 05:40:00 -0600 received badge  Famous Question (source)
2016-10-26 06:45:08 -0600 received badge  Notable Question (source)
2016-10-11 10:28:49 -0600 received badge  Famous Question (source)
2016-09-03 07:39:36 -0600 commented answer Cloudkitty DB permission error on Mitaka

thank you, will try that as soon as i get to my lab

2016-09-03 07:37:31 -0600 received badge  Notable Question (source)
2016-08-29 11:17:49 -0600 commented answer Cloudkitty DB permission error on Mitaka

did the following command

cloudkitty-storage-init

work without errors with your setup?

2016-08-27 10:49:59 -0600 received badge  Popular Question (source)
2016-08-26 11:42:05 -0600 commented question trove guest instance starts normally, but trove-taskmanager still reports Error state

trove conductor log from that day shows only regular INFO and DEBUG messages that it has started working at service restart long before the test instance launch. No messages with the timestamp close to the testing time

2016-08-26 05:28:44 -0600 commented question trove guest instance starts normally, but trove-taskmanager still reports Error state

most trove issues are related to trove guest images not working properly, but mine is kinda working (according to logs and the ability to access mysql), but it somehow does not report the "success" to trove-taskmanager MQ

2016-08-26 05:25:46 -0600 commented question trove guest instance starts normally, but trove-taskmanager still reports Error state

i have checked through those threads:1st one has another issue (stuck in build) 2nd one does have a kinda similar issue, but has no solution to it, unfortunately.

2016-08-23 08:32:57 -0600 asked a question trove guest instance starts normally, but trove-taskmanager still reports Error state

Good day community! i have a multi node openstack mitaka deployment with secure management network and external network for instances as in openstack reference install guide.

controller has access to both networks. Trove-taskmanager uses rabbitMQ with rabbit_host set to CONTROLLER_MANAGEMENT_HOSTNAME, while guest agent uses rabbit_host set to CONTROLLER_EXTERNAL_IP.

I've have manualy built ubuntu 14.04 guest image for trove with mysql 5.6. my trove-guestagent.conf looks like this (have rabbit in both oslo and default just in case)

[DEFAULT]
verbose = True
debug = True
rabbit_host = CONTROLLER_EXTERNAL_IP
rabbit_userid = openstack
rabbit_password = PASS
nova_proxy_admin_user = admin
nova_proxy_admin_pass = ADMIN_PASS
nova_proxy_admin_tenant_name = service
trove_auth_url = http://CONTROLLER_MANAGEMENT_HOSTNAME:35357/v3
rpc_backend = rabbit
log_dir = /var/log/trove/
log_file = trove-guestagent.log
datastore_manager = mysql
datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager

[oslo_messaging_rabbit]
rabbit_host = CONTROLLER_EXTERNAL_IP
rabbit_userid = openstack
rabbit_password = PASS

trove_auth_url is set to management host (though the instance has no access to that network), but accoroding to logs guest-agent doesn't even try to connect to that url so i don't think it is related to the issue.

When i start the instance the guest agent starts normaly, connects to rabbitmq and receives all the tasks it needs to do and finishes them without any error. in the end i have a fully functional Mysql database, accessible using the user/pass i entered during the creation. In the end, guestagent repeats the following message in the logs:

2016-08-23 12:53:44.685 1620 DEBUG oslo_service.periodic_task [-] Running periodic task Manager.update_status run_periodic_tasks /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215
2016-08-23 12:53:44.686 1620 DEBUG trove.guestagent.datastore.manager [-] Update status called. update_status /usr/lib/python2.7/dist-packages/trove/guestagent/datastore/manager.py:246
2016-08-23 12:53:44.687 1620 DEBUG trove.guestagent.datastore.service [-] Determining status of DB server. update /usr/lib/python2.7/dist-packages/trove/guestagent/datastore/service.py:178
2016-08-23 12:53:44.688 1620 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): /usr/bin/mysqladmin ping execute /usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:344
2016-08-23 12:53:44.737 1620 DEBUG oslo_concurrency.processutils [-] CMD "/usr/bin/mysqladmin ping" returned: 0 in 0.049s execute /usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:374
2016-08-23 12:53:44.741 1620 INFO trove.guestagent.datastore.mysql_common.service [-] MySQL Service Status is RUNNING.
2016-08-23 12:53:44.742 1620 DEBUG trove.guestagent.datastore.service [-] Casting set_status message to conductor (status is 'running'). set_status /usr/lib/python2.7/dist-packages/trove/guestagent/datastore/service.py:162
2016-08-23 12:53:44.745 1620 DEBUG trove.conductor.api [-] Making async call to cast heartbeat for instance: 7a54fad1-b87f-484b-8ed0-a413f68cedad heartbeat /usr/lib/python2.7/dist-packages/trove/conductor/api.py:49
2016-08-23 12:53:44.747 1620 DEBUG oslo_messaging._drivers.amqpdriver [-] CAST unique_id: b496930502f5448f8b9864b892d3162c exchange 'openstack' topic 'trove-conductor' _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:448
2016-08-23 12:53:44.752 1620 DEBUG trove.guestagent.datastore.service [-] Successfully cast set_status. set_status /usr/lib/python2.7/dist-packages/trove/guestagent/datastore/service.py:168

But on the controller ... (more)

2016-08-20 06:56:40 -0600 received badge  Popular Question (source)
2016-08-20 06:56:13 -0600 received badge  Enthusiast
2016-08-15 14:04:43 -0600 asked a question Sahara cluster creation failed with internal server error

I have a lab deployment with 6x Ubuntu 16.04 Xenial servers running Openstack Mitaka (1x controller, 1x block, 4x compute). I've decided to try Sahara and installed it using some guides. in the end i've ended up with a sahara.config file as follows (without comments):

[DEFAULT]
auth_strategy = keystone
debug = true
verbose = true
log_file = sahara.log
log_dir = /var/log/sahara
rpc_backend = rabbit
use_floating_ips = true
use_neutron = true
use_namespaces = True
use_rootwrap = True
rootwrap_command = sudo sahara-rootwrap /etc/sahara/rootwrap.conf
plugins = vanilla,spark,cdh,ambari
infrastructure_engine = heat
[castellan]
[cinder]
[conductor]
[cors]
[cors.subdomain]
[database]
connection = mysql://sahara:DB_PASS@master/sahara
[heat]
[keystone]
[keystone_authtoken]
auth_uri = http://master:5000
auth_url = http://master:35357
memcached_servers = master:11211
auth_host = master
auth_protocol = http
admin_user = sahara
admin_password = SAHARA_PASS
admin_tenant_name = service
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = sahara
password = SAHARA_PASS
identity_uri = http://master:35357
[matchmaker_redis]
[neutron]
[nova]
[object_store_access]
[oslo_concurrency]
lock_path = /var/lib/sahara/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
driver = messaging
enable = true
[oslo_messaging_rabbit]
rabbit_host = master
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
[oslo_policy]
[retries]
[ssl]
[swift]
[timeouts]
[paste_deploy]
flavor = keystone
[service_credentials]
auth_type = password
auth_url = http://master:5000/v3
project_domain_name = default
user_domain_name = default
project_name = service
username = sahara
password = SAHARA_PASS
interface = internalURL
region_name = RegionOne

After installing the Sahara dashboard i've found this guide on lauching the instances http://docs.openstack.org/developer/s.... Image registration, and template creation for node groups and cluster went fine according to this guide, both using cli and dashboard. But when i tried launching the cluster i've received an Internal Server Error. The entire sahara-api.log linked to the test cluster launch is here http://pastebin.com/HXqh19Yz The last calls and error were logged as follows:

2016-08-15 14:54:39.289 15505 DEBUG oslo_concurrency.processutils [req-5b0c746d-292b-454f-a27d-64f1740ca179 8171a23579674bc7a39dcee9e31645dc e9dc5711894649c7ac90a7300312257e - - -] Running cmd (subprocess): ssh-keygen -q -N  -t rsa -f /tmp/tmpZ5nLbF/tempkey -C Generated-by-Sahara -b 2048 execute /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:344
2016-08-15 14:54:39.693 15505 DEBUG oslo_concurrency.processutils [req-5b0c746d-292b-454f-a27d-64f1740ca179 8171a23579674bc7a39dcee9e31645dc e9dc5711894649c7ac90a7300312257e - - -] CMD "ssh-keygen -q -N  -t rsa -f /tmp/tmpZ5nLbF/tempkey -C Generated-by-Sahara -b 2048" returned: 0 in 0.404s execute /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:374
2016-08-15 14:54:40.169 15505 ERROR sahara.utils.api [req-5b0c746d-292b-454f-a27d-64f1740ca179 8171a23579674bc7a39dcee9e31645dc e9dc5711894649c7ac90a7300312257e - - -] Request aborted with status code 500 and message 'Internal Server Error'
2016-08-15 14:54:40.170 15505 ERROR sahara.utils.api [req-5b0c746d-292b-454f-a27d-64f1740ca179 8171a23579674bc7a39dcee9e31645dc e9dc5711894649c7ac90a7300312257e - - -] Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sahara/utils/api.py", line 97, in handler
    return func(**kwargs)
  File "/usr/lib/python2.7/dist-packages/sahara/api/acl.py", line 43, in handler
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sahara/service/validation.py", line 62, in handler
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sahara/api/v10.py", line 52, in clusters_create
    return u.render(api.create_cluster(data).to_wrapped_dict())
  File "/usr/lib/python2.7/dist-packages/sahara/service/api.py", line 105, in create_cluster
    return _cluster_create(values, plugin)
  File "/usr/lib/python2.7/dist-packages/sahara/service/api.py", line 129, in _cluster_create ...
(more)