This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'key' is not defined; 'index' is not defined | |
for index, key in enumerate(keys): #key == http://50.56.25.223:5000/v2.0; index == 0 | |
if key is None: | |
for index, key in enumerate(keys): #key == admin; index == 1 | |
if key is None: | |
for index, key in enumerate(keys): #key == admin; index == 2 | |
if key is None: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keys == ['http://50.56.25.223:5000/v2.0', 'admin', 'admin', None, 'publicURL', 'compute', None, None] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'keys' is not defined | |
self.auth_url == http://50.56.25.223:5000/v2.0 | |
self.project.id == admin | |
self.user == admin | |
self.region_name == None | |
self.endpoint_type == publicURL | |
self.service_type == compute | |
self.service_name == None | |
self.volume_service_name == None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
has_keyring == True | |
if has_keyring: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Call-- | |
self == <novaclient.client.HTTPClient object at 0x1f39450> | |
self.authenticate() == None | |
def authenticate(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
301 def authenticate(self): | |
302 if has_keyring: | |
303 keys = [self.auth_url, self.projectid, self.user, self.region_name, | |
304 self.endpoint_type, self.service_type, self.service_name, | |
305 self.volume_service_name] | |
306 for index, key in enumerate(keys): | |
307 if key is None: | |
308 keys[index] = '?' | |
309 keyring_key = "/".join(keys) | |
310 if self.os_cache and not self.used_keyring: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> /opt/stack/python-novaclient/novaclient/v1_1/images.py(44)get() | |
-> if uuidutils.is_uuid_like(image): | |
(Pdb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 # Copyright 2010 Jacob Kaplan-Moss | |
2 """ | |
3 Image interface. | |
4 """ | |
5 | |
6 import uuid | |
7 import pdb | |
8 | |
9 from novaclient import base | |
10 from novaclient import exceptions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glance --debug image-show 1eb154af-e20f-448d-bcf3-9f4584c668bf | |
curl -i -X HEAD -H 'X-Auth-Token: MIIKkgYJKoZIhvcNAQcCoIIKgzCCCn8CAQExCTAHBgUrDgMCGjCCCWsGCSqGSIb3DQEHAaCCCVwEgglYeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMS0xMVQxNTo0OTozOS45MzE4NjciLCAiZXhwaXJlcyI6ICIyMDEzLTAxLTEyVDE1OjQ5OjM5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJkZW1vIiwgImlkIjogImZmZDFlNjQ1NTlhMzQ3NDJhNWZlYzI0NDAyZTc3YmRkIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vNTAuNTYuMjUuMjIzOjg3NzQvdjIvZmZkMWU2NDU1OWEzNDc0MmE1ZmVjMjQ0MDJlNzdiZGQiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vNTAuNTYuMjUuMjIzOjg3NzQvdjIvZmZkMWU2NDU1OWEzNDc0MmE1ZmVjMjQ0MDJlNzdiZGQiLCAiaWQiOiAiNGIyMGJjOGFjODNmNDU1ZmE2MjBmOTRiZjIwMDhjM2EiLCAicHVibGljVVJMIjogImh0dHA6Ly81MC41Ni4yNS4yMjM6ODc3NC92Mi9mZmQxZTY0NTU5YTM0NzQyYTVmZWMyNDQwMmU3N2JkZCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJjb21wdXRlIiwgIm5hbWUiOiAibm92YSJ9LCB7ImVuZHBvaW50cy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ echo_summary 'Installing package prerequisites' | |
+ [[ -t 3 ]] | |
+ [[ True != \T\r\u\e ]] | |
+ echo Installing package prerequisites | |
+ [[ deb = \d\e\b ]] | |
++ get_packages /home/anita/devstack/files/apts | |
++ local package_dir=/home/anita/devstack/files/apts | |
++ local file_to_parse | |
++ local service | |
++ [[ -z /home/anita/devstack/files/apts ]] |