2018-12-12 02:26:15 -0600
| edited question | I'm getting an error while trying to run the script stack.sh it's showing the following error can anyone please help?Thank you in advance :) `Obtaining file:///opt/stack/keystone Complete output from command python setup.py egg_info:
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pbr/core.py", line 96, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/lib/python2.7/site-packages/pbr/util.py", line 259, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/lib/python2.7/site-packages/pbr/hooks/__init__.py", line 25, in setup_hook
metadata_config.run()
File "/usr/lib/python2.7/site-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/lib/python2.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 839, in get_version
name=package_name))
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name keystone was given, but was not able to be found.
error in setup command: Error parsing /opt/stack/keystone/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name keystone was given, but was not able to be found.
Command "python setup.py egg_info" failed with error code 1 in /opt/stack/keystone/
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
` |
2016-11-19 05:51:20 -0600
| commented question | Request URL api/glance/images/ - Forbidden 403 Did you source the credentials while running through cmd?
403 means FORBIDDEN . Check the permission on the folder. But its difficult to tell the problem, maybe you need to paste the logs to get a more clear understanding of where the problem occurs |
2016-11-19 05:48:59 -0600
| edited question | Request URL api/glance/images/ - Forbidden 403 Hello, I got an issue on the creation of image with source file type URL on mitaka :
 As i can see the request -> 403 forbidden :
 When i try to upload an image with sourcetype "files" its working like a charm:
 I've tried to create an empty image and add a location on it but still 403 forbidden "add location isnt authorized":
 Any idea about this problem ? :/
thanks |
2016-11-18 13:24:30 -0600
| commented question | openstack client: "__init__() got an unexpected keyword argument 'project_name'" what do get by running, neutron net-list |
2016-11-18 06:13:36 -0600
| commented question | openstack client: "__init__() got an unexpected keyword argument 'project_name'" that should work fine, paste the command that arent working. I see in your question you have executed some commands that are not valid |
2016-11-18 05:01:27 -0600
| commented answer | Running VNF in openstack Yes, just follow this link and that should work !! |
2016-11-18 03:34:47 -0600
| commented question | openstack client: "__init__() got an unexpected keyword argument 'project_name'" what is the exact command command that you are trying to run |
2016-11-18 03:33:32 -0600
| answered a question | Running VNF in openstack Why would you like to combine VNF with Openstack without Tacker. Tacker provides useful functionality on top of Openstack to Orchestrate the VNF's. Its based on ETSI MANO architectural framework. Tacker is a generic VNFM (Virtual Network Fucntion Manager) and NFVO (Network Function Virtualization Orchestrator) to deploy and operate Network services. Your question is not really clear as to what is the end goal and what are you trying to acheive here |
2016-09-22 06:03:12 -0600
| answered a question | I need a help! Error to create Users and Projects on Horizon The error ConnectionFailed: Connection to neutron failed indicates that service is not running or it tails to communicate with the service, you can check it by running the command neutron agent-list
Apart from that check whether the Nuetron port 9696 is open and in listening state by netstat -lnpt | grep 9696
Hope that helps !! |
2016-09-21 04:52:25 -0600
| received badge | ● Nice Answer
(source)
|
2016-09-20 11:53:22 -0600
| received badge | ● Good Answer
(source)
|
2016-09-20 11:53:22 -0600
| received badge | ● Enlightened
(source)
|
2016-09-02 07:40:21 -0600
| received badge | ● Nice Answer
(source)
|
2016-08-30 05:12:33 -0600
| answered a question | How to have custom name for the VMs created using HEAT templates Yes, its really easy and straightforward. You can give any name in the name attribute of the properties section of the instance. For Example instance1:
type: OS::Nova::Server
properties:
name: heat-vm-1
image: <UUID of the image>
flavor: m1.xsmall
Hope that helps!! |
2016-08-05 14:53:58 -0600
| received badge | ● Nice Answer
(source)
|
2016-07-27 06:19:46 -0600
| commented question | Horizon error - retrieve service list Can you check Openstack services' status |
2016-07-27 06:18:54 -0600
| edited question | Horizon error - retrieve service list when I try to go to system information in horizon, getting below alerts Unable to get network agents info.
Unable to get nova services list.
Unable to get cinder services list.
Unable to get Orchestration service list.
i tried to get any error in error log of apache2, but cannot see any error in that or with nova api. This issue has come after I installed python-pip. Now after removing python-pip, this error has continued. I am not sure where to debug this. |
2016-07-07 04:52:29 -0600
| commented question | how to check whether is orphan instance and delete orphan instance with python what do you exactly mean by orphan instances. it is unclear from your question what exactly are you trying to acheive. |
2016-06-30 04:49:16 -0600
| edited question | Please help how to solve, i ran ./stack multiples times now gettining error udo vlan cryptsetup genisoimage gir1.2-libosinfo-1.0 open-iscsi qemu-utils sg3-utils sysfsutils lvm2 open-iscsi qemu-utils libpcre3-dev dstat
++functions-common:install_package:1299 update_package_repo
++functions-common:update_package_repo:1271 NO_UPDATE_REPOS=False
++functions-common:update_package_repo:1272 REPOS_UPDATED=False
++functions-common:update_package_repo:1273 RETRY_UPDATE=False
++functions-common:update_package_repo:1275 [[ False = \T\r\u\e ]]
++functions-common:update_package_repo:1279 is_ubuntu
++functions-common:is_ubuntu:466 [[ -z deb ]]
++functions-common:is_ubuntu:469 '[' deb = deb ']'
++functions-common:update_package_repo:1280 apt_get_update
++functions-common:apt_get_update:1073 [[ False == \T\r\u\e ]]
++functions-common:apt_get_update:1078 [[ False = \T\r\u\e ]]
++functions-common:apt_get_update:1080 local sudo=sudo
+++functions-common:apt_get_update:1081 id -u
++functions-common:apt_get_update:1081 [[ 1000 = \0 ]]
++functions-common:apt_get_update:1084 time_start apt-get-update
++functions-common:time_start:2358 local name=apt-get-update
++functions-common:time_start:2359 local start_time=
++functions-common:time_start:2360 [[ -n '' ]]
+++functions-common:time_start:2363 date +%s
++functions-common:time_start:2363 _TIME_START[$name]=1467257098
++functions-common:apt_get_update:1086 local 'proxies=http_proxy= https_proxy= no_proxy= '
++functions-common:apt_get_update:1087 local 'update_cmd=sudo http_proxy= https_proxy= no_proxy= apt-get update'
++functions-common:apt_get_update:1088 timeout 300 sh -c 'while ! sudo http_proxy= https_proxy= no_proxy= apt-get update; do sleep 30; done'
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:5 http://ppa.launchpad.net/cloud-installer/stable/ubuntu xenial InRelease
Ign:6 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/juju/stable/ubuntu xenial InRelease
Ign:8 http://ppa.launchpad.net/maas/stable/ubuntu xenial InRelease
Ign:9 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial Release
Ign:10 http://ppa.launchpad.net/maas/stable/ubuntu xenial Release
Ign:11 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main Translation-en
Ign:15 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main DEP-11 64x64 Icons
Ign:17 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 Packages
Ign:18 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main i386 Packages
Ign:19 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main all Packages
Ign:20 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main Translation-en
Ign:21 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:22 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main DEP-11 64x64 Icons
Ign:11 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main Translation-en
Ign:15 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/fossfreedom/packagefixes ... (more) |
2016-06-28 04:36:31 -0600
| commented question | http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey) Have you checked the security groups, and see that the assigned security group has ICMP/SSH ports open and enabled. |
2016-06-22 02:51:20 -0600
| commented answer | cannot launch new vnf "AttributeError: 'str' object has no attribute 'pop' in the above logs in the question indicates that it is not getting management network. Please verify this. |
2016-06-20 14:52:38 -0600
| answered a question | cannot launch new vnf The error ConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED'))
indicates that the Heat service may not be running. Can you confirm that heat service is running by executing heat stack-list
or by creating a stack. If tacker cant talk to heat that may be the reason why the VNFs are unable to launch. |
2016-06-20 03:39:10 -0600
| answered a question | show console on web browser using api You can use many open-source VNC clients to do that for example, noVNC, Tiger VNC, Tight VNC and a lot of more that you can find on web. Why are you trying to make a website for it if Horizon is made to server that purpose. Horizon provided all the functionality that you are trying to provide and can be accessed in web browser. |
2016-06-11 01:32:50 -0600
| received badge | ● Nice Answer
(source)
|
2016-06-10 07:14:40 -0600
| answered a question | Select the server where to instanciate a VM? According to this you can give AZ and then the host/server where you want to instantiate a VM. @Eduardo Gonzales has mentioned it correctly in the comments. No matter how many hosts you have in an AZ you can always specify the host on which you want to spin a VM. Also pasting the content from the link here. nova boot --image <uuid> --flavor m1.tiny --key_name test --availability-zone nova:server2
where server2 or server1 are the host/servers in that AZ. Hope that helps !! |
2016-06-06 06:31:51 -0600
| answered a question | How to get OS-FEDERATION Scoped token This tells you that how to get the project scoped token. AFAIK, you can get the project scoped token by mentioning the domain id as well because the format is mentioned in the Openstack docs. curl -i \
-H "Content-Type: application/json" \
-d '
{ "auth": {
"identity": {
"methods": ["password"],
"password": {
"user": {
"name": "admin",
"domain": { "id": "default" },
"password": "adminpwd"
}
}
},
"scope": {
"project": {
"name": "demo",
"domain": { "id": "default" }
}
}
}
}' \
http://localhost:5000/v3/auth/tokens ; echo
So you are missing domain id, give the domain id to get the project scoped token. Hope that helps !! |
2016-06-01 16:36:14 -0600
| commented question | Glance issue check your url, your endpoint url doesnt seem appropriate, also check if the port 9292 is open and listening. |
2016-05-31 13:39:12 -0600
| commented answer | Different Hypervisor Instance Can't Ping Why are you trying to ping it on private IP. What exactly are you trying to achieve? |
2016-05-31 09:01:02 -0600
| answered a question | Different Hypervisor Instance Can't Ping You need to check your security group rule that you have assigned to your instances. If you have assigned the default security group then you have configure it to allow ICMP traffic. You can do that through Horizon , or by using the nova cli command (nova client) nova --no-cache secgroup-add-rule default icmp -1 -1 0.0.0.0/0
Similaly to allow traffic on port 22 (SSH) you can run this command nova --no-cache secgroup-add-rule default tcp 22 22 0.0.0.0/0
Hope that helps !! |
2016-04-06 05:39:13 -0600
| answered a question | resize instance The command to resize instance is nova resize myCirrosServer 4 --poll --poll parameter is used to display the resize progress. 4 is the flavor id that you can get by nova flavor-list and the instance will be resized to that flavour. Hope that helps !! |
2016-04-06 05:35:40 -0600
| commented question | nova instance power state 0 or no state please see the logs /var/logs/nova or paste for more details |
2016-03-15 07:52:44 -0600
| answered a question | How to get the details of SELECTED instances with APIs in Openstack Kilo There are multiple methods to achieve this. - Firstly through Horizon GUI if you click on specific instance it will show all the details of that instance.
- Second is through nova client. You can use
nova show <instnace-id> to get details for that instance Third is through Python nova client from novaclient.client import Client
nova = Client('1.1', 'username', 'password', 'tenant', 'http://auth_ip:5000/v2.0')
# Get a list of servers
nova.servers.list()
# Get details of specific servers
nova.servers.get(server-id)
Then other way is through Nova compute API. This provides you with API that will fetch server details. Also mentioning it here. /v2.1/{tenant_id}/servers/detail
You can also check the API response through any REST based client from borwser like for example Postman. Hope that helps !! |
2016-03-03 03:22:23 -0600
| answered a question | Devstack Installation Error: Permission Denied There are a few thing you should look for - check the owner and permissions of the folder devstack, where you cloned the code, set it by command
chown -R stack devstack and then also change permissions by chmod 770 devstack - The
./stack script should be run with user stack and NOT root , add the user to group root by sudo usermod -a -G sudo stack and check user details by id stack if you dont have a stack user create it by running the script create-stack-user.sh that comes with devstack Hope that helps !! |
2016-02-29 15:22:23 -0600
| received badge | ● Good Answer
(source)
|
2016-02-29 03:55:52 -0600
| commented answer | openstack load testing You can check this, if it serves your purpose. |
2016-02-29 02:45:20 -0600
| received badge | ● Nice Answer
(source)
|
2016-02-27 23:53:08 -0600
| received badge | ● Nice Answer
(source)
|
2016-02-25 02:33:08 -0600
| commented question | Error appear while installing openstack using devstack Please paste the complete logs at paste.openstack.org, and ask a detailed question, It is not clear from your question what exactly is the problem. |
2016-02-25 02:27:53 -0600
| edited question | nova image-list got HTTP 500 error. Hi, I am install Kilo version with IPv6 only environment. I followed the Openstack official document for installation, Except changing IPv4 to IPv6. Running glance image-list is okay, but running nova image-list has HTTP 500 error. I have checked the glance and nova configuraion files and don't found any clue. Please help to check. cat /var/log/nova-api.log 2016-02-24 21:27:16.734 44087 ERROR nova.api.openstack [req-25e6c5f3-4103-4d7e-8272-31b9e60a0ea8
52b035aaaef14b76bd22ea66c28f25ff 89e4902b2e0f4b619d3d13b89af89bf1 - - -] Caught error: HTTPInternalServerError (HTTP 500)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack Traceback (most recent call last):
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return req.get_response(self.application)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack application, catch_exc_info=False)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return resp(environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return self._call_app(env, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return resp(environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return resp(environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack response = self.app(environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack return resp(environ, start_response)
2016-02-24 21:27:16.734 44087 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2016-02-24 21:27:16.734 44087 ... (more) |
2016-02-24 07:27:36 -0600
| commented question | Instance creation failing ( Block Device Mapping) |
2016-02-23 07:01:21 -0600
| commented question | NoVNC connect error 1006 check if this can help you. |
2016-02-22 07:32:12 -0600
| commented answer | ./stack.sh:exit_trap:L487: echo 'Error on exit' try adding user stack to sudo group by sudo usermod -a -G sudo stack |
2016-02-22 06:04:28 -0600
| commented question | ./stack.sh:exit_trap:L487: echo 'Error on exit' from which user are you trying to run ./stack . It should be stack user. Also check the owner of the devstack folder by ls -l command. Also make sure that owner of the folder is stack user. |
2016-02-17 03:35:04 -0600
| answered a question | How to find version of a service API? first source the credentials file for instance soruce openrc and then run the following command keystone endpoint-list to list the API endpoints. If you want to see the services then run keystone service-list you will get all the services . Select id of specific service and type keystone service-get <id> to know the details of the service |