| 2032 | This scenario should be run for each stitching aggregate. First scenario includes InstaGENI Utah who define the |
| 2033 | following capacity: a) minimumReservableCapacity = 1000 and b) maximumReservableCapacity = 1000000 |
| 2034 | |
| 2035 | '''=> a. Requesting capacity 666 below minimum reservable capacity of 1000 ''' |
| 2036 | The following link definition was used: |
| 2037 | {{{ |
| 2038 | ... |
| 2039 | <link client_id="link"> |
| 2040 | <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 2041 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 2042 | <interface_ref client_id="pg-utah:if0"/> |
| 2043 | <interface_ref client_id="ig-utah:if0"/> |
| 2044 | <property source_id="pg-utah:if0" dest_id="ig-utah:if0" capacity="666"/> |
| 2045 | <property source_id="ig-utah:if0" dest_id="pg-utah:if0" capacity="666"/> |
| 2046 | </link> |
| 2047 | ... |
| 2048 | }}} |
| 2049 | |
| 2050 | The stitcher createsliver |
| 2051 | |
| 2052 | '''=> b. Requesting capacity 1999999 above maximum reservable capacity of 1000000 ''' |
| 2053 | {{{ |
| 2054 | |
| 2055 | }}}} |
| 2056 | |
| 2057 | The stitcher createsliver |
| 2058 | {{{ |
| 2059 | $ stitcher.py createsliver ln1999999 ./stitch-capacity-1999999.rspec |
| 2060 | 12:31:11 INFO stitcher: Loading config file /home/lnevers/.gcf/omni_config |
| 2061 | 12:31:11 INFO stitcher: Using control framework pg |
| 2062 | 12:31:14 INFO stitcher: <Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 2063 | 12:31:14 INFO stitcher: <Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 2064 | 12:31:14 INFO stitch.Aggregate: Writing to '/tmp/ln1999999-createsliver-request-11-emulab-net.xml' |
| 2065 | 12:31:14 INFO stitch.Aggregate: |
| 2066 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 2067 | 12:31:14 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 2068 | 12:31:14 INFO omni: Using control framework pg |
| 2069 | 12:31:15 INFO omni: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln1999999 expires on 2013-06-11 17:30:45 UTC |
| 2070 | 12:31:15 INFO omni: Creating sliver(s) from rspec file /tmp/ln1999999-createsliver-request-11-emulab-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln1999999 |
| 2071 | 12:32:14 ERROR omni: {'output': '*** ERROR: mapper: Reached run limit. Giving up.\nseed = 1370903756\nPhysical Graph: 276\nCalculating shortest paths on switch fabric.\nVirtual Graph: 2\nGenerating physical equivalence classes:204\nType precheck:\nType precheck passed.\nNode mapping precheck:\nNode mapping precheck succeeded\nPolicy precheck:\nPolicy precheck succeeded\nAnnealing.\nAdjusting dificulty estimate for fixed nodes, 1 remain.\nDoing melting run\nReverting: forced\nReverting to best solution\nDone\n BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds\nWith 1 violations\nIters to find best score: 12\nViolations: 1\n unassigned: 0\n pnode_load: 0\n no_connect: 1\n link_users: 0\n bandwidth: 0\n desires: 0\n vclass: 0\n delay: 0\n trivial mix: 0\n subnodes: 0\n max_types: 0\n endpoints: 0\nNodes:\nig-utah interconnect-instageni\npg-utah pc411\nEnd Nodes\nEdges:\nlinksimple/link/pg-utah:0,ig-utah:0 Mapping Failed\nEnd Edges\nEnd solution\nSummary:\ninterconnect-instageni 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=interconnect-vm\n ?+ram: used=128 total=0\n ?+cpupercent: used=0 total=92\n ?+rampercent: used=0 total=80\npc411 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=pcvm\n ?+cpu: used=0 total=2400\n ?+ram: used=128 total=11008\n ?+cpupercent: used=0 total=92\n ?+rampercent: used=0 total=80\nTotal physical nodes used: 2\nEnd summary\nASSIGN FAILED:\nType precheck passed.\nNode mapping precheck succeeded\nPolicy precheck succeeded\nAnnealing.\nAdjusting dificulty estimate for fixed nodes, 1 remain.\nDoing melting run\nReverting: forced\nReverting to best solution\nDone\n BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds\n unassigned: 0\n pnode_load: 0\n no_connect: 1\n link_users: 0\n bandwidth: 0\n desires: 0\n vclass: 0\n delay: 0\n trivial mix: 0\n subnodes: 0\n max_types: 0\n endpoints: 0\n', 'code': {'protogeni_error_log': 'urn:publicid:IDN+emulab.net+log+8d0e01debe2f270931c7ba281ccf80c8', 'am_type': 'protogeni', 'geni_code': 2, 'am_code': 2, 'protogeni_error_url': 'https://www.emulab.net/spewlogfile.php3?logfile=8d0e01debe2f270931c7ba281ccf80c8'}, 'value': 'Could not map to resources'} |
| 2072 | 12:32:14 INFO stitch.Aggregate: Got AMAPIError doing createsliver ln1999999 at <Aggregate urn:publicid:IDN+emulab.net+authority+cm>: AMAPIError: Error from Aggregate: code 2. protogeni AM code: 2: *** ERROR: mapper: Reached run limit. Giving up. |
| 2073 | seed = 1370903756 |
| 2074 | Physical Graph: 276 |
| 2075 | Calculating shortest paths on switch fabric. |
| 2076 | Virtual Graph: 2 |
| 2077 | Generating physical equivalence classes:204 |
| 2078 | Type precheck: |
| 2079 | Type precheck passed. |
| 2080 | Node mapping precheck: |
| 2081 | Node mapping precheck succeeded |
| 2082 | Policy precheck: |
| 2083 | Policy precheck succeeded |
| 2084 | Annealing. |
| 2085 | Adjusting dificulty estimate for fixed nodes, 1 remain. |
| 2086 | Doing melting run |
| 2087 | Reverting: forced |
| 2088 | Reverting to best solution |
| 2089 | Done |
| 2090 | BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds |
| 2091 | With 1 violations |
| 2092 | Iters to find best score: 12 |
| 2093 | Violations: 1 |
| 2094 | unassigned: 0 |
| 2095 | pnode_load: 0 |
| 2096 | no_connect: 1 |
| 2097 | link_users: 0 |
| 2098 | bandwidth: 0 |
| 2099 | desires: 0 |
| 2100 | vclass: 0 |
| 2101 | delay: 0 |
| 2102 | trivial mix: 0 |
| 2103 | subnodes: 0 |
| 2104 | max_types: 0 |
| 2105 | endpoints: 0 |
| 2106 | Nodes: |
| 2107 | ig-utah interconnect-instageni |
| 2108 | pg-utah pc411 |
| 2109 | End Nodes |
| 2110 | Edges: |
| 2111 | linksimple/link/pg-utah:0,ig-utah:0 Mapping Failed |
| 2112 | End Edges |
| 2113 | End solution |
| 2114 | Summary: |
| 2115 | interconnect-instageni 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=interconnect-vm |
| 2116 | ?+ram: used=128 total=0 |
| 2117 | ?+cpupercent: used=0 total=92 |
| 2118 | ?+rampercent: used=0 total=80 |
| 2119 | pc411 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=pcvm |
| 2120 | ?+cpu: used=0 total=2400 |
| 2121 | ?+ram: used=128 total=11008 |
| 2122 | ?+cpupercent: used=0 total=92 |
| 2123 | ?+rampercent: used=0 total=80 |
| 2124 | Total physical nodes used: 2 |
| 2125 | End summary |
| 2126 | ASSIGN FAILED: |
| 2127 | Type precheck passed. |
| 2128 | Node mapping precheck succeeded |
| 2129 | Policy precheck succeeded |
| 2130 | Annealing. |
| 2131 | Adjusting dificulty estimate for fixed nodes, 1 remain. |
| 2132 | Doing melting run |
| 2133 | Reverting: forced |
| 2134 | Reverting to best solution |
| 2135 | Done |
| 2136 | BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds |
| 2137 | unassigned: 0 |
| 2138 | pnode_load: 0 |
| 2139 | no_connect: 1 |
| 2140 | link_users: 0 |
| 2141 | bandwidth: 0 |
| 2142 | desires: 0 |
| 2143 | vclass: 0 |
| 2144 | delay: 0 |
| 2145 | trivial mix: 0 |
| 2146 | subnodes: 0 |
| 2147 | max_types: 0 |
| 2148 | endpoints: 0 |
| 2149 | . |
| 2150 | 12:32:14 WARNING stitcher: Stitching failed but will retry: Circuit reservation failed at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> (AMAPIError: Error from Aggregate: code 2. protogeni AM code: 2: *** ERROR: mapper: Reached run limit. Giving up. |
| 2151 | seed = 1370903756 |
| 2152 | Physical Graph: 276 |
| 2153 | Calculating shortest paths on switch fabric. |
| 2154 | Virtual Graph: 2 |
| 2155 | Generating physical equivalence classes:204 |
| 2156 | Type precheck: |
| 2157 | Type precheck passed. |
| 2158 | Node mapping precheck: |
| 2159 | Node mapping precheck succeeded |
| 2160 | Policy precheck: |
| 2161 | Policy precheck succeeded |
| 2162 | Annealing. |
| 2163 | Adjusting dificulty estimate for fixed nodes, 1 remain. |
| 2164 | Doing melting run |
| 2165 | Reverting: forced |
| 2166 | Reverting to best solution |
| 2167 | Done |
| 2168 | BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds |
| 2169 | With 1 violations |
| 2170 | Iters to find best score: 12 |
| 2171 | Violations: 1 |
| 2172 | unassigned: 0 |
| 2173 | pnode_load: 0 |
| 2174 | no_connect: 1 |
| 2175 | link_users: 0 |
| 2176 | bandwidth: 0 |
| 2177 | desires: 0 |
| 2178 | vclass: 0 |
| 2179 | delay: 0 |
| 2180 | trivial mix: 0 |
| 2181 | subnodes: 0 |
| 2182 | max_types: 0 |
| 2183 | endpoints: 0 |
| 2184 | Nodes: |
| 2185 | ig-utah interconnect-instageni |
| 2186 | pg-utah pc411 |
| 2187 | End Nodes |
| 2188 | Edges: |
| 2189 | linksimple/link/pg-utah:0,ig-utah:0 Mapping Failed |
| 2190 | End Edges |
| 2191 | End solution |
| 2192 | Summary: |
| 2193 | interconnect-instageni 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=interconnect-vm |
| 2194 | ?+ram: used=128 total=0 |
| 2195 | ?+cpupercent: used=0 total=92 |
| 2196 | ?+rampercent: used=0 total=80 |
| 2197 | pc411 1 vnodes, 0 nontrivial BW, 0 trivial BW, type=pcvm |
| 2198 | ?+cpu: used=0 total=2400 |
| 2199 | ?+ram: used=128 total=11008 |
| 2200 | ?+cpupercent: used=0 total=92 |
| 2201 | ?+rampercent: used=0 total=80 |
| 2202 | Total physical nodes used: 2 |
| 2203 | End summary |
| 2204 | ASSIGN FAILED: |
| 2205 | Type precheck passed. |
| 2206 | Node mapping precheck succeeded |
| 2207 | Policy precheck succeeded |
| 2208 | Annealing. |
| 2209 | Adjusting dificulty estimate for fixed nodes, 1 remain. |
| 2210 | Doing melting run |
| 2211 | Reverting: forced |
| 2212 | Reverting to best solution |
| 2213 | Done |
| 2214 | BEST SCORE: 4.6 in 16840 iters and 0.493181 seconds |
| 2215 | unassigned: 0 |
| 2216 | pnode_load: 0 |
| 2217 | no_connect: 1 |
| 2218 | link_users: 0 |
| 2219 | bandwidth: 0 |
| 2220 | desires: 0 |
| 2221 | vclass: 0 |
| 2222 | delay: 0 |
| 2223 | trivial mix: 0 |
| 2224 | subnodes: 0 |
| 2225 | max_types: 0 |
| 2226 | endpoints: 0 |
| 2227 | .). Try again from the SCS |
| 2228 | 12:32:14 INFO stitcher: Pausing for 30 seconds for Aggregates to free up resources... |
| 2229 | |
| 2230 | |
| 2231 | 12:32:44 INFO stitcher: Calling SCS for the 2th time... |
| 2232 | 12:32:44 INFO stitch.Aggregate: Writing to '/tmp/ln1999999-createsliver-request-21-emulab-net.xml' |
| 2233 | 12:32:44 INFO stitch.Aggregate: |
| 2234 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 2235 | 12:32:44 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 2236 | 12:32:44 INFO omni: Using control framework pg |
| 2237 | 12:32:46 INFO omni: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln1999999 expires on 2013-06-11 17:30:45 UTC |
| 2238 | 12:32:46 INFO omni: Creating sliver(s) from rspec file /tmp/ln1999999-createsliver-request-21-emulab-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln1999999 |
| 2239 | ... |
| 2240 | <<<<STITCHER CONTINUED TO RUN AN attempt this invalid request.>>> |
| 2241 | |
| 2242 | }}} |
| 2243 | |
| 2244 | |
| 2245 | |