<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat
{mso-style-name:com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1640529162;
mso-list-type:hybrid;
mso-list-template-ids:564014906 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">Hello All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">This is regarding bug
<a href="https://launchpad.net/bugs/1674247">https://launchpad.net/bugs/1674247</a> -- titled as </span><b><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">Reset-state's default parameter needs correction</span></b><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">review is going on at
<a href="https://review.openstack.org/#/c/463477/2">https://review.openstack.org/#/c/463477/2</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">=======================================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">Description
<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">The Bug proposes to change reset-state default state to be “active”.<o:p></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">Reason for setting up default state as “active”<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">Reset-state is an admin exposed command and once admin has sorted internal error occurred
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">in nova instance, this command will help to set the instance back to “active” state.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">Reason for keeping default state as “error”<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">If I recall correctly, "reset-state" was introduced solely to handle the case of recovery from
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">Nova internal errors, and the default of 'error' was deliberately chosen to encourage developers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">to spend their time correcting the problem in Nova rather than leveraging the work-around.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black;background:white">Other propositions are
<o:p></o:p></span></u></b></p>
<ul type="disc">
<li style="color:black;margin-left:0in;mso-list:l0 level1 lfo1;background:white">
<span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">Whether we should change the default of reset-state to "active".
<o:p></o:p></span></li><li style="color:black;margin-left:0in;mso-list:l0 level1 lfo1;background:white">
<span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">It would also be good to discuss whether we should provide the ability to set other states, as this change eliminates the possibility to do so from the command line.<o:p></o:p></span></li><li style="color:black;margin-left:0in;mso-list:l0 level1 lfo1;background:white">
<span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif">So, this means that --active no longer does anything. That means we should deprecate the option, so we can remove it in a future release.<o:p></o:p></span></li></ul>
<p style="background:white"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">Kindly state your opinion what would be best suitable for admin users for this command?<o:p></o:p></span></u></b></p>
<p style="background:white"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">Questions<o:p></o:p></span></u></b></p>
<p style="background:white"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">1) Should we change reset state to “active” by default or “error” is good<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">2) In that case should i deprecate --active?<o:p></o:p></span></p>
<p style="background:white;-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">3)Should we consider giving user a facility of changing to any other state by giving --state as an optional arg?<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
4)But if we see difference from cinder command Cinder states "its a database only change"<o:p></o:p></p>
<p class="MsoNoSpacing" style="-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black">stack@ubuntu14-OptiPlex-3020:~/openstack_install/devstack$ cinder help reset-state</span></span><br>
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black">usage: cinder reset-state [--type <type>] [--state <state>]</span></span><br>
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black"> [--attach-status <attach-status>]</span></span><br>
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black"> [--reset-migration-status]</span></span><br>
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black"> <entity> [<entity> ...]</span></span><o:p></o:p></p>
<p class="MsoNoSpacing" style="-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span class="com-google-gwtexpui-safehtml-client-safehtmlcss-wikipreformat"><span style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:black">Explicitly updates the entity state in the Cinder database. Being a database change only, this has
no impact on the true state of the entity and may not match the actual state. This can render a entity unusable in the case of changing to the 'available' state.<o:p></o:p></span></span></p>
<p style="background:white"><b><u><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">but in case of nova Its not stated so
<o:p></o:p></span></u></b></p>
<p class="MsoNoSpacing"><span style="font-size:10.0pt">stack@ubuntu14-OptiPlex-3020:~/openstack_install/devstack$ nova help reset-state usage: nova reset-state [--all-tenants] [--active] <server> [<server> ...]<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span style="font-size:10.0pt">Reset the state of a server.<o:p></o:p></span></p>
<p style="background:white;-webkit-margin-before: 0px;-webkit-margin-after: 0.3em;white-space:pre-wrap;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black">So will it be possible to change state of server to any state ?<o:p></o:p></span></p>
<p class="MsoNoSpacing">Thanks<o:p></o:p></p>
<p class="MsoNoSpacing">Nidhi<o:p></o:p></p>
<p style="background:white"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light",sans-serif"><o:p> </o:p></span></p>
</div>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
</body>
</html>