Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Images disappearing

$
0
0

@aadsfljasdfljasdfasd wrote:

Continuing the discussion from Failed to contact salt master to check software status: Failed to create salt caller: string indices must be integers, not str:

Now my ASAv image disappeared too

$ nova image-list
+--------------------------------------+--------------+--------+--------+
| ID                                   | Name         | Status | Server |
+--------------------------------------+--------------+--------+--------+
| 91c89e6f-69c0-40b5-a691-1a16de291949 | CSR1000v     | ACTIVE |        |
| 37ef42ec-fbed-43ec-9f27-b774d37e0c02 | IOS XRv      | ACTIVE |        |
| 843a65ac-1d43-4244-aaf2-2bb7ff3d9960 | IOS XRv 9000 | ACTIVE |        |
| 91fa5440-9f6e-4046-8946-0b81a6bf1219 | IOSv         | ACTIVE |        |
| 07bf2a75-df54-432c-a49b-1b7dee136ff0 | IOSvL2       | ACTIVE |        |
| cf16e856-165b-4008-ab35-1fcab692c105 | NX-OSv       | ACTIVE |        |
| a391c821-99a5-49b5-9c2c-e9ff07376aed | server       | ACTIVE |        |
+--------------------------------------+--------------+--------+--------+

VM Image	Description	Current Version	Available Version	Install 
ASAv	Cisco Adaptive Security Appliance	N/A	9.5.2-204	


Failed to contact salt master to check software status: Failed to create salt caller: string indices must be integers, not str
× Please verify salt status.
Failed to load package versions: internal server error.



{
    "local": {
        "module_|-sync modules_|-saltutil.sync_modules_|-run": {
            "comment": "onlyif execution failed", 
            "result": true, 
            "duration": 6.879, 
            "__run_num__": 0, 
            "start_time": "06:45:06.162561", 
            "skip_watch": true, 
            "changes": {}, 
            "name": "saltutil.sync_modules"
        }, 
        "cmd_|-asav flavor delete_|-source /usr/local/bin/virl-openrc.sh ;nova flavor-delete \"ASAv\"_|-run": {
            "comment": "One or more requisite failed: virl.routervms.asav.asav", 
            "__run_num__": 3, 
            "__sls__": "virl.routervms.asav", 
            "changes": {}, 
            "result": false
        }, 
        "glance_|-asav_|-ASAv_|-image_present": {
            "comment": "An exception occurred in this state: Traceback (most recent call last):\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 1594, in call\n    **cdata['kwargs'])\n  File \"/usr/lib/python2.7/dist-packages/salt/loader.py\", line 1491, in wrapper\n    return f(*args, **kwargs)\n  File \"/var/cache/salt/minion/extmods/states/glance.py\", line 90, in image_present\n    ret['changes'] = __salt__['glance.image_create'](**non_null_arguments)\n  File \"/var/cache/salt/minion/extmods/modules/glance.py\", line 141, in image_create\n    raise Exception('Could not find %s' % copy_from)\nException: Could not find salt://images/salt/asav952-204.qcow2\n", 
            "name": "ASAv", 
            "start_time": "06:45:06.178474", 
            "result": false, 
            "duration": 457.743, 
            "__run_num__": 2, 
            "changes": {}
        }, 
        "module_|-sync states_|-saltutil.sync_states_|-run": {
            "comment": "onlyif execution failed", 
            "result": true, 
            "duration": 6.767, 
            "__run_num__": 1, 
            "start_time": "06:45:06.170582", 
            "skip_watch": true, 
            "changes": {}, 
            "name": "saltutil.sync_states"
        }, 
        "module_|-asav flavor create_|-nova.flavor_create_|-run": {
            "comment": "One or more requisite failed: virl.routervms.asav.asav flavor delete, virl.routervms.asav.asav", 
            "__run_num__": 4, 
            "__sls__": "virl.routervms.asav", 
            "changes": {}, 
            "result": false
        }
    }
}



2016-04-07 06:45:06,393 [iso8601.iso8601  ][DEBUG   ][35742] Got u'04' for 'monthdash' with default 1
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got 4 for 'month' with default 4
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got u'07' for 'daydash' with default 1
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got 7 for 'day' with default 7
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got u'07' for 'hour' with default None
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got u'45' for 'minute' with default None
2016-04-07 06:45:06,394 [iso8601.iso8601  ][DEBUG   ][35742] Got u'06' for 'second' with default None
2016-04-07 06:45:06,394 [salt.transport.zeromq][DEBUG   ][35742] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.35.89:4506', 'aes')
2016-04-07 06:45:06,394 [salt.crypt       ][DEBUG   ][35742] Initializing new SAuth for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.35.89:4506')
2016-04-07 06:45:06,636 [salt.fileclient  ][DEBUG   ][35742] Could not find file from saltenv 'base', u'salt://images/salt/asav952-204.qcow2'
2016-04-07 06:45:06,636 [salt.loaded.int.module.cp][ERROR   ][35742] Unable to cache file u'salt://images/salt/asav952-204.qcow2' from saltenv 'base'.
2016-04-07 06:45:06,636 [salt.state       ][ERROR   ][35742] An exception occurred in this state: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1594, in call
    **cdata['kwargs'])
  File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1491, in wrapper
    return f(*args, **kwargs)
  File "/var/cache/salt/minion/extmods/states/glance.py", line 90, in image_present
    ret['changes'] = __salt__['glance.image_create'](**non_null_arguments)
  File "/var/cache/salt/minion/extmods/modules/glance.py", line 141, in image_create
    raise Exception('Could not find %s' % copy_from)
Exception: Could not find salt://images/salt/asav952-204.qcow2

2016-04-07 06:45:06,636 [salt.state       ][INFO    ][35742] Completed state [ASAv] at time 06:45:06.636217
2016-04-07 06:45:06,637 [salt.utils.lazy  ][DEBUG   ][35742] Could not LazyLoad cmd.mod_aggregate
2016-04-07 06:45:06,638 [salt.utils.lazy  ][DEBUG   ][35742] Could not LazyLoad module.mod_aggregate
2016-04-07 06:45:06,639 [salt.state       ][DEBUG   ][35742] File /var/cache/salt/minion/accumulator/139770115544784 does not exist, no need to cleanup.
2016-04-07 06:45:06,639 [salt.transport.zeromq][DEBUG   ][35742] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.35.89:4506', 'aes')
2016-04-07 06:45:06,639 [salt.crypt       ][DEBUG   ][35742] Initializing new SAuth for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.35.89:4506')
2016-04-07 06:45:07,115 [salt.utils.lazy  ][DEBUG   ][35742] LazyLoaded json.output

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1811